summaryrefslogtreecommitdiffstats
path: root/funcweb
diff options
context:
space:
mode:
authormakkalot <makkalot@gmail.com>2008-07-12 00:07:07 +0300
committermakkalot <makkalot@gmail.com>2008-07-12 00:07:07 +0300
commitf9596fcf9d732905d91d5fffea42a6a15ce59cbc (patch)
treecdfe0dd611d901b938811685703cf7447894195d /funcweb
parent1598aa96e6b6cf6b058428950ae4bfa353a84436 (diff)
downloadfunc-f9596fcf9d732905d91d5fffea42a6a15ce59cbc.tar.gz
func-f9596fcf9d732905d91d5fffea42a6a15ce59cbc.tar.xz
func-f9596fcf9d732905d91d5fffea42a6a15ce59cbc.zip
the layout for dynamic widget part
Diffstat (limited to 'funcweb')
-rw-r--r--funcweb/funcweb/templates/widgets.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/funcweb/funcweb/templates/widgets.html b/funcweb/funcweb/templates/widgets.html
new file mode 100644
index 0000000..13fe8f7
--- /dev/null
+++ b/funcweb/funcweb/templates/widgets.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:py="http://genshi.edgewall.org/"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+
+<body>
+ <div class="widgetbgbox" id="widgetbgbox">
+ <div class="minions" id="minions">
+ <div align="center" class="graytexts">Widget</div>
+ </div>
+ <div class="inwidgetbox" id="inwidgetbox">
+ <div class="widgetdescrition" id="widgetdescrition" py:if="description" align="center">Description :${description}</div>
+ <div class="widgetresult" id="widgetresult" align="center">
+ <span py:if="minion_form">
+ ${ET(minion_form.display(displays_on='genshi'))}
+ </span>
+ <span py:if="not minion_form">
+ <a href="#resultcontent" onclick="myj('#resultcontent').hide().load('/funcweb/execute_link/${minion}/${module}/${method}/').show('slow');">Run Method</a>
+ </span>
+ </div>
+ <div class="errorbox" id="errorbox">
+ </div>
+ </div>
+ </div>
+
+</body>
+</html>
+
+
+