Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 309
- Log:
Restructure main layout for March 2011 site redesign.
- Author:
- rool
- Date:
- Fri Mar 18 14:16:20 +0000 2011
- Size:
- 2872 Bytes
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | |
3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
4 | <head> |
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
6 | <title>RISC OS Open: Forum<%= ": #{h @page_title}" if @page_title %></title> |
7 | <%= stylesheet_link_tag 'display' %> |
8 | <%# = javascript_include_tag "prototype", "effects", "lowpro", "application" %> |
9 | <% unless @feed_icons.blank? -%> |
10 | <% @feed_icons.each do |feed| -%> |
11 | <%= auto_discovery_link_tag :rss, feed[:url], :title => "Subscribe to '#{feed[:title]}'" %> |
12 | <% end -%> |
13 | <% end -%> |
14 | <link rel="search" type="application/opensearchdescription+xml" href="http://<%= request.host_with_port %>/open_search.xml" /> |
15 | </head> |
16 | <body> |
17 | <%= render 'shared/fixed_header' %> |
18 | |
19 | <div id="template_main"> |
20 | |
21 | <!-- Main body content --> |
22 | |
23 | <div id="template_body"> |
24 | <div id="template_body_content"> |
25 | <%= hubssolib_flash_tags -%> |
26 | |
27 | <div id="container"> |
28 | <div id="content"> |
29 | <%= content_tag 'p', h(flash[:notice]), :class => 'notice' if flash[:notice] %> |
30 | <%= content_tag 'p', h(flash[:error]), :class => 'notice error' if flash[:error] %> |
31 | <%= @content_for_layout %> |
32 | </div> |
33 | |
34 | <br style="clear:both;" /> |
35 | </div> |
36 | </div> |
37 | </div> |
38 | |
39 | <!-- Sidebar --> |
40 | |
41 | <div id="template_sidebar"> |
42 | <div id="template_sidebar_content"> |
43 | <div class="template_sidebar_node" id="search"> |
44 | <h3>Search forums</h3> |
45 | |
46 | <p /> |
47 | <% form_tag all_search_posts_path, :method => 'get' do -%> |
48 | <%= text_field_tag :q, params[:q], :size => 15, :id => :search_box %> |
49 | <input type="submit" name="submit" value="Go" /> |
50 | <% end -%> |
51 | </div> |
52 | |
53 | <%= render 'shared/fixed_sidebar' %> |
54 | |
55 | <p /> |
56 | <div class="template_sidebar_node"> |
57 | <%= @content_for_right %> |
58 | </div> |
59 | |
60 | <p /> |
61 | <div class="template_sidebar_node"> |
62 | <h3>Options</h3> |
63 | |
64 | <ul> |
65 | <li><%= link_to 'Forums', home_path, :rel => 'home' %></li> |
66 | <% if current_user && current_user != 0 && current_user.admin? -%><li><%= link_to 'Users', users_path %></li><% end -%> |
67 | <% if logged_in? %> |
68 | <li class="login"><%= link_to current_user.display_name, user_path(current_user) %></li> |
69 | <li class="logout"><%= link_to "Logout", "/hub/account/logout" %></li> |
70 | <% else %> |
71 | <li><%= link_to "Login", "/hub/account/login" %></li> |
72 | <% end %> |
73 | </ul> |
74 | </div> |
75 | </div> |
76 | </div> |
77 | |
78 | <div id="template_main_block_end"></div> |
79 | </div> |
80 | |
81 | <%= render 'shared/fixed_footer' %> |
82 | </body> |
83 | </html> |