diff options
author | makkalot <makkalot@gmail.com> | 2008-07-31 18:42:49 +0300 |
---|---|---|
committer | makkalot <makkalot@gmail.com> | 2008-07-31 18:42:49 +0300 |
commit | 2c2dfebee9a648227417119374accb47e062cc36 (patch) | |
tree | 2d1742f41261838b3d11e03dce9f86b5009906c9 /funcweb | |
parent | a8df4ff9b12594cb33fc1fdbedc7163713da2504 (diff) | |
download | func-2c2dfebee9a648227417119374accb47e062cc36.tar.gz func-2c2dfebee9a648227417119374accb47e062cc36.tar.xz func-2c2dfebee9a648227417119374accb47e062cc36.zip |
adding template files for exported groups api
Diffstat (limited to 'funcweb')
-rw-r--r-- | funcweb/funcweb/templates/add_group.html | 20 | ||||
-rw-r--r-- | funcweb/funcweb/templates/glob_form.html | 13 | ||||
-rw-r--r-- | funcweb/funcweb/templates/group_minion.html | 10 | ||||
-rw-r--r-- | funcweb/funcweb/templates/group_small.html | 19 | ||||
-rw-r--r-- | funcweb/funcweb/templates/groups_main.html | 18 | ||||
-rw-r--r-- | funcweb/funcweb/templates/list_group.html | 16 | ||||
-rw-r--r-- | funcweb/funcweb/templates/minion_small.html | 18 |
7 files changed, 114 insertions, 0 deletions
diff --git a/funcweb/funcweb/templates/add_group.html b/funcweb/funcweb/templates/add_group.html new file mode 100644 index 0000000..3386cbc --- /dev/null +++ b/funcweb/funcweb/templates/add_group.html @@ -0,0 +1,20 @@ +<div class="minioncontent" id="addgroupcontent" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:py="http://genshi.edgewall.org/" + xmlns:xi="http://www.w3.org/2001/XInclude" + > + <div class="addgroupbigbox" id="addgroupbigbox"> + <div align="center" class="graytexts">Add Group</div> + <div class="graytexts" id="addgroup"> + <div class="groupnametext" id="groupnametext">Name:</div> + <form id="form_addgroup" name="form_addgroup" method="post" onsubmit="return !glob_submit(this, 'groupscontent');" action="/funcweb/add_new_group"> + <label> + <input name="group_name" type="text" class="addgroupbox" id="addgroupfield"/> + </label> + <label> + <input name="submit" type="submit" class="addnewgroupbtn" id="submit" value="ADD" /> + </label> + </form> + </div> + </div> +</div> diff --git a/funcweb/funcweb/templates/glob_form.html b/funcweb/funcweb/templates/glob_form.html new file mode 100644 index 0000000..8499d56 --- /dev/null +++ b/funcweb/funcweb/templates/glob_form.html @@ -0,0 +1,13 @@ +<div class="minionglob" id="minionglob" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:py="http://genshi.edgewall.org/"> + + <form action="/funcweb/minions" method="post" onsubmit="return !glob_submit(this,'not_sure');" class="tableform" name="minion_form"> + <div class="graytexts2" id="minionglobtext"> + <div align="center">Minion Glob</div> + </div> + <input name="submit" type="submit" class="minionbutton" id="button" value="submit" border="0"/> + <input name="glob" type="text" class="minionbox" id="textfield" /> + </form> +</div> + diff --git a/funcweb/funcweb/templates/group_minion.html b/funcweb/funcweb/templates/group_minion.html new file mode 100644 index 0000000..bc45fe8 --- /dev/null +++ b/funcweb/funcweb/templates/group_minion.html @@ -0,0 +1,10 @@ +<div class="graytexts" id="miniongroupsbigbox" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:py="http://genshi.edgewall.org/"> + + <xi:include href="group_small.html"/> + <!-- small groups ends here --> + + <xi:include href="minion_small.html" /> + <!-- small minions ends here --> +</div> diff --git a/funcweb/funcweb/templates/group_small.html b/funcweb/funcweb/templates/group_small.html new file mode 100644 index 0000000..2638c2f --- /dev/null +++ b/funcweb/funcweb/templates/group_small.html @@ -0,0 +1,19 @@ +<div class="group" id="group"> + <div align="center">Group</div> + <div class="groupbox" id="groupbox"> + <div class="minionstextblue" id="grouptextbox"><span class="minionsandgroupsbluetext">Group1</span> + <label> + <input type="checkbox" name="groupcheckbox" id="groupcheckbox" /> + </label> + </div> + </div> + <div class="selectallgroupboxes" id="selectallgroupboxes"> + <span class="graytexts2">Select all:</span> + <label> + <input type="checkbox" name="groupcheckbox2" id="groupcheckbox2" /> + </label> + <label> + <input name="removegroups" type="submit" class="addnewgroupbtn" id="removegroups" value="Remove" /> + </label> + </div> +</div> diff --git a/funcweb/funcweb/templates/groups_main.html b/funcweb/funcweb/templates/groups_main.html new file mode 100644 index 0000000..5965c47 --- /dev/null +++ b/funcweb/funcweb/templates/groups_main.html @@ -0,0 +1,18 @@ +<!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"> + <xi:include href="master.html"/> + <head/> + <body> + <xi:include href="add_group.html" /> + <div class="minioncontent" id="groupscontent"> + <xi:include href="list_group.html" /> + </div> + + <div class="minioncontent" id="miniongroupcontents"> + <!-- group_minion ends here --> + </div> + + </body> +</html> diff --git a/funcweb/funcweb/templates/list_group.html b/funcweb/funcweb/templates/list_group.html new file mode 100644 index 0000000..49cd8b7 --- /dev/null +++ b/funcweb/funcweb/templates/list_group.html @@ -0,0 +1,16 @@ +<div class="groupsbigbox" id="groupsbigbox" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:py="http://genshi.edgewall.org/"> + + <div align="center" class="graytexts">Groups</div> + <span py:for="group_name in groups"> + <div class="minionstextblue" id="groupstexts"><a href="#">${group_name}</a></div> + <form action="/funcweb/remove_group" method="post" onsubmit="return !glob_submit(this,'groupscontent');" name="remove_form"> + + <input type="hidden" name="group_name" value="${group_name}"/> + <span> + <input name="removebtn2" type="submit" class="removebtn" id="removebtn" value=""/> + </span> + </form> + </span> +</div> diff --git a/funcweb/funcweb/templates/minion_small.html b/funcweb/funcweb/templates/minion_small.html new file mode 100644 index 0000000..e3206b2 --- /dev/null +++ b/funcweb/funcweb/templates/minion_small.html @@ -0,0 +1,18 @@ +<div class="minions2" id="minions2"> + <div align="center">Minions</div> + <div class="minions2box" id="minions2box"> + <div class="minionstextbox" id="minionstextbox"><span class="minionsandgroupsbluetext">Minion1</span> + <label> + <input type="checkbox" name="checkminion" id="checkminion" /> + </label> + </div> + </div> + <div class="graytexts2" id="selectallbox"> Select all: + <label> + <input type="checkbox" name="selectallchechbox" id="selectallchechbox" /> + </label> + <label> + <input name="addbtn" type="submit" class="addnewgroupbtn" id="addbtn" value="Add" /> + </label> + </div> +</div> |