Added the images to the various menu links.
authorrich <rich>
Fri, 22 Oct 2004 17:17:42 +0000 (17:17 +0000)
committerrich <rich>
Fri, 22 Oct 2004 17:17:42 +0000 (17:17 +0000)
html/_css/standard.css
templates/footer.html
templates/page.html

index f58adc3..77fe8ed 100644 (file)
@@ -1,5 +1,5 @@
 /* Stylesheet for COCANWIKI.
- * $Id: standard.css,v 1.20 2004/10/21 20:44:53 rich Exp $
+ * $Id: standard.css,v 1.21 2004/10/22 17:17:42 rich Exp $
  */
 
 /* Based on the basic stylesheet. */
@@ -170,6 +170,57 @@ ul#footer {
   font-size: 70%;
 }
 
+/* Graphics on the menu items. */
+li.edit_li a {
+  padding-left: 16px;
+  background: url(/_graphics/edit.png) center left no-repeat;
+}
+
+li.files_li a {
+  padding-left: 18px;
+  background: url(/_graphics/files.png) center left no-repeat;
+}
+
+li.home_li a {
+  padding-left: 16px;
+  background: url(/_graphics/home.png) center left no-repeat;
+}
+
+li.images_li a {
+  padding-left: 18px;
+  background: url(/_graphics/images.png) center left no-repeat;
+}
+
+li.maillist_li a {
+  padding-left: 18px;
+  background: url(/_graphics/maillist.png) center left no-repeat;
+}
+
+li.recent_li a {
+  padding-left: 16px;
+  background: url(/_graphics/recent.png) center left no-repeat;
+}
+
+li.sitemap_li a {
+  padding-left: 18px;
+  background: url(/_graphics/sitemap.png) center left no-repeat;
+}
+
+li.recent_li a {
+  padding-left: 18px;
+  background: url(/_graphics/recent.png) center left no-repeat;
+}
+
+li.versions_li a {
+  padding-left: 18px;
+  background: url(/_graphics/versions.png) center left no-repeat;
+}
+
+li.wlh_li a {
+  padding-left: 18px;
+  background: url(/_graphics/wlh.png) center left no-repeat;
+}
+
 /* Sitemap page. */
 ul#sitemap {
   list-style: none;
index f7d8606..d8ff69a 100644 (file)
@@ -1,15 +1,15 @@
 <ul id="topmenu" class="menu">
-<li class="first"> <a href="/">Home&nbsp;page</a> </li>
-<li> <a href="/_sitemap">Sitemap</a> </li>
-<li> <a href="/_recent">Recent&nbsp;changes</a> </li>
+<li class="first home_li"> <a href="/">Home&nbsp;page</a> </li>
+<li class="sitemap_li"> <a href="/_sitemap">Sitemap</a> </li>
+<li class="recent_li"> <a href="/_recent">Recent&nbsp;changes</a> </li>
 </ul>
 
 <div id="menu_div">
 <ul id="bottommenu" class="menu">
-<li class="first"> <a href="/">Home&nbsp;page</a> </li>
+<li id="index_li" class="first"> <a href="/">Home&nbsp;page</a> </li>
 ::table(sitemenu)::<li> <a href="/::url_html_tag::">::label_html::</a> </li>
 ::end::
-<li> <a href="/_sitemap">Sitemap</a> </li>
+<li id="sitemap_li"> <a href="/_sitemap">Sitemap</a> </li>
 </ul>
 </div>
 
index 97efd3d..03974ad 100644 (file)
 
 <ul id="topmenu" class="menu">
 ::if(can_edit)::
-<li class="first"> <a href="/::page_html_tag::/edit"><strong>Edit&nbsp;this&nbsp;page</strong></a> </li>
+<li class="first edit_li"> <a href="/::page_html_tag::/edit"><strong>Edit&nbsp;this&nbsp;page</strong></a> </li>
 ::end::
-<li ::if(can_edit)::::else::class="first"::end::> <a href="/">Home&nbsp;page</a> </li>
-<li> <a href="/_sitemap">Sitemap</a> </li>
+<li class="::if(can_edit)::::else::first ::end::home_li"> <a href="/">Home&nbsp;page</a> </li>
+<li class="sitemap_li"> <a href="/_sitemap">Sitemap</a> </li>
 ::if(can_edit)::
-<li> <a href="/_recent">Recent&nbsp;changes</a> </li>
-<li> <a href="/::page_html_tag::/history">Versions&nbsp;of&nbsp;this&nbsp;page</a> </li>
+<li class="recent_li"> <a href="/_recent">Recent&nbsp;changes</a> </li>
+<li class="versions_li"> <a href="/::page_html_tag::/history">Versions&nbsp;of&nbsp;this&nbsp;page</a> </li>
 ::end::
 </ul>
 
 <li id="index_li" class="first"> ::if(is_homepage)::::else::<a href="/">::end::Home&nbsp;page::if(is_homepage)::::else::</a>::end:: </li>
 ::table(sitemenu)::<li id="::url::_li"> ::if(is_linked)::<a href="/::url_html_tag::">::end::::label_html::::if(is_linked)::</a>::end:: </li>
 ::end::
-<li> <a href="/_sitemap">Sitemap</a> </li>
+<li id="sitemap_li"> <a href="/_sitemap">Sitemap</a> </li>
 </ul>
 
 <ul id="editmenu" class="menu">
-<li class="first"> ::if(user_logged_in):: ::username_html:: <a href="/_logout">(logout)</a> ::else:: <a href="/_login">Create account or log in</a> ::end:: </li>
+<li class="first login_li"> ::if(user_logged_in):: ::username_html:: <a href="/_logout">(logout)</a> ::else:: <a href="/_login">Create account or log in</a> ::end:: </li>
 ::if(can_edit)::
-<li> <a href="/::page_html_tag::/edit"><strong>Edit this page</strong></a> </li>
-<li> <a href="/_recent">Recent changes</a> </li>
-<li> <a href="/::page_html_tag::/history">Versions of this page</a> </li>
+<li class="edit_li"> <a href="/::page_html_tag::/edit"><strong>Edit this page</strong></a> </li>
+<li class="recent_li"> <a href="/_recent">Recent changes</a> </li>
+<li class="versions_li"> <a href="/::page_html_tag::/history">Versions of this page</a> </li>
 <li> <a href="/::page_html_tag::/editcss">Edit stylesheet for this page</a> </li>
 <li> <a href="/::page_html_tag::/edittitle">Edit title</a> </li>
-<li> <a href="/_bin/what_links_here.cmo?page=::page_url::">What links here?</a> </li>
+<li class="wlh_li"> <a href="/_bin/what_links_here.cmo?page=::page_url::">What links here?</a> </li>
 <li> <a href="/_bin/edit_sitemenu.cmo">Edit site menu</a> </li>
 <li> <a href="/_bin/largest_pages.cmo">Largest pages</a> </li>
 <li> <a href="/_bin/dead_ends.cmo">Dead end pages</a> </li>
 <li> <a href="/_bin/broken_links.cmo">Broken links</a> </li>
-<li> <a href="/_images">Images</a> </li>
-<li> <a href="/_files">Files</a> </li>
+<li class="images_li"> <a href="/_images">Images</a> </li>
+<li class="files_li"> <a href="/_files">Files</a> </li>
 ::if(has_stats)::
 <li> <a href="/::page_html_tag::/stats">Stats</a> </li>
 ::end::
@@ -94,9 +94,9 @@
 ::if(can_edit)::
 <li> <a href="/_admin">Server administration</a> </li>
 ::end::
-<li> <a href="/_bin/page_email_form.cmo?page=::page_url::">Send email if this page changes</a> </li>
+<li class="maillist_li"> <a href="/_bin/page_email_form.cmo?page=::page_url::">Send email if this page changes</a> </li>
 ::if(mailing_list)::
-<li> <a href="/_bin/mailing_list_form.cmo">Join our mailing list</a> </li>
+<li class="maillist_li"> <a href="/_bin/mailing_list_form.cmo">Join our mailing list</a> </li>
 ::end::
 ::if(user_logged_in)::
 <li> <a href="/_bin/change_password_form.cmo">Change password</a> </li>