import of Diogenes 0.9.18
[diogenes.git] / templates / toplevel-admins.tpl
diff --git a/templates/toplevel-admins.tpl b/templates/toplevel-admins.tpl
new file mode 100644 (file)
index 0000000..d8c5576
--- /dev/null
@@ -0,0 +1,34 @@
+<form method="post" action="{$post}">
+<table class="light">
+<tr>
+  <th>{$msg_site}</th>
+  <th>{$msg_admin}</th>
+  <th>{$msg_actions}</th>
+</tr>
+{foreach from=$entries item=entry}
+<tr class="{$entry[0]}">
+  <td>{$entry[1]}</td>
+  <td><b>{$entry[3]}</b> <span class="auth">({$entry[2]})</span></td>
+  <td>
+  {foreach from=$entry[4] item=myaction}
+  {a class="action" lnk=$myaction}
+  {/foreach}
+  </td>
+</tr>
+{/foreach}
+<tr>
+  <td>
+  <select name="target">
+  {html_options options=$sites}
+  </select>
+  </td>
+  <td colspan="2">
+    <input type="text" name="username"/>
+    <select name="auth">
+    {html_options options=$auths}
+    </select>    
+    <input type="submit" name="action" value="add">
+  </td>
+</tr>
+</table>
+</form>