Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 35
- Log:
Stylesheet tweaks to better match other apps on the site. Updated
theme and powered-by info to match Radiant-exported templates. New
help style when editing pages; doesn't overflow into sidebar.
- Author:
- adh
- Date:
- Sat Jul 29 16:39:55 +0100 2006
- Size:
- 2104 Bytes
1 | <div class="sidebar-node"> |
2 | <h3>Search documentation</h3> |
3 | |
4 | <p /> |
5 | <%= form_tag({ :controller => 'wiki', :action => 'search', :web => @web.address}, |
6 | {'id' => 'navigationSearchForm', 'method' => 'get'}) %> |
7 | <input type="text" id="searchField" name="query" size="15" value="Search" |
8 | onfocus="this.value == 'Search' ? this.value = '' : true" |
9 | onblur="this.value == '' ? this.value = 'Search' : true" /> |
10 | <input type="submit" name="submit" value="Go" /> |
11 | <%= end_form_tag %> |
12 | </div> |
13 | <% |
14 | def list_item(text, link_options, description, accesskey = nil) |
15 | link_options[:controller] = 'wiki' |
16 | link_options[:web] = @web.address |
17 | link_to_unless_current(text, link_options, :title => description, :accesskey => accesskey) { |
18 | content_tag('b', text, 'title' => description, 'class' => 'navOn') |
19 | } |
20 | end |
21 | %> |
22 | |
23 | <%= render 'shared/fixed_sidebar' %> |
24 | |
25 | <p /> |
26 | <div class="sidebar-node"> |
27 | <h3>Options</h3> |
28 | |
29 | <ul> |
30 | <% if @action_name != 'published' then %> |
31 | <li><%= list_item 'Documentation Home', {:action => 'show', :id => 'HomePage'}, 'Home, Sweet Home', 'H' %></li> |
32 | <li><%= list_item 'All Pages', {:action => 'list'}, 'Alphabetically sorted list of pages', 'A' %></li> |
33 | <li><%= list_item 'Recently Revised', {:action =>'recently_revised'}, 'Pages sorted by when they were last changed', 'U' %></li> |
34 | <li><%= list_item 'Authors', {:action => 'authors'}, 'Who wrote what' %></li> |
35 | <li><%= list_item 'Feeds', {:action => 'feeds'}, 'Subscribe to changes by RSS' %></li> |
36 | <li><%= list_item 'Export', {:action => 'export'}, 'Download a zip with all the pages in this wiki', 'X' %></li> |
37 | <% else %> |
38 | <li><%= list_item 'Home Page', {:action => 'published', :id => 'HomePage'}, 'Home, Sweet Home', 'H' %></li> |
39 | <% end%> |
40 | </ul> |
41 | </div> |