Mercurial > hg > soundsoftware-site
comparison app/views/layouts/.svn/text-base/base.rhtml.svn-base @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children | 1d32c0a0efbf |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:513646585e45 |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
3 <head> | |
4 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
5 <title><%=h html_title %></title> | |
6 <meta name="description" content="<%= Redmine::Info.app_name %>" /> | |
7 <meta name="keywords" content="issue,bug,tracker" /> | |
8 <%= stylesheet_link_tag 'application', :media => 'all' %> | |
9 <%= javascript_include_tag :defaults %> | |
10 <%= heads_for_wiki_formatter %> | |
11 <!--[if IE]> | |
12 <style type="text/css"> | |
13 * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); } | |
14 body {behavior: url(<%= stylesheet_path "csshover.htc" %>);} | |
15 </style> | |
16 <![endif]--> | |
17 <%= call_hook :view_layouts_base_html_head %> | |
18 <!-- page specific tags --> | |
19 <%= yield :header_tags -%> | |
20 </head> | |
21 <body> | |
22 <div id="wrapper"> | |
23 <div id="wrapper2"> | |
24 <div id="top-menu"> | |
25 <div id="account"> | |
26 <%= render_menu :account_menu -%> | |
27 </div> | |
28 <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}", :id => 'loggedas') if User.current.logged? %> | |
29 <%= render_menu :top_menu -%> | |
30 </div> | |
31 | |
32 <div id="header"> | |
33 <div id="quick-search"> | |
34 <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %> | |
35 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %> | |
36 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: | |
37 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %> | |
38 <% end %> | |
39 <%= render_project_jump_box %> | |
40 </div> | |
41 | |
42 <h1><%= page_header_title %></h1> | |
43 | |
44 <% if display_main_menu?(@project) %> | |
45 <div id="main-menu"> | |
46 <%= render_main_menu(@project) %> | |
47 </div> | |
48 <% end %> | |
49 </div> | |
50 | |
51 <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %> | |
52 <div id="sidebar"> | |
53 <%= yield :sidebar %> | |
54 <%= call_hook :view_layouts_base_sidebar %> | |
55 </div> | |
56 | |
57 <div id="content"> | |
58 <%= render_flash_messages %> | |
59 <%= yield %> | |
60 <%= call_hook :view_layouts_base_content %> | |
61 <div style="clear:both;"></div> | |
62 </div> | |
63 </div> | |
64 | |
65 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div> | |
66 | |
67 <div id="footer"> | |
68 <div class="bgl"><div class="bgr"> | |
69 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> © 2006-2010 Jean-Philippe Lang | |
70 </div></div> | |
71 </div> | |
72 </div> | |
73 </div> | |
74 <%= call_hook :view_layouts_base_body_bottom %> | |
75 </body> | |
76 </html> |