Changesets can be listed by changeset number.
The Git repository is here.
Changeset 309
Restructure main layout for March 2011 site redesign.
- Comitted by: rool
- Date: Friday March 18 14:16:20 2011 (over 13 years ago)
Affected files:
rool/rails/beast/trunk/app/views/layouts/application.rhtml:
prev. | current | |
<% end -%> | ||
<link rel="search" type="application/opensearchdescription+xml" href="http://<%= request.host_with_port %>/open_search.xml" /> | ||
</head> | ||
16 | | |
16 | <body> | |
<%= render 'shared/fixed_header' %> | ||
19 | | |
19 | <div id="template_main"> | |
21 | | |
21 | <!-- Main body content --> | |
23 | | |
24 | | |
25 | | |
26 | | |
27 | | |
23 | <div id="template_body"> | |
24 | <div id="template_body_content"> | |
25 | <%= hubssolib_flash_tags -%> | |
<div id="container"> | ||
<div id="content"> | ||
... | ... | |
<br style="clear:both;" /> | ||
</div> | ||
38 | | |
36 | </div> | |
37 | </div> | |
40 | | |
41 | | |
42 | | |
39 | <!-- Sidebar --> | |
44 | | |
45 | | |
46 | | |
47 | | |
41 | <div id="template_sidebar"> | |
42 | <div id="template_sidebar_content"> | |
43 | <div class="template_sidebar_node" id="search"> | |
44 | <h3>Search forums</h3> | |
49 | | |
50 | | |
51 | | |
52 | | |
53 | | |
54 | | |
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> | |
<%= render 'shared/fixed_sidebar' %> | ||
58 | | |
59 | | |
60 | | |
61 | | |
55 | <p /> | |
56 | <div class="template_sidebar_node"> | |
57 | <%= @content_for_right %> | |
58 | </div> | |
63 | | |
64 | | |
65 | | |
60 | <p /> | |
61 | <div class="template_sidebar_node"> | |
62 | <h3>Options</h3> | |
67 | | |
68 | | |
69 | | |
70 | | |
71 | | |
72 | | |
73 | | |
74 | | |
75 | | |
76 | | |
77 | | |
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> | |
</div> | ||
79 | | |
80 | | |
81 | | |
82 | | |
75 | </div> | |
76 | </div> | |
84 | | |
78 | <div id="template_main_block_end"></div> | |
79 | </div> | |
<%= render 'shared/fixed_footer' %> | ||
</body> |