2007-12-21 21:01:02 +03:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2007-03-12 20:59:02 +03:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
|
|
<head>
|
2007-09-08 00:52:45 +04:00
|
|
|
<title><%=h html_title %></title>
|
2007-03-12 20:59:02 +03:00
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
2007-08-30 02:27:43 +04:00
|
|
|
<meta name="description" content="<%= Redmine::Info.app_name %>" />
|
2007-03-12 20:59:02 +03:00
|
|
|
<meta name="keywords" content="issue,bug,tracker" />
|
2007-10-01 16:36:38 +04:00
|
|
|
<%= stylesheet_link_tag 'application', :media => 'all' %>
|
2008-09-10 04:14:38 +04:00
|
|
|
<%= javascript_include_tag :defaults %>
|
2008-10-27 14:08:29 +03:00
|
|
|
<%= heads_for_wiki_formatter %>
|
2007-09-22 17:17:49 +04:00
|
|
|
<!--[if IE]>
|
|
|
|
<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 14:31:06 +04:00
|
|
|
<%= call_hook :view_layouts_base_html_head %>
|
|
|
|
<!-- page specific tags -->
|
|
|
|
<%= yield :header_tags -%>
|
2007-03-12 20:59:02 +03:00
|
|
|
</head>
|
|
|
|
<body>
|
2008-01-06 20:28:20 +03:00
|
|
|
<div id="wrapper">
|
2007-09-22 17:17:49 +04:00
|
|
|
<div id="top-menu">
|
|
|
|
<div id="account">
|
2008-02-12 20:58:46 +03:00
|
|
|
<%= render_menu :account_menu -%>
|
2007-04-30 12:52:39 +04:00
|
|
|
</div>
|
2008-12-07 16:12:19 +03:00
|
|
|
<%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}", :id => 'loggedas') if User.current.logged? %>
|
2008-02-12 20:58:46 +03:00
|
|
|
<%= render_menu :top_menu -%>
|
2007-09-22 17:17:49 +04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="header">
|
|
|
|
<div id="quick-search">
|
|
|
|
<% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
|
2007-10-05 22:05:41 +04: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 17:17:49 +04:00
|
|
|
<% end %>
|
|
|
|
<%= render :partial => 'layouts/project_selector' if User.current.memberships.any? %>
|
2007-03-12 20:59:02 +03:00
|
|
|
</div>
|
2007-09-22 17:17:49 +04:00
|
|
|
|
2008-06-14 15:15:57 +04:00
|
|
|
<h1><%= h(@project && !@project.new_record? ? @project.name : Setting.app_title) %></h1>
|
2007-09-22 17:17:49 +04:00
|
|
|
|
|
|
|
<div id="main-menu">
|
2008-01-19 14:53:43 +03:00
|
|
|
<%= render_main_menu(@project) %>
|
2007-09-22 17:17:49 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
2007-04-27 23:32:57 +04:00
|
|
|
|
2007-09-22 17:17:49 +04:00
|
|
|
<%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
|
|
|
|
<div id="sidebar">
|
|
|
|
<%= yield :sidebar %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="content">
|
2009-01-03 17:11:44 +03:00
|
|
|
<%= render_flash_messages %>
|
2007-09-22 17:17:49 +04:00
|
|
|
<%= yield %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-09-22 17:17:49 +04:00
|
|
|
<div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
|
|
|
|
|
|
|
|
<div id="footer">
|
2008-03-10 01:24:38 +03:00
|
|
|
Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> © 2006-2008 Jean-Philippe Lang
|
2007-03-12 20:59:02 +03:00
|
|
|
</div>
|
2008-01-06 20:28:20 +03:00
|
|
|
</div>
|
2008-09-30 09:18:50 +04:00
|
|
|
<%= call_hook :view_layouts_base_body_bottom %>
|
2007-03-12 20:59:02 +03:00
|
|
|
</body>
|
2007-08-02 21:42:20 +04:00
|
|
|
</html>
|