##// END OF EJS Templates
Merged r16125....
Jean-Philippe Lang -
r15745:01ab1edebeaf
parent child
Show More
@@ -1,123 +1,123
1 1 <!DOCTYPE html>
2 2 <html lang="<%= current_language %>">
3 3 <head>
4 4 <meta charset="utf-8" />
5 5 <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
6 6 <title><%= html_title %></title>
7 7 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
8 8 <meta name="description" content="<%= Redmine::Info.app_name %>" />
9 9 <meta name="keywords" content="issue,bug,tracker" />
10 10 <%= csrf_meta_tag %>
11 11 <%= favicon %>
12 12 <%= stylesheet_link_tag 'jquery/jquery-ui-1.11.0', 'application', 'responsive', :media => 'all' %>
13 13 <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
14 14 <%= javascript_heads %>
15 15 <%= heads_for_theme %>
16 16 <%= call_hook :view_layouts_base_html_head %>
17 17 <!-- page specific tags -->
18 18 <%= yield :header_tags -%>
19 19 </head>
20 20 <body class="<%= body_css_classes %>">
21 21 <div id="wrapper">
22 22
23 23 <div class="flyout-menu js-flyout-menu">
24 24
25 25
26 26 <% if User.current.logged? || !Setting.login_required? %>
27 27 <div class="flyout-menu__search">
28 28 <%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
29 29 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
30 30 <%= label_tag 'flyout-search', '&#9906;'.html_safe, :class => 'search-magnifier search-magnifier--flyout' %>
31 31 <%= text_field_tag 'q', @question, :id => 'flyout-search', :class => 'small js-search-input', :placeholder => l(:label_search) %>
32 32 <% end %>
33 33 </div>
34 34 <% end %>
35 35
36 36 <% if User.current.logged? %>
37 37 <div class="flyout-menu__avatar <% if !Setting.gravatar_enabled? %>flyout-menu__avatar--no-avatar<% end %>">
38 38 <% if Setting.gravatar_enabled? %>
39 39 <%= link_to(avatar(User.current, :size => "80"), user_path(User.current)) %>
40 40 <% end %>
41 41 <%= link_to_user(User.current, :format => :username) %>
42 42 </div>
43 43 <% end %>
44 44
45 45 <% if display_main_menu?(@project) %>
46 46 <h3><%= l(:label_project) %></h3>
47 47 <span class="js-project-menu"></span>
48 48 <% end %>
49 49
50 50 <h3><%= l(:label_general) %></h3>
51 51 <span class="js-general-menu"></span>
52 52
53 53 <span class="js-sidebar flyout-menu__sidebar"></span>
54 54
55 55 <h3><%= l(:label_profile) %></h3>
56 56 <span class="js-profile-menu"></span>
57 57
58 58 </div>
59 59
60 60 <div id="wrapper2">
61 61 <div id="wrapper3">
62 62 <div id="top-menu">
63 63 <div id="account">
64 64 <%= render_menu :account_menu -%>
65 65 </div>
66 66 <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
67 67 <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
68 68 </div>
69 69
70 70 <div id="header">
71 71
72 72 <a href="#" class="mobile-toggle-button js-flyout-menu-toggle-button"></a>
73 73
74 74 <% if User.current.logged? || !Setting.login_required? %>
75 75 <div id="quick-search">
76 76 <%= form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
77 77 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
78 78 <label for='q'>
79 79 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
80 80 </label>
81 81 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
82 82 <% end %>
83 83 <%= render_project_jump_box %>
84 84 </div>
85 85 <% end %>
86 86
87 87 <h1><%= page_header_title %></h1>
88 88
89 89 <% if display_main_menu?(@project) %>
90 90 <div id="main-menu">
91 91 <%= render_main_menu(@project) %>
92 92 </div>
93 93 <% end %>
94 94 </div>
95 95
96 96 <div id="main" class="<%= sidebar_content? ? '' : 'nosidebar' %>">
97 97 <div id="sidebar">
98 98 <%= yield :sidebar %>
99 99 <%= view_layouts_base_sidebar_hook_response %>
100 100 </div>
101 101
102 102 <div id="content">
103 103 <%= render_flash_messages %>
104 104 <%= yield %>
105 105 <%= call_hook :view_layouts_base_content %>
106 106 <div style="clear:both;"></div>
107 107 </div>
108 108 </div>
109 109 </div>
110 110
111 111 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
112 112 <div id="ajax-modal" style="display:none;"></div>
113 113
114 114 <div id="footer">
115 115 <div class="bgl"><div class="bgr">
116 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2016 Jean-Philippe Lang
116 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2017 Jean-Philippe Lang
117 117 </div></div>
118 118 </div>
119 119 </div>
120 120 </div>
121 121 <%= call_hook :view_layouts_base_body_bottom %>
122 122 </body>
123 123 </html>
General Comments 0
You need to be logged in to leave comments. Login now