##// END OF EJS Templates
Updated footer....
Jean-Philippe Lang -
r8562:f8d9254b64be
parent child
Show More
@@ -1,87 +1,87
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
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">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3 <head>
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5 <title><%=h html_title %></title>
5 <title><%=h html_title %></title>
6 <meta name="description" content="<%= Redmine::Info.app_name %>" />
6 <meta name="description" content="<%= Redmine::Info.app_name %>" />
7 <meta name="keywords" content="issue,bug,tracker" />
7 <meta name="keywords" content="issue,bug,tracker" />
8 <%= csrf_meta_tag %>
8 <%= csrf_meta_tag %>
9 <%= favicon %>
9 <%= favicon %>
10 <%= stylesheet_link_tag 'application', :media => 'all' %>
10 <%= stylesheet_link_tag 'application', :media => 'all' %>
11 <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
11 <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
12 <%= javascript_heads %>
12 <%= javascript_heads %>
13 <%= heads_for_theme %>
13 <%= heads_for_theme %>
14 <!--[if IE 6]>
14 <!--[if IE 6]>
15 <style type="text/css">
15 <style type="text/css">
16 * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }
16 * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }
17 body {behavior: url(<%= stylesheet_path "csshover.htc" %>);}
17 body {behavior: url(<%= stylesheet_path "csshover.htc" %>);}
18 </style>
18 </style>
19 <![endif]-->
19 <![endif]-->
20 <%= call_hook :view_layouts_base_html_head %>
20 <%= call_hook :view_layouts_base_html_head %>
21 <!-- page specific tags -->
21 <!-- page specific tags -->
22 <%= yield :header_tags -%>
22 <%= yield :header_tags -%>
23 </head>
23 </head>
24 <body class="<%=h body_css_classes %>">
24 <body class="<%=h body_css_classes %>">
25 <div id="wrapper">
25 <div id="wrapper">
26 <div id="wrapper2">
26 <div id="wrapper2">
27 <div id="top-menu">
27 <div id="top-menu">
28 <div id="account">
28 <div id="account">
29 <%= render_menu :account_menu -%>
29 <%= render_menu :account_menu -%>
30 </div>
30 </div>
31 <%= content_tag(
31 <%= content_tag(
32 'div',
32 'div',
33 "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe,
33 "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe,
34 :id => 'loggedas') if User.current.logged? %>
34 :id => 'loggedas') if User.current.logged? %>
35 <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
35 <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
36 </div>
36 </div>
37
37
38 <div id="header">
38 <div id="header">
39 <% if User.current.logged? || !Setting.login_required? %>
39 <% if User.current.logged? || !Setting.login_required? %>
40 <div id="quick-search">
40 <div id="quick-search">
41 <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
41 <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
42 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
42 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
43 <label for='q'>
43 <label for='q'>
44 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
44 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
45 </label>
45 </label>
46 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
46 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
47 <% end %>
47 <% end %>
48 <%= render_project_jump_box %>
48 <%= render_project_jump_box %>
49 </div>
49 </div>
50 <% end %>
50 <% end %>
51
51
52 <h1><%= page_header_title %></h1>
52 <h1><%= page_header_title %></h1>
53
53
54 <% if display_main_menu?(@project) %>
54 <% if display_main_menu?(@project) %>
55 <div id="main-menu">
55 <div id="main-menu">
56 <%= render_main_menu(@project) %>
56 <%= render_main_menu(@project) %>
57 </div>
57 </div>
58 <% end %>
58 <% end %>
59 </div>
59 </div>
60
60
61 <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
61 <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
62 <div id="sidebar">
62 <div id="sidebar">
63 <%= yield :sidebar %>
63 <%= yield :sidebar %>
64 <%= call_hook :view_layouts_base_sidebar %>
64 <%= call_hook :view_layouts_base_sidebar %>
65 </div>
65 </div>
66
66
67 <div id="content">
67 <div id="content">
68 <%= render_flash_messages %>
68 <%= render_flash_messages %>
69 <%= yield %>
69 <%= yield %>
70 <%= call_hook :view_layouts_base_content %>
70 <%= call_hook :view_layouts_base_content %>
71 <div style="clear:both;"></div>
71 <div style="clear:both;"></div>
72 </div>
72 </div>
73 </div>
73 </div>
74
74
75 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
75 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
76 <div id="ajax-modal" style="display:none;"></div>
76 <div id="ajax-modal" style="display:none;"></div>
77
77
78 <div id="footer">
78 <div id="footer">
79 <div class="bgl"><div class="bgr">
79 <div class="bgl"><div class="bgr">
80 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2011 Jean-Philippe Lang
80 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2012 Jean-Philippe Lang
81 </div></div>
81 </div></div>
82 </div>
82 </div>
83 </div>
83 </div>
84 </div>
84 </div>
85 <%= call_hook :view_layouts_base_body_bottom %>
85 <%= call_hook :view_layouts_base_body_bottom %>
86 </body>
86 </body>
87 </html>
87 </html>
General Comments 0
You need to be logged in to leave comments. Login now