@@ -1,65 +1,65 | |||||
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 | <title><%=h html_title %></title> |
|
4 | <title><%=h html_title %></title> | |
5 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
|
5 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
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 | <%= stylesheet_link_tag 'application', :media => 'all' %> |
|
8 | <%= stylesheet_link_tag 'application', :media => 'all' %> | |
9 | <%= javascript_include_tag :defaults %> |
|
9 | <%= javascript_include_tag :defaults, :cache => true %> | |
10 | <%= stylesheet_link_tag 'jstoolbar' %> |
|
10 | <%= stylesheet_link_tag 'jstoolbar' %> | |
11 | <!--[if IE]> |
|
11 | <!--[if IE]> | |
12 | <style type="text/css"> |
|
12 | <style type="text/css"> | |
13 | * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); } |
|
13 | * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); } | |
14 | body {behavior: url(<%= stylesheet_path "csshover.htc" %>);} |
|
14 | body {behavior: url(<%= stylesheet_path "csshover.htc" %>);} | |
15 | </style> |
|
15 | </style> | |
16 | <![endif]--> |
|
16 | <![endif]--> | |
17 |
|
17 | |||
18 | <!-- page specific tags --><%= yield :header_tags %> |
|
18 | <!-- page specific tags --><%= yield :header_tags %> | |
19 | </head> |
|
19 | </head> | |
20 | <body> |
|
20 | <body> | |
21 | <div id="wrapper"> |
|
21 | <div id="wrapper"> | |
22 | <div id="top-menu"> |
|
22 | <div id="top-menu"> | |
23 | <div id="account"> |
|
23 | <div id="account"> | |
24 | <%= render_menu :account_menu -%> |
|
24 | <%= render_menu :account_menu -%> | |
25 | </div> |
|
25 | </div> | |
26 | <%= content_tag('div', "#{l(:label_logged_as)} #{User.current.login}", :id => 'loggedas') if User.current.logged? %> |
|
26 | <%= content_tag('div', "#{l(:label_logged_as)} #{User.current.login}", :id => 'loggedas') if User.current.logged? %> | |
27 | <%= render_menu :top_menu -%> |
|
27 | <%= render_menu :top_menu -%> | |
28 | </div> |
|
28 | </div> | |
29 |
|
29 | |||
30 | <div id="header"> |
|
30 | <div id="header"> | |
31 | <div id="quick-search"> |
|
31 | <div id="quick-search"> | |
32 | <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %> |
|
32 | <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %> | |
33 | <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: |
|
33 | <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: | |
34 | <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %> |
|
34 | <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %> | |
35 | <% end %> |
|
35 | <% end %> | |
36 | <%= render :partial => 'layouts/project_selector' if User.current.memberships.any? %> |
|
36 | <%= render :partial => 'layouts/project_selector' if User.current.memberships.any? %> | |
37 | </div> |
|
37 | </div> | |
38 |
|
38 | |||
39 | <h1><%= h(@project && !@project.new_record? ? @project.name : Setting.app_title) %></h1> |
|
39 | <h1><%= h(@project && !@project.new_record? ? @project.name : Setting.app_title) %></h1> | |
40 |
|
40 | |||
41 | <div id="main-menu"> |
|
41 | <div id="main-menu"> | |
42 | <%= render_main_menu(@project) %> |
|
42 | <%= render_main_menu(@project) %> | |
43 | </div> |
|
43 | </div> | |
44 | </div> |
|
44 | </div> | |
45 |
|
45 | |||
46 | <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %> |
|
46 | <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %> | |
47 | <div id="sidebar"> |
|
47 | <div id="sidebar"> | |
48 | <%= yield :sidebar %> |
|
48 | <%= yield :sidebar %> | |
49 | </div> |
|
49 | </div> | |
50 |
|
50 | |||
51 | <div id="content"> |
|
51 | <div id="content"> | |
52 | <%= content_tag('div', flash[:error], :class => 'flash error') if flash[:error] %> |
|
52 | <%= content_tag('div', flash[:error], :class => 'flash error') if flash[:error] %> | |
53 | <%= content_tag('div', flash[:notice], :class => 'flash notice') if flash[:notice] %> |
|
53 | <%= content_tag('div', flash[:notice], :class => 'flash notice') if flash[:notice] %> | |
54 | <%= yield %> |
|
54 | <%= yield %> | |
55 | </div> |
|
55 | </div> | |
56 | </div> |
|
56 | </div> | |
57 |
|
57 | |||
58 | <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div> |
|
58 | <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div> | |
59 |
|
59 | |||
60 | <div id="footer"> |
|
60 | <div id="footer"> | |
61 | Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> © 2006-2008 Jean-Philippe Lang |
|
61 | Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> © 2006-2008 Jean-Philippe Lang | |
62 | </div> |
|
62 | </div> | |
63 | </div> |
|
63 | </div> | |
64 | </body> |
|
64 | </body> | |
65 | </html> |
|
65 | </html> |
General Comments 0
You need to be logged in to leave comments.
Login now