Changeset 617


Ignore:
Timestamp:
Jan 12, 2005, 2:07:57 AM (17 years ago)
Author:
Dominic Hargreaves
Message:

New css id maincontent, and misc template bugfixes

Location:
trunk
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r616 r617  
    77        Made default city and country be blank; specify them if you want them.
    88        Missing PREREQUISITE on Plucene added.
     9        Added CSS id "maincontent" to exclude the navbar and footer. Misc
     10        template tidying including removing old layout tables.
    911
    10120.46    21 December 2004
  • trunk/README.CSS

    r616 r617  
    9393
    9494div#content
     95div#maincontent
    9596    Used in: backlink_results.tt, delete_confirm.tt, delete_done.tt,
    9697             delete_password_wrong.tt, edit_conflict.tt, edit_form.tt,
     
    99100             supersearch.tt, userstats.tt, wanted_pages.tt
    100101    Purpose: Defines the main textual content of the page
     102             content includes the navbar and footer; maincontent does not
    101103
    102104div#coordinates
  • trunk/templates/backlink_results.tt

    r616 r617  
    33<div id="content">
    44[% INCLUDE navbar.tt %]
     5<div id="maincontent">
    56<h1 align=center>
    67  [% site_name %] - Backlinks to <span class="node_name">[% node_name %]</span>
     
    1516</ul>
    1617
     18</div>
    1719[% INCLUDE footer.tt %]
  • trunk/templates/delete_confirm.tt

    r616 r617  
    77<div id="content">
    88[% INCLUDE navbar.tt %]
     9<div id="maincontent">
    910
    1011<h1>Confirm Deletion</h1>
     
    3435</form>
    3536
     37</div>
    3638[% INCLUDE footer.tt %]
  • trunk/templates/delete_done.tt

    r616 r617  
    77<div id="content">
    88[% INCLUDE navbar.tt %]
     9<div id="maincontent">
    910<h1>Deleted</h1>
    1011<p>
     
    2122[% END %]
    2223</p>
     24</div>
    2325[% INCLUDE footer.tt %]
  • trunk/templates/delete_password_wrong.tt

    r616 r617  
    33<div id="content">
    44[% INCLUDE navbar.tt %]
     5<div id="maincontent">
    56<h1>Incorrect Password</h1>
    67<p>
     
    89cgi_url %]?id=[% node_param %];action=delete;version=[% delete_version %]">try again</a>.
    910</p>
     11</div>
    1012[% INCLUDE footer.tt %]
  • trunk/templates/edit_conflict.tt

    r616 r617  
    44<div id="content">
    55[% INCLUDE navbar.tt %]
     6<div id="maincontent">
    67<h2>Edit "[% node_name %]"</h2>
    78
     
    115116[% END %]
    116117
     118</div>
    117119[% INCLUDE footer.tt %]
  • trunk/templates/edit_form.tt

    r616 r617  
    22<div id="content">
    33
     4<div id="maincontent">
    45<h1 align="center">Edit &quot;[% node_name %]&quot;</h1>
    56
     
    121122[% END %]
    122123
     124</div>
    123125[% INCLUDE footer.tt %]
  • trunk/templates/home_node.tt

    r616 r617  
    2727[% END %]
    2828
     29<div id="maincontent">
    2930<div id="recent">
    3031
     
    5556[% content %]
    5657
     58</div>
    5759[% INCLUDE footer.tt %]
  • trunk/templates/newpage.tt

    r616 r617  
    33[% INCLUDE banner.tt %]
    44<div id="content">
    5 <table border="0" cellpadding="0" cellspacing="0" width="100%" summary="Form for entering details of a new page you want to create.">
    6   <tr>
    7     <td valign="top"><h2>Create a new page</h2>
     5[% INCLUDE navbar.tt %]
     6<div id="maincontent">
    87
    98<form action="newpage.cgi" method="POST">
     
    1918  [% END %]
    2019</strong>
    21 </form></td>
    22     <td valign="top">[% INCLUDE navbar.tt %]</td>
    23   </tr>
    24 </table>
     20</form>
     21</div>
    2522[% INCLUDE footer.tt %]
  • trunk/templates/node.tt

    r616 r617  
    44<div id="content">
    55[% INCLUDE navbar.tt %]
     6<div id="maincontent">
    67[% IF current %]
    78  [% IF backlinks_in_title AND is_indexable_node %]
     
    8687</div>
    8788
     89</div>
    8890[% INCLUDE footer.tt %]
  • trunk/templates/preferences.tt

    r616 r617  
    1111[% INCLUDE banner.tt %]
    1212<div id="content">
    13 <table border="0" cellpadding="0" cellspacing="0" width="100%" summary="Controls for setting your preferences on how this site functions">
    14 <tr>
    15 <td valign="top">
     13[% INCLUDE navbar.tt %]
     14<div id="maincontent">
    1615[% IF show_form %]
    1716
     
    176175
    177176[% END %]
    178 </td>
    179 <td valign="top">[% INCLUDE navbar.tt %]</td>
    180 </tr>
    181 </table>
    182177</div>
    183 </body>
    184 </html>
     178[% INCLUDE footer.tt %]
  • trunk/templates/recent_changes.tt

    r616 r617  
    33
    44<div id="content">
    5   [% INCLUDE navbar.tt %]
     5[% INCLUDE navbar.tt %]
     6<div id="maincontent">
    67  <h2>Recent site changes</h2>
    78  [% UNLESS since %]
     
    7980[% END %]
    8081
     82</div>
    8183[% INCLUDE footer.tt %]
  • trunk/templates/search_results.tt

    r616 r617  
    11[% INCLUDE header.tt %]
    2 <div id="header">
    3 <h1><a href="?Home" class="home_link">[% site_name %]</a></h1>
    4 </div>
     2[% INCLUDE banner.tt %]
    53<div id="content">
    6 <table border="0" cellpadding="0" cellspacing="0" summary="Results of search queries are displayed here">
    7         <tr>
    8                 <td><h2>Search Results for [% search_terms %]</h2>
     4[% INCLUDE navbar.tt %]
     5<div id="maincontent">
     6<h2>Search Results for [% search_terms %]</h2>
    97                <p>
    108                [% num_results %] pages found:
     
    1513                [% END %]
    1614                </ul></td>
    17                 <td valign="top">[% INCLUDE navbar.tt %]</td>
    18         </tr>
    19 </table>
    20 
     15</div>
    2116[% INCLUDE footer.tt %]
  • trunk/templates/site_index.tt

    r616 r617  
    77<div id="content">
    88[% INCLUDE navbar.tt %]
     9<div id="maincontent">
    910<h2>Node List
    1011  [%- IF criterion -%]
     
    2627  [% END %]
    2728</ol>
     29</div>
    2830[% INCLUDE footer.tt %]
  • trunk/templates/supersearch.tt

    r616 r617  
    77[% INCLUDE banner.tt %]
    88<div id="content">
    9 <table border="0" cellpadding="0" cellspacing="0" width="100%"
    10 summary="Results of search queries are displayed here, and new searches can also be entered.">
    11   <tr>
    12     <td valign="top">
     9[% INCLUDE navbar.tt %]
     10<div id="maincontent">
    1311  [% IF search_terms %]
    1412  <h2>Search Results for <em>[% search_terms %]</em></h2>
     
    113111  [% END %]
    114112
    115     </td>
    116     <td valign="top">[% INCLUDE navbar.tt %]</td>
    117   </tr>
    118 </table>
    119 
     113</div>
    120114[% INCLUDE footer.tt %]
  • trunk/templates/userstats.tt

    r616 r617  
    44<div id="content">
    55[% INCLUDE navbar.tt %]
     6<div id="maincontent">
    67<h2>
    78  User Stats for
     
    4546[% END %]
    4647
     48</div>
    4749[% INCLUDE footer.tt %]
  • trunk/templates/wanted_pages.tt

    r616 r617  
    33<div id="content">
    44[% INCLUDE navbar.tt %]
     5<div id="maincontent">
    56<h2>Wanted Pages</h2>
    67<p>
     
    1718</ul>
    1819
     20</div>
    1921[% INCLUDE footer.tt %]
Note: See TracChangeset for help on using the changeset viewer.