##// END OF EJS Templates
Footer update....
Jean-Philippe Lang -
r1121:15ed53cf17ff
parent child
Show More
@@ -1,75 +1,75
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 %>
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 <% if User.current.logged? %>
24 <% if User.current.logged? %>
25 <%=l(:label_logged_as)%> <%= User.current.login %> -
25 <%=l(:label_logged_as)%> <%= User.current.login %> -
26 <%= link_to l(:label_my_account), { :controller => 'my', :action => 'account' }, :class => 'myaccount' %>
26 <%= link_to l(:label_my_account), { :controller => 'my', :action => 'account' }, :class => 'myaccount' %>
27 <%= link_to_signout %>
27 <%= link_to_signout %>
28 <% else %>
28 <% else %>
29 <%= link_to_signin %>
29 <%= link_to_signin %>
30 <%= link_to(l(:label_register), { :controller => 'account',:action => 'register' }, :class => 'register') if Setting.self_registration? %>
30 <%= link_to(l(:label_register), { :controller => 'account',:action => 'register' }, :class => 'register') if Setting.self_registration? %>
31 <% end %>
31 <% end %>
32 </div>
32 </div>
33 <%= link_to l(:label_home), home_url, :class => 'home' %>
33 <%= link_to l(:label_home), home_url, :class => 'home' %>
34 <%= link_to l(:label_my_page), { :controller => 'my', :action => 'page'}, :class => 'mypage' if User.current.logged? %>
34 <%= link_to l(:label_my_page), { :controller => 'my', :action => 'page'}, :class => 'mypage' if User.current.logged? %>
35 <%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => 'projects' %>
35 <%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => 'projects' %>
36 <%= link_to l(:label_administration), { :controller => 'admin' }, :class => 'admin' if User.current.admin? %>
36 <%= link_to l(:label_administration), { :controller => 'admin' }, :class => 'admin' if User.current.admin? %>
37 <%= link_to l(:label_help), Redmine::Info.help_url, :class => 'help' %>
37 <%= link_to l(:label_help), Redmine::Info.help_url, :class => 'help' %>
38 </div>
38 </div>
39
39
40 <div id="header">
40 <div id="header">
41 <div id="quick-search">
41 <div id="quick-search">
42 <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
42 <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
43 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
43 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
44 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
44 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
45 <% end %>
45 <% end %>
46 <%= render :partial => 'layouts/project_selector' if User.current.memberships.any? %>
46 <%= render :partial => 'layouts/project_selector' if User.current.memberships.any? %>
47 </div>
47 </div>
48
48
49 <h1><%= h(@project ? @project.name : Setting.app_title) %></h1>
49 <h1><%= h(@project ? @project.name : Setting.app_title) %></h1>
50
50
51 <div id="main-menu">
51 <div id="main-menu">
52 <%= render_main_menu(@project) %>
52 <%= render_main_menu(@project) %>
53 </div>
53 </div>
54 </div>
54 </div>
55
55
56 <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
56 <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
57 <div id="sidebar">
57 <div id="sidebar">
58 <%= yield :sidebar %>
58 <%= yield :sidebar %>
59 </div>
59 </div>
60
60
61 <div id="content">
61 <div id="content">
62 <%= content_tag('div', flash[:error], :class => 'flash error') if flash[:error] %>
62 <%= content_tag('div', flash[:error], :class => 'flash error') if flash[:error] %>
63 <%= content_tag('div', flash[:notice], :class => 'flash notice') if flash[:notice] %>
63 <%= content_tag('div', flash[:notice], :class => 'flash notice') if flash[:notice] %>
64 <%= yield %>
64 <%= yield %>
65 </div>
65 </div>
66 </div>
66 </div>
67
67
68 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
68 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
69
69
70 <div id="footer">
70 <div id="footer">
71 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> <%= Redmine::VERSION %> &copy; 2006-2007 Jean-Philippe Lang
71 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> <%= Redmine::VERSION %> &copy; 2006-2008 Jean-Philippe Lang
72 </div>
72 </div>
73 </div>
73 </div>
74 </body>
74 </body>
75 </html>
75 </html>
General Comments 0
You need to be logged in to leave comments. Login now