diff options
Diffstat (limited to 'funcweb/funcweb/templates/group_small.html')
-rw-r--r-- | funcweb/funcweb/templates/group_small.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/funcweb/funcweb/templates/group_small.html b/funcweb/funcweb/templates/group_small.html index 2638c2f..eff3965 100644 --- a/funcweb/funcweb/templates/group_small.html +++ b/funcweb/funcweb/templates/group_small.html @@ -1,19 +1,27 @@ -<div class="group" id="group"> +<div class="group" id="group" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:py="http://genshi.edgewall.org/"> <div align="center">Group</div> + <form action="/funcweb/add_minions_togroup" method="post" onsubmit="return !glob_submit(this,'group_small');" name="group_remove"> <div class="groupbox" id="groupbox"> - <div class="minionstextblue" id="grouptextbox"><span class="minionsandgroupsbluetext">Group1</span> + <span py:for="host in hosts"> + <div class="minionstextblue" id="grouptextbox"><span class="minionsandgroupsbluetext">${host}</span> <label> - <input type="checkbox" name="groupcheckbox" id="groupcheckbox" /> + <input type="checkbox" name="rmgroup" id="groupcheckbox" value="${host}"/> </label> </div> + </span> </div> <div class="selectallgroupboxes" id="selectallgroupboxes"> + <input type="hidden" name="action_name" value="remove"/> + <input type="hidden" name="group_name" value="${group_name}"/> <span class="graytexts2">Select all:</span> <label> - <input type="checkbox" name="groupcheckbox2" id="groupcheckbox2" /> + <input type="checkbox" name="groupcheckbox2" id="groupcheckbox2"/> </label> <label> <input name="removegroups" type="submit" class="addnewgroupbtn" id="removegroups" value="Remove" /> </label> </div> + </form> </div> |