Ignore:
Timestamp:
01/29/15 17:02:06 (10 years ago)
Author:
Kris Deugau
Message:

/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:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/update.tmpl

    r634 r687  
    55</div>
    66<TMPL_ELSE>
    7 <div class="heading">Allocation info updated:</div>
    87
    9 <table class="indent" cellspacing="1" cellpadding="1">
     8<table class="indent altrows" cellspacing="1" cellpadding="1">
     9<tr class="heading"><td>Allocation info updated:</td></tr>
    1010
    11 <tr class="row0">
     11<tr>
    1212<td>IP<TMPL_UNLESS backpool> block</TMPL_UNLESS>:</td>
    1313<td><TMPL_VAR NAME=cidr></td>
    1414</tr>
    1515
    16 <tr class="row1">
     16<tr>
    1717<td>Reverse DNS pattern:</td>
    1818<td><TMPL_VAR NAME=rdns>
     
    2121</tr>
    2222
    23 <tr class="row0">
     23<tr>
    2424<td>City:</td>
    2525<td><TMPL_VAR NAME=city></td>
    2626</tr>
    2727
    28 <tr class="row1">
     28<tr>
    2929<td>Type:</td>
    3030<td><TMPL_VAR NAME=disptype></td>
    3131</tr>
    3232
    33 <tr class="row0">
     33<tr>
    3434<td>Layer-2/demarc node:</td>
    3535<td><TMPL_IF nodename><TMPL_VAR NAME=nodename><TMPL_ELSE>N/A</TMPL_IF></td>
    3636</tr>
    3737
    38 <tr class="row1">
     38<tr>
    3939<td>Customer ID:</td>
    4040<td><TMPL_VAR NAME=custid></td>
    4141</tr>
    4242
    43 <tr class="row0">
     43<tr>
    4444<td>SWIPed?:</td>
    4545<td><TMPL_VAR NAME=swip></td>
    4646</tr>
    4747
    48 <tr class="row1">
     48<tr>
    4949<td>Circuit ID:</td>
    5050<td><TMPL_VAR ESCAPE=HTML NAME=circid></td>
    5151</tr>
    5252
    53 <tr class="row0">
     53<tr>
    5454<td valign="top">Description/Name:</td>
    5555<td><TMPL_VAR ESCAPE=HTML NAME=desc></td>
    5656</tr>
    5757
    58 <tr class="row1">
     58<tr>
    5959<td valign="top">Notes:</td>
    6060<td><TMPL_VAR NAME=notes></td>
     
    6262
    6363<TMPL_IF privdata>
    64 <tr class="row0">
     64<tr>
    6565<td valign="top">Restricted data:</td>
    6666<td><TMPL_VAR NAME=privdata></td>
Note: See TracChangeset for help on using the changeset viewer.