source: trunk/templates/update.tmpl@ 781

Last change on this file since 781 was 687, checked in by Kris Deugau, 10 years ago

/trunk

CSS and layout cleanup, sort of. Convert tables with alternating row
colours to pure CSS (mainly to make addition of future fields, and future
*optional* or restricted-access fields, much easier). Play a little loose
with table structure to let headings and in-page "titles" continue to show
the main background colour instead of the "first line of the table" colour.

File size: 1.4 KB
RevLine 
[505]1<TMPL_IF err>
2<div class="regular err">
3<p><TMPL_VAR NAME=err></p>
4<input type="button" value="Back" onclick="history.go(-1)">
5</div>
6<TMPL_ELSE>
[475]7
[687]8<table class="indent altrows" cellspacing="1" cellpadding="1">
9<tr class="heading"><td>Allocation info updated:</td></tr>
[475]10
[687]11<tr>
[634]12<td>IP<TMPL_UNLESS backpool> block</TMPL_UNLESS>:</td>
[475]13<td><TMPL_VAR NAME=cidr></td>
14</tr>
15
[687]16<tr>
[588]17<td>Reverse DNS pattern:</td>
18<td><TMPL_VAR NAME=rdns>
19<input type="button" value=" ? " onclick="helpRDNS()" class="regular">
20</td>
21</tr>
22
[687]23<tr>
[475]24<td>City:</td>
25<td><TMPL_VAR NAME=city></td>
26</tr>
27
[687]28<tr>
[475]29<td>Type:</td>
30<td><TMPL_VAR NAME=disptype></td>
31</tr>
32
[687]33<tr>
[634]34<td>Layer-2/demarc node:</td>
[476]35<td><TMPL_IF nodename><TMPL_VAR NAME=nodename><TMPL_ELSE>N/A</TMPL_IF></td>
36</tr>
37
[687]38<tr>
[475]39<td>Customer ID:</td>
40<td><TMPL_VAR NAME=custid></td>
41</tr>
42
[687]43<tr>
[475]44<td>SWIPed?:</td>
45<td><TMPL_VAR NAME=swip></td>
46</tr>
47
[687]48<tr>
[475]49<td>Circuit ID:</td>
[536]50<td><TMPL_VAR ESCAPE=HTML NAME=circid></td>
[475]51</tr>
52
[687]53<tr>
[475]54<td valign="top">Description/Name:</td>
[536]55<td><TMPL_VAR ESCAPE=HTML NAME=desc></td>
[475]56</tr>
57
[687]58<tr>
[475]59<td valign="top">Notes:</td>
60<td><TMPL_VAR NAME=notes></td>
61</tr>
62
63<TMPL_IF privdata>
[687]64<tr>
[475]65<td valign="top">Restricted data:</td>
[476]66<td><TMPL_VAR NAME=privdata></td>
[475]67</tr>
68</TMPL_IF>
69
70</table>
[476]71
72<br>
73<div class="backlink">
[634]74<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=<TMPL_IF backpool>listpool&amp;pool=<TMPL_ELSE>showsubs&amp;parent=</TMPL_IF><TMPL_VAR NAME=backid>">Back to <TMPL_VAR NAME=backblock></a>
[475]75</div>
[505]76</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.