Last change
on this file since 374 was 374, checked in by Kris Deugau, 12 years ago |
/trunk
Checkpoint adding location/view UI bits. See #10.
- add location add/edit template
- stub out location add/edit, start filling in add section
- straighten out use of some of the new location-related permission flags
|
File size:
1.5 KB
|
Rev | Line | |
---|
[374] | 1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
| 2 | <table class="wholepage"><tr>
|
---|
| 3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
| 4 |
|
---|
| 5 | <td align="center" valign="top">
|
---|
| 6 |
|
---|
| 7 | <TMPL_IF perm_err>
|
---|
| 8 | <div class='errmsg'><TMPL_VAR NAME=perm_err></div>
|
---|
| 9 | <TMPL_ELSE>
|
---|
| 10 |
|
---|
| 11 | <form action="dns.cgi" method="post">
|
---|
| 12 | <fieldset>
|
---|
| 13 |
|
---|
| 14 | <input type="hidden" name="page" value="location" />
|
---|
| 15 | <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
|
---|
| 16 | <input type="hidden" name="parentid" value="<TMPL_VAR NAME=parentid>" />
|
---|
| 17 | <input type="hidden" name="id" value="<TMPL_VAR NAME=id>" />
|
---|
| 18 | <input type="hidden" name="locact" value="<TMPL_VAR NAME=locact>" />
|
---|
| 19 |
|
---|
| 20 | <table class="container" width="450">
|
---|
| 21 | <tr><td>
|
---|
| 22 |
|
---|
| 23 | <table border="0" cellspacing="2" cellpadding="2" width="100%">
|
---|
| 24 | <TMPL_IF failed> <tr><td class="errhead" colspan="2">Error <TMPL_VAR NAME=wastrying> location: <TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
|
---|
| 25 | <tr class="tableheader"><td align="center" colspan="2"><TMPL_VAR NAME=todo>: <TMPL_VAR NAME=dohere></td></tr>
|
---|
| 26 | <tr class="datalinelight">
|
---|
| 27 | <td>Location name/description</td>
|
---|
| 28 | <td><input type="text" name="locname" value="<TMPL_VAR ESCAPE=HTML NAME=locname>" size="30" /></td>
|
---|
| 29 | </tr>
|
---|
| 30 | <tr class="datalinelight">
|
---|
| 31 | <td>IP list</td>
|
---|
| 32 | <td><input type="text" name="iplist" value="<TMPL_VAR ESCAPE=HTML NAME=iplist>" size="30" /></td>
|
---|
| 33 | </tr>
|
---|
| 34 | <tr class="datalinelight">
|
---|
| 35 | <td colspan="2" align="center"><input type="submit" value=" <TMPL_VAR NAME=todo> " /></td>
|
---|
| 36 | </tr>
|
---|
| 37 | </table>
|
---|
| 38 |
|
---|
| 39 | </td></tr>
|
---|
| 40 | </table>
|
---|
| 41 |
|
---|
| 42 | </fieldset>
|
---|
| 43 | </form>
|
---|
| 44 |
|
---|
| 45 | </TMPL_IF>
|
---|
| 46 |
|
---|
| 47 | </td>
|
---|
| 48 | </tr>
|
---|
| 49 | </table>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.