2007-12-21 18:01:02 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2007-03-12 17:59:02 +00:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
2009-12-13 14:55:17 +00:00
|
|
|
<title><%=h html_title %></title>
|
2007-08-29 22:27:43 +00:00
|
|
|
<meta name="description" content="<%= Redmine::Info.app_name %>" />
|
2007-03-12 17:59:02 +00:00
|
|
|
<meta name="keywords" content="issue,bug,tracker" />
|
2010-07-29 14:58:33 +00:00
|
|
|
<%= favicon %>
|
2007-10-01 12:36:38 +00:00
|
|
|
<%= stylesheet_link_tag 'application', :media => 'all' %>
|
2010-08-19 16:57:44 +00:00
|
|
|
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
|
2008-09-10 00:14:38 +00:00
|
|
|
<%= javascript_include_tag :defaults %>
|
2010-12-22 21:37:07 +00:00
|
|
|
<%= heads_for_theme %>
|
2008-10-27 11:08:29 +00:00
|
|
|
<%= heads_for_wiki_formatter %>
|
2011-01-16 16:36:58 +00:00
|
|
|
<!--[if IE 6]>
|
2007-09-22 13:17:49 +00:00
|
|
|
<style type="text/css">
|
|
|
|
* html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }
|
|
|
|
body {behavior: url(<%= stylesheet_path "csshover.htc" %>);}
|
|
|
|
</style>
|
|
|
|
<![endif]-->
|
2008-09-05 10:31:06 +00:00
|
|
|
<%= call_hook :view_layouts_base_html_head %>
|
|
|
|
<!-- page specific tags -->
|
|
|
|
<%= yield :header_tags -%>
|
2007-03-12 17:59:02 +00:00
|
|
|
</head>
|
2010-08-04 01:17:45 +00:00
|
|
|
<body class="<%= body_css_classes %>">
|
2008-01-06 17:28:20 +00:00
|
|
|
<div id="wrapper">
|
2010-02-14 13:07:51 +00:00
|
|
|
<div id="wrapper2">
|
2007-09-22 13:17:49 +00:00
|
|
|
<div id="top-menu">
|
|
|
|
<div id="account">
|
2008-02-12 17:58:46 +00:00
|
|
|
<%= render_menu :account_menu -%>
|
2007-04-30 08:52:39 +00:00
|
|
|
</div>
|
2008-12-07 13:12:19 +00:00
|
|
|
<%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}", :id => 'loggedas') if User.current.logged? %>
|
2008-02-12 17:58:46 +00:00
|
|
|
<%= render_menu :top_menu -%>
|
2007-09-22 13:17:49 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="header">
|
|
|
|
<div id="quick-search">
|
|
|
|
<% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
|
2009-10-21 17:07:18 +00:00
|
|
|
<%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
|
2007-10-05 18:05:41 +00:00
|
|
|
<%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
|
|
|
|
<%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
|
2007-09-22 13:17:49 +00:00
|
|
|
<% end %>
|
2009-01-24 11:31:15 +00:00
|
|
|
<%= render_project_jump_box %>
|
2007-03-12 17:59:02 +00:00
|
|
|
</div>
|
2007-09-22 13:17:49 +00:00
|
|
|
|
2009-02-20 18:34:57 +00:00
|
|
|
<h1><%= page_header_title %></h1>
|
2007-09-22 13:17:49 +00:00
|
|
|
|
2010-03-04 06:01:05 +00:00
|
|
|
<% if display_main_menu?(@project) %>
|
2007-09-22 13:17:49 +00:00
|
|
|
<div id="main-menu">
|
2008-01-19 11:53:43 +00:00
|
|
|
<%= render_main_menu(@project) %>
|
2007-09-22 13:17:49 +00:00
|
|
|
</div>
|
2010-03-04 06:01:05 +00:00
|
|
|
<% end %>
|
2007-09-22 13:17:49 +00:00
|
|
|
</div>
|
2007-04-27 19:32:57 +00:00
|
|
|
|
2007-09-22 13:17:49 +00:00
|
|
|
<%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
|
|
|
|
<div id="sidebar">
|
|
|
|
<%= yield :sidebar %>
|
2009-02-10 01:24:32 +00:00
|
|
|
<%= call_hook :view_layouts_base_sidebar %>
|
2007-09-22 13:17:49 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="content">
|
2009-01-03 14:11:44 +00:00
|
|
|
<%= render_flash_messages %>
|
2007-09-22 13:17:49 +00:00
|
|
|
<%= yield %>
|
2009-02-10 01:24:32 +00:00
|
|
|
<%= call_hook :view_layouts_base_content %>
|
2009-03-28 12:13:58 +00:00
|
|
|
<div style="clear:both;"></div>
|
2007-09-22 13:17:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2007-03-12 17:59:02 +00:00
|
|
|
|
2007-09-22 13:17:49 +00:00
|
|
|
<div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
|
|
|
|
|
|
|
|
<div id="footer">
|
2010-02-14 13:07:51 +00:00
|
|
|
<div class="bgl"><div class="bgr">
|
2011-02-21 15:43:02 -08:00
|
|
|
<%= l(:text_powered_by, :link => link_to(Redmine::Info.app_name, Redmine::Info.url)) %>
|
2010-02-14 13:07:51 +00:00
|
|
|
</div></div>
|
|
|
|
</div>
|
2007-03-12 17:59:02 +00:00
|
|
|
</div>
|
2008-01-06 17:28:20 +00:00
|
|
|
</div>
|
2008-09-30 05:18:50 +00:00
|
|
|
<%= call_hook :view_layouts_base_body_bottom %>
|
2007-03-12 17:59:02 +00:00
|
|
|
</body>
|
2007-08-02 17:42:20 +00:00
|
|
|
</html>
|