source: trunk/templates/update.tmpl@ 703

Last change on this file since 703 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
Line 
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>
7
8<table class="indent altrows" cellspacing="1" cellpadding="1">
9<tr class="heading"><td>Allocation info updated:</td></tr>
10
11<tr>
12<td>IP<TMPL_UNLESS backpool> block</TMPL_UNLESS>:</td>
13<td><TMPL_VAR NAME=cidr></td>
14</tr>
15
16<tr>
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
23<tr>
24<td>City:</td>
25<td><TMPL_VAR NAME=city></td>
26</tr>
27
28<tr>
29<td>Type:</td>
30<td><TMPL_VAR NAME=disptype></td>
31</tr>
32
33<tr>
34<td>Layer-2/demarc node:</td>
35<td><TMPL_IF nodename><TMPL_VAR NAME=nodename><TMPL_ELSE>N/A</TMPL_IF></td>
36</tr>
37
38<tr>
39<td>Customer ID:</td>
40<td><TMPL_VAR NAME=custid></td>
41</tr>
42
43<tr>
44<td>SWIPed?:</td>
45<td><TMPL_VAR NAME=swip></td>
46</tr>
47
48<tr>
49<td>Circuit ID:</td>
50<td><TMPL_VAR ESCAPE=HTML NAME=circid></td>
51</tr>
52
53<tr>
54<td valign="top">Description/Name:</td>
55<td><TMPL_VAR ESCAPE=HTML NAME=desc></td>
56</tr>
57
58<tr>
59<td valign="top">Notes:</td>
60<td><TMPL_VAR NAME=notes></td>
61</tr>
62
63<TMPL_IF privdata>
64<tr>
65<td valign="top">Restricted data:</td>
66<td><TMPL_VAR NAME=privdata></td>
67</tr>
68</TMPL_IF>
69
70</table>
71
72<br>
73<div class="backlink">
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>
75</div>
76</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.