Sha256: 7d267faca7e6accfa405b0b193257fa623bd79cbabb1e7b19cefc91727e91c9a

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 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 `dot -V 2>&1` =~ /dot version/ %>
    <%= 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" %> |
  <!-- Moved to bottom of HomePage:
  <%= list_item "Authors", "../authors/", "Who wrote what" %> | 
  <%= list_item "Feeds", "../feeds/", "Subscribe to changes by RSS" %> | 
  <%= 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">
</form>

Version data entries

1 entries across 1 versions & 1 rubygems

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