Changeset 952


Ignore:
Timestamp:
Mar 19, 2007, 9:00:19 PM (15 years ago)
Author:
kake
Message:

Add CSS ids for the other navbar "modules".

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/README.CSS

    r951 r952  
    139139    Used in: navbar_categories.tt
    140140    Purpose: Display the common categories, if enabled.
     141div#navbar_help
     142    Used in: navbar_help.tt
     143    Purpose: Display help links, if user has them turned on.
    141144div#navbar_locales
    142145    Used in: navbar_locales.tt
    143146    Purpose: Display the common locales, if enabled.
     147div#navbar_options
     148    Used in: navbar_options.tt
     149    Purpose: Display links to options such as "Set username/prefs".
     150div#navbar_search
     151    Used in: navbar_search.tt
     152    Purpose: Display search box and link to advanced search.
     153div#navbar_this_page
     154    Used in: navbar_this_page.tt
     155    Purpose: Display links to this-page stuff such as "Edit this page", if
     156    the current page is an editable one.
     157div#navbar_tools
     158    Used in: navbar_tools.tt
     159    Purpose: Display links to tools such as "Recent Changes", "Random Page".
    144160
    145161div#navbar_current_version_link
  • trunk/templates/navbar_help.tt

    r942 r952  
    11[% UNLESS omit_help_links %]
    2   <div class="navbar_group_title">Help:</div>
    3 
    4   <ul>
    5     <li><a href="[% full_cgi_url %]?FAQ">FAQ</a></li>
    6     <li><a href="[% full_cgi_url %]?How_To_Get_Started">How To Get Started</a></li>
    7     [% IF formatting_rules_link %]
    8       <li><a href="[% formatting_rules_link %]">[% formatting_rules_node %]</a></li>
    9     [% END %]
    10     <li><a href="[% full_cgi_url %]?Wiki_Etiquette">Wiki Etiquette</a></li>
    11   </ul>
    12 
     2  <div id="navbar_help">
     3    <div class="navbar_group_title">Help:</div>
     4    <ul>
     5      <li><a href="[% full_cgi_url %]?FAQ">FAQ</a></li>
     6      <li><a href="[% full_cgi_url %]?How_To_Get_Started">How To Get Started</a></li>
     7      [% IF formatting_rules_link %]
     8        <li><a href="[% formatting_rules_link %]">[% formatting_rules_node %]</a></li>
     9      [% END %]
     10      <li><a href="[% full_cgi_url %]?Wiki_Etiquette">Wiki Etiquette</a></li>
     11    </ul>
     12</div>
    1313[% END %]
    1414
  • trunk/templates/navbar_options.tt

    r942 r952  
    1 <div class="navbar_group_title">Options:</div>
    2 
    3 <ul>
    4   <li><a href="preferences.cgi">Set username/prefs</a></li>
    5 </ul>
     1<div id="navbar_options">
     2  <div class="navbar_group_title">Options:</div>
     3  <ul>
     4    <li><a href="preferences.cgi">Set username/prefs</a></li>
     5  </ul>
     6</div>
  • trunk/templates/navbar_search.tt

    r942 r952  
    1 <div class="navbar_group_title">Search:</div>
    2 
    3 <ul>
    4   <li>
    5     <form method="post" action="search.cgi" enctype="application/x-www-form-urlencoded">
    6       <input type="hidden" name="action" value="search" />
    7       <input type="text" size="15" name="search" id="nav_search" value="Search text" onfocus="this.value=''" /> <label for="nav_search" class="hidden">Search text</label>
    8       <input type="submit" value="Go" class="form_button" />
    9     </form>
    10   </li>
    11   <li><a href="search.cgi">Advanced Search</a></li>
    12 </ul>
     1<div id="navbar_search">
     2  <div class="navbar_group_title">Search:</div>
     3  <ul>
     4    <li>
     5      <form method="post" action="search.cgi" enctype="application/x-www-form-urlencoded">
     6        <input type="hidden" name="action" value="search" />
     7        <input type="text" size="15" name="search" id="nav_search" value="Search text" onfocus="this.value=''" /> <label for="nav_search" class="hidden">Search text</label>
     8        <input type="submit" value="Go" class="form_button" />
     9      </form>
     10    </li>
     11    <li><a href="search.cgi">Advanced Search</a></li>
     12  </ul>
     13</div>
  • trunk/templates/navbar_this_page.tt

    r942 r952  
    11[% UNLESS not_editable %]
    2   <div class="navbar_group_title">This page:</div>
    3 
    4   <ul>
    5     <li><a class="edit_page_link" href="[% source_site or full_cgi_url %]?id=[% node_param %];action=edit">Edit this page</a></li>
    6     <li><a href="[% cgi_url %]?action=show_backlinks;id=[% node_param %]">Show pages linking here</a></li>
    7     [% IF version AND version > 1 %]
    8       <li><a href="[% cgi_url %]?action=list_all_versions;id=[% node_param %]">List all revisions</a></li>
    9     [% END %]
    10     <li><a href="[% cgi_url %]?id=[% node_param %];format=rdf">RDF/XML version</a></li>
    11     [% IF enable_page_deletion %]
    12       <li><a href="[% full_cgi_url %]?id=[% node_param %];action=delete">Delete (admin only)</a></li>
    13     [% END %]
    14   </ul>
    15 
     2  <div id="navbar_this_page">
     3    <div class="navbar_group_title">This page:</div>
     4    <ul>
     5      <li><a class="edit_page_link" href="[% source_site or full_cgi_url %]?id=[% node_param %];action=edit">Edit this page</a></li>
     6      <li><a href="[% cgi_url %]?action=show_backlinks;id=[% node_param %]">Show pages linking here</a></li>
     7      [% IF version AND version > 1 %]
     8        <li><a href="[% cgi_url %]?action=list_all_versions;id=[% node_param %]">List all revisions</a></li>
     9      [% END %]
     10      <li><a href="[% cgi_url %]?id=[% node_param %];format=rdf">RDF/XML version</a></li>
     11      [% IF enable_page_deletion %]
     12        <li><a href="[% full_cgi_url %]?id=[% node_param %];action=delete">Delete (admin only)</a></li>
     13      [% END %]
     14    </ul>
     15  </div>
    1616[% END %]
  • trunk/templates/navbar_tools.tt

    r942 r952  
    1 <div class="navbar_group_title">Tools:</div>
    2 
    3 <ul>
    4   <li><a href="[% full_cgi_url %]?action=rc">Recent Changes</a></li>
    5   <li><a href="newpage.cgi">Create New Page</a></li>
    6   <li><a href="[% full_cgi_url %]?action=random">Random Page</a></li>
    7   <li><a href="[% full_cgi_url %]?action=show_wanted_pages">Wanted Pages</a></li>
    8   [% IF geocache_link AND latitude AND longitude %]
    9     <li><a href="http://www.geocaching.com/seek/nearest_cache.asp?origin_lat=[% latitude %];origin_long=[% longitude %]">Look for nearby geocaches</a></li>
    10   [% END %]
    11 </ul>
     1<div id="navbar_tools">
     2  <div class="navbar_group_title">Tools:</div>
     3  <ul>
     4    <li><a href="[% full_cgi_url %]?action=rc">Recent Changes</a></li>
     5    <li><a href="newpage.cgi">Create New Page</a></li>
     6    <li><a href="[% full_cgi_url %]?action=random">Random Page</a></li>
     7    <li><a href="[% full_cgi_url %]?action=show_wanted_pages">Wanted Pages</a></li>
     8    [% IF geocache_link AND latitude AND longitude %]
     9      <li><a href="http://www.geocaching.com/seek/nearest_cache.asp?origin_lat=[% latitude %];origin_long=[% longitude %]">Look for nearby geocaches</a></li>
     10    [% END %]
     11  </ul>
     12</div>
Note: See TracChangeset for help on using the changeset viewer.