summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-gui/ipagui/templates/grouplist.kid
diff options
context:
space:
mode:
authorKevin McCarthy <kmccarth@redhat.com>2007-09-12 10:40:31 -0700
committerKevin McCarthy <kmccarth@redhat.com>2007-09-12 10:40:31 -0700
commit0e355a734fa6c31c10282580599b0caca56c35a2 (patch)
tree66e2c1dcac0629152d90a7dc2814fd5365da2164 /ipa-server/ipa-gui/ipagui/templates/grouplist.kid
parentc4ab64cabca33d19b9ec4ed9dd3ab801671339d8 (diff)
downloadfreeipa-0e355a734fa6c31c10282580599b0caca56c35a2.tar.gz
freeipa-0e355a734fa6c31c10282580599b0caca56c35a2.tar.xz
freeipa-0e355a734fa6c31c10282580599b0caca56c35a2.zip
Group edit page
Diffstat (limited to 'ipa-server/ipa-gui/ipagui/templates/grouplist.kid')
-rw-r--r--ipa-server/ipa-gui/ipagui/templates/grouplist.kid43
1 files changed, 43 insertions, 0 deletions
diff --git a/ipa-server/ipa-gui/ipagui/templates/grouplist.kid b/ipa-server/ipa-gui/ipagui/templates/grouplist.kid
new file mode 100644
index 000000000..464208d20
--- /dev/null
+++ b/ipa-server/ipa-gui/ipagui/templates/grouplist.kid
@@ -0,0 +1,43 @@
+<!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://purl.org/kid/ns#"
+ py:extends="'grouplayout.kid'">
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
+<title>Find Groups</title>
+</head>
+<body>
+ <div id="search">
+ <form action="${tg.url('/grouplist')}" method="post">
+ <input id="criteria" type="text" name="criteria" value="${criteria}" />
+ <input type="submit" value="Find Groups"/>
+ </form>
+ <script type="text/javascript">
+ document.getElementById("criteria").focus();
+ </script>
+ </div>
+ <div py:if='(groups != None) and (len(groups) > 0)'>
+ <h2>${len(groups)} results returned:</h2>
+ <table id="resultstable">
+ <tr>
+ <th>
+ <label class="fieldlabel" py:content="fields.cn.label" />
+ </th>
+ <th>
+ <label class="fieldlabel" py:content="fields.description.label" />
+ </th>
+ </tr>
+ <tr py:for="group in groups">
+ <td>
+ <a href="${tg.url('/groupshow',cn=group.cn)}">${group.cn}</a>
+ </td>
+ <td>
+ ${group.description}
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div py:if='(groups != None) and (len(groups) == 0)'>
+ <h2>No results found for "${criteria}"</h2>
+ </div>
+</body>
+</html>