slitaz-forge view labs/redmine/app/views/layouts/base.rhtml @ rev 5

Update labs theme
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 27 00:58:15 2011 +0100 (2011-01-27)
parents
children 7ed35ac1a4c3
line source
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">
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5 <title><%=h html_title %></title>
6 <meta name="description" content="<%= Redmine::Info.app_name %>" />
7 <meta name="keywords" content="slitaz,issue,bug,tracker" />
8 <%= favicon %>
9 <%= stylesheet_link_tag 'application', :media => 'all' %>
10 <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
11 <%= javascript_include_tag :defaults %>
12 <%= heads_for_theme %>
13 <%= heads_for_wiki_formatter %>
14 <!--[if IE]>
15 <style type="text/css">
16 * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }
17 body {behavior: url(<%= stylesheet_path "csshover.htc" %>);}
18 </style>
19 <![endif]-->
20 <%= call_hook :view_layouts_base_html_head %>
21 <!-- page specific tags -->
22 <%= yield :header_tags -%>
23 </head>
24 <body class="<%= body_css_classes %>">
25 <div id="wrapper">
26 <div id="wrapper2">
27 <div id="top-menu">
28 <div id="account">
29 <%= render_menu :account_menu -%>
30 </div>
31 <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}", :id => 'loggedas') if User.current.logged? %>
32 <%= render_menu :top_menu -%>
33 </div>
35 <div id="header">
36 <div id="quick-search">
37 <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
38 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
39 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
40 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
41 <% end %>
42 <%= render_project_jump_box %>
43 </div>
45 <!-- Header -->
46 <div id="header">
47 <!-- Logo -->
48 <a href="http://www.slitaz.org/"><img id="logo"
49 src="pics/website/logo.png"
50 title="www.slitaz.org" alt="www.slitaz.org" /></a>
51 <p id="titre">#!/page_header_title</p>
52 </div>
53 <h1><%= page_header_title %></h1>
55 <% if display_main_menu?(@project) %>
56 <div id="main-menu">
57 <%= render_main_menu(@project) %>
58 </div>
59 <% end %>
60 </div>
62 <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
63 <div id="sidebar">
64 <%= yield :sidebar %>
65 <%= call_hook :view_layouts_base_sidebar %>
66 </div>
68 <div id="content">
69 <%= render_flash_messages %>
70 <%= yield %>
71 <%= call_hook :view_layouts_base_content %>
72 <div style="clear:both;"></div>
73 </div>
74 </div>
76 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
79 <!-- Footer -->
80 <div id="footer">
81 <div class="right_box">
82 <h4>SliTaz Network</h4>
83 <ul>
84 <li><a href="http://doc.slitaz.org/">Documentation</a></li>
85 <li><a href="http://forum.slitaz.org/">Support Forum</a></li>
86 <li><a href="http://scn.slitaz.org/">Community Network</a></li>
87 <li><a href="http://labs.slitaz.org/">Laboratories</a></li>
88 <li><a href="http://twitter.com/slitaz">SliTaz on Twitter</a></li>
89 <li><a href="http://distrowatch.com/slitaz">SliTaz on DistroWatch</a></li>
90 </ul>
91 </div>
92 <h4>SliTaz Website</h4>
93 <ul>
94 <li><a href="#header">Top of the page</a></li>
95 <li>Copyright &copy; <span class="year"></span>
96 <a href="http://www.slitaz.org/">SliTaz</a></li>
97 <li><a href="about/">About the project</a></li>
98 <li><a href="netmap.php">Network Map</a></li>
99 <li>Page modified the <?php echo (date( "d M Y", getlastmod())); ?></li>
100 <li><a href="http://validator.w3.org/check?uri=referer"><img
101 src="pics/website/xhtml10.png" alt="Valid XHTML 1.0"
102 title="Code validé XHTML 1.0"
103 style="width: 80px; height: 15px; vertical-align: middle;" /></a></li>
104 </ul>
105 </div>
108 </div>
109 </div>
110 <%= call_hook :view_layouts_base_body_bottom %>
111 </body>
112 </html>