[Checkins]
SVN: Sandbox/ulif/grok-adminui-with-principals/src/grok/admin/view_templates/users.pt
Moved 'add principal' section to top of page.
Uli Fouquet
uli at gnufix.de
Sun Aug 19 19:01:03 EDT 2007
Log message for revision 79005:
Moved 'add principal' section to top of page.
Changed:
U Sandbox/ulif/grok-adminui-with-principals/src/grok/admin/view_templates/users.pt
-=-
Modified: Sandbox/ulif/grok-adminui-with-principals/src/grok/admin/view_templates/users.pt
===================================================================
--- Sandbox/ulif/grok-adminui-with-principals/src/grok/admin/view_templates/users.pt 2007-08-19 22:26:19 UTC (rev 79004)
+++ Sandbox/ulif/grok-adminui-with-principals/src/grok/admin/view_templates/users.pt 2007-08-19 23:01:03 UTC (rev 79005)
@@ -8,7 +8,62 @@
</div>
<div tal:condition="view/userfolder">
+
<fieldset>
+ <legend>Add new principal:</legend>
+
+ <form method="post">
+ <fieldset class="menu-box2">
+ <table>
+ <tr>
+ <td><label for="login">Login:</label></td>
+ <td><input type="text" name="login" />
+ </td>
+ </tr>
+
+ <tr>
+ <td><label for="title">Title:</label></td>
+ <td><input type="text" name="title" />
+ </td>
+ </tr>
+ <tr>
+ <td><label for="descrption">Description:</label></td>
+ <td><input type="text" name="description" />
+ </td>
+ </tr>
+ <tr>
+ <td><label for="passwd"
+ class="menu-label1">Password:</label></td>
+ <td><input type="password" name="passwd" /></td>
+ </tr>
+ <tr>
+ <td><label for="roles"
+ class="menu-label1">Roles:</label></td>
+ <td>
+ <select name="roles" multiple="multiple" size="2">
+ <option
+ tal:repeat="role view/roles"
+ tal:content="role">role</option>
+ </select>
+ </td>
+
+ </tr>
+ <tr>
+ <td/>
+ <td align="right">
+ <input type="submit" name="addprincipal"
+ value="add principal" />
+ </td>
+ </tr>
+
+ </table>
+ </fieldset>
+ </form>
+
+ </fieldset>
+
+
+ <fieldset>
<legend>
Existing Principals:
</legend>
@@ -80,58 +135,6 @@
</fieldset>
- <fieldset>
- <legend>Add new principal:</legend>
-
- <form method="post">
- <fieldset class="menu-box2">
- <table>
- <tr>
- <td><label for="login">Login:</label></td>
- <td><input type="text" name="login" />
- </td>
- </tr>
-
- <tr>
- <td><label for="title">Title:</label></td>
- <td><input type="text" name="title" />
- </td>
- </tr>
- <tr>
- <td><label for="descrption">Description:</label></td>
- <td><input type="text" name="description" />
- </td>
- </tr>
- <tr>
- <td><label for="passwd"
- class="menu-label1">Password:</label></td>
- <td><input type="password" name="passwd" /></td>
- </tr>
- <tr>
- <td><label for="roles"
- class="menu-label1">Roles:</label></td>
- <td>
- <select name="roles" multiple="multiple" size="2">
- <option
- tal:repeat="role view/roles"
- tal:content="role">role</option>
- </select>
- </td>
-
- </tr>
- <tr>
- <td/>
- <td align="right">
- <input type="submit" name="addprincipal"
- value="add principal" />
- </td>
- </tr>
-
- </table>
- </fieldset>
- </form>
-
- </fieldset>
</div>
</div>
More information about the Checkins
mailing list