Ignore:
Timestamp:
07/28/10 16:46:21 (14 years ago)
Author:
Kris Deugau
Message:

/branches/htmlform

Move Javascript from the header into its own file
Convert index page (master block summary) to template
Convert header to template, use template header in main.cgi
and search.cgi - going to leave admin.cgi out for now
Update HTML in header, index, footer to HTML 4.01 strict
See #3.

Location:
branches/htmlform/templates
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/htmlform/templates/footer.tmpl

    r450 r451  
    11<br>
    22<!-- Done with the main div opened in the header template -->
    3 <TMPL_IF NAME=adminlink><div id=adminlink><a href="/ip/cgi-bin/admin.cgi">Admin tools</a></div></TMPL_IF>
     3<TMPL_IF NAME=adminlink><div id="adminlink"><a href="/ip/cgi-bin/admin.cgi">Admin tools</a></div></TMPL_IF>
    44</div>
    55
    6 <div id=footer>
    7 <div id=contact>DeepNet <a href="http://projects.deepnet.cx/trac/ipdb" target="_blank">IP Database</a> |
    8  Copyright 2004-2010 <a href="mailto:kdeugau@deepnet.cx">Kris Deugau</a><br />
     6<div id="footer">
     7<div id="contact">DeepNet <a href="http://projects.deepnet.cx/trac/ipdb">IP Database</a> |
     8 Copyright 2004-2010 <a href="mailto:kdeugau@deepnet.cx">Kris Deugau</a><br>
    99Written for standards-based browsers (eg <a href="http://www.mozilla.org">Mozilla</a>)
    1010</div>
  • branches/htmlform/templates/index.tmpl

    r450 r451  
    11<br>
    2 <center><table width="98%" cellspacing="0" class="center"><tr class=heading>
     2<div class="center">
     3<table class="centre" width="98%" cellspacing="0">
     4<tr class="heading">
    35<td>Master netblock</td>
    46<td>Routed netblocks</td>
    57<td>Allocated netblocks</td>
    6 <td>Free netblocks</td><td>Largest free block</td>
     8<td>Free netblocks</td>
     9<td>Largest free block</td>
    710</tr>
    811<TMPL_LOOP NAME=masterlist>
    912<tr class="<TMPL_VAR name=rowclass>">
    10 <td><a href="/ip/cgi-bin/main.cgi?action=showmaster&block=<TMPL_VAR NAME=master>"><TMPL_VAR NAME=master></a></td>
     13<td><a href="/ip/cgi-bin/main.cgi?action=showmaster&amp;block=<TMPL_VAR NAME=master>"><TMPL_VAR NAME=master></a></td>
    1114<td><TMPL_VAR NAME=routed></td>
    1215<td><TMPL_VAR NAME=allocated></td>
     
    2124<br><br>
    2225Note:  Free blocks noted here include both routed and unrouted blocks.
    23 </center>
     26</div>
    2427
Note: See TracChangeset for help on using the changeset viewer.