Sha256: 437ecc2a6becaefe93148bdd3d58f914aedb1e2dae6371cffdfe4aa24cd92e42

Contents?: true

Size: 1.53 KB

Versions: 1

Compression:

Stored size: 1.53 KB

Contents

<%
def list_item(title, url, description, accesskey = nil)
  if @title == title
    "<b class=\"navOn\" title=\"#{description}\" accesskey=\"#{accesskey}\">#{title}</b>"
  else
    "<a href=\"#{url}\" title=\"#{description}\" accesskey=\"#{accesskey}\">#{title}</a>"
  end
end
%>

<form id="navigationForm" class="navigation" action="../search/" method="get" style="font-size: 10px">  
  <%= list_item "Home Page", "../show/HomePage", "Home, Sweet Home", "H" %> | 
  <%= list_item "All Pages", "../list/", "Alphabetically sorted list of pages", "A" %> |
  <% if OPTIONS[:graphviz_available] %>
    <%= list_item "Mind Map", "../mind/", "A 'Mind Map' graph of wiki pages", "M" %> |
  <% end %>
  <%= list_item "Bliki", "../bliki/", "Bliki", "B" %> |
  <%= list_item "ToDo", "../todo/", "Todo items from all pages", "T" %> |
  <%= list_item "Recently Revised", "../recently_revised/", "Pages sorted by when they were last changed", "U" %> |
  <%= list_item "Authors", "../authors/", "Who wrote what" %> |
  <%= list_item "Feeds", "../feeds/", "Subscribe to changes by RSS" %> |
  <%= list_item "Glossary", "../glossary/", "Acronyms used in this web" %> |
  <%= list_item "Web Setup", "../edit_web/", "Edit this web's options" %> |
  <%= list_item "Export", "../export/", "Download a zip with all the pages in this wiki", "X" %> |
  <input type="text" id="searchField" name="query" style="font-size: 10px" value="Search" onClick="this.value == 'Search' ? this.value = '' : true">
    <%= list_item "<small>(Adv)</small>", "../adv_search/", "Advanced Search" %>
</form>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Pimki-1.7.092 app/views/navigation.rhtml