moksha/templates/widgets.mak | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
New commits: commit 539f96d2561e94704efd12c20e72874944a8cec9 Author: Luke Macken lmacken@redhat.com Date: Sat Dec 12 17:27:26 2009 -0500
Add a moksha.templates.widgets template
diff --git a/moksha/templates/widgets.mak b/moksha/templates/widgets.mak new file mode 100644 index 0000000..e636937 --- /dev/null +++ b/moksha/templates/widgets.mak @@ -0,0 +1,15 @@ +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + </head> + <body> + % for widget in tmpl_context.widgets: + ${widget(**options.get(widget, dict()))} + % endfor + </body> + + % if tmpl_context.moksha_socket: + ${tmpl_context.moksha_socket()} + % endif + +</html>
moksha-commits@lists.fedorahosted.org