slitaz-forge rev 5

Update labs theme
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 27 00:58:15 2011 +0100 (2011-01-27)
parents 39e6398915a2
children 7ed35ac1a4c3
files labs/redmine/app/views/layouts/base.rhtml labs/redmine/themes/slitaz-4.0/header-img.png labs/redmine/themes/slitaz-4.0/logo.png labs/redmine/themes/slitaz-4.0/stylesheets/application.css
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/labs/redmine/app/views/layouts/base.rhtml	Thu Jan 27 00:58:15 2011 +0100
     1.3 @@ -0,0 +1,112 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     1.5 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     1.6 +<head>
     1.7 +<meta http-equiv="content-type" content="text/html; charset=utf-8" />
     1.8 +<title><%=h html_title %></title>
     1.9 +<meta name="description" content="<%= Redmine::Info.app_name %>" />
    1.10 +<meta name="keywords" content="slitaz,issue,bug,tracker" />
    1.11 +<%= favicon %>
    1.12 +<%= stylesheet_link_tag 'application', :media => 'all' %>
    1.13 +<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
    1.14 +<%= javascript_include_tag :defaults %>
    1.15 +<%= heads_for_theme %>
    1.16 +<%= heads_for_wiki_formatter %>
    1.17 +<!--[if IE]>
    1.18 +    <style type="text/css">
    1.19 +      * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }
    1.20 +      body {behavior: url(<%= stylesheet_path "csshover.htc" %>);}
    1.21 +    </style>
    1.22 +<![endif]-->
    1.23 +<%= call_hook :view_layouts_base_html_head %>
    1.24 +<!-- page specific tags -->
    1.25 +<%= yield :header_tags -%>
    1.26 +</head>
    1.27 +<body class="<%= body_css_classes %>">
    1.28 +<div id="wrapper">
    1.29 +<div id="wrapper2">
    1.30 +<div id="top-menu">
    1.31 +    <div id="account">
    1.32 +        <%= render_menu :account_menu -%>
    1.33 +    </div>
    1.34 +    <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}", :id => 'loggedas') if User.current.logged? %>
    1.35 +    <%= render_menu :top_menu -%>
    1.36 +</div>
    1.37 +      
    1.38 +<div id="header">
    1.39 +    <div id="quick-search">
    1.40 +        <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
    1.41 +        <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
    1.42 +        <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
    1.43 +        <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
    1.44 +        <% end %>
    1.45 +        <%= render_project_jump_box %>
    1.46 +    </div>
    1.47 +    
    1.48 +    <!-- Header -->
    1.49 +<div id="header">
    1.50 +	<!-- Logo -->
    1.51 +	<a href="http://www.slitaz.org/"><img id="logo"
    1.52 +		src="pics/website/logo.png" 
    1.53 +		title="www.slitaz.org" alt="www.slitaz.org" /></a>
    1.54 +	<p id="titre">#!/page_header_title</p>
    1.55 +</div>
    1.56 +    <h1><%= page_header_title %></h1>
    1.57 +    
    1.58 +    <% if display_main_menu?(@project) %>
    1.59 +    <div id="main-menu">
    1.60 +        <%= render_main_menu(@project) %>
    1.61 +    </div>
    1.62 +    <% end %>
    1.63 +</div>
    1.64 +
    1.65 +<%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
    1.66 +    <div id="sidebar">        
    1.67 +        <%= yield :sidebar %>
    1.68 +        <%= call_hook :view_layouts_base_sidebar %>
    1.69 +    </div>
    1.70 +    
    1.71 +    <div id="content">
    1.72 +				<%= render_flash_messages %>
    1.73 +        <%= yield %>
    1.74 +        <%= call_hook :view_layouts_base_content %>
    1.75 +				<div style="clear:both;"></div>
    1.76 +    </div>
    1.77 +</div>
    1.78 +
    1.79 +<div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
    1.80 +	
    1.81 +
    1.82 +<!-- Footer -->
    1.83 +<div id="footer">
    1.84 +	<div class="right_box">
    1.85 +	<h4>SliTaz Network</h4>
    1.86 +		<ul>
    1.87 +			<li><a href="http://doc.slitaz.org/">Documentation</a></li>
    1.88 +			<li><a href="http://forum.slitaz.org/">Support Forum</a></li>
    1.89 +			<li><a href="http://scn.slitaz.org/">Community Network</a></li>
    1.90 +			<li><a href="http://labs.slitaz.org/">Laboratories</a></li>
    1.91 +			<li><a href="http://twitter.com/slitaz">SliTaz on Twitter</a></li>
    1.92 +			<li><a href="http://distrowatch.com/slitaz">SliTaz on DistroWatch</a></li>
    1.93 +		</ul>
    1.94 +	</div>
    1.95 +	<h4>SliTaz Website</h4>
    1.96 +	<ul>
    1.97 +		<li><a href="#header">Top of the page</a></li>
    1.98 +		<li>Copyright &copy; <span class="year"></span>
    1.99 +			<a href="http://www.slitaz.org/">SliTaz</a></li>
   1.100 +		<li><a href="about/">About the project</a></li>
   1.101 +		<li><a href="netmap.php">Network Map</a></li>
   1.102 +		<li>Page modified the <?php echo (date( "d M Y", getlastmod())); ?></li>
   1.103 +		<li><a href="http://validator.w3.org/check?uri=referer"><img
   1.104 +		src="pics/website/xhtml10.png" alt="Valid XHTML 1.0"
   1.105 +		title="Code validé XHTML 1.0"
   1.106 +		style="width: 80px; height: 15px; vertical-align: middle;" /></a></li>
   1.107 +	</ul>
   1.108 +</div>
   1.109 +
   1.110 +
   1.111 +</div>
   1.112 +</div>
   1.113 +<%= call_hook :view_layouts_base_body_bottom %>
   1.114 +</body>
   1.115 +</html>
     2.1 Binary file labs/redmine/themes/slitaz-4.0/header-img.png has changed
     3.1 Binary file labs/redmine/themes/slitaz-4.0/logo.png has changed
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/labs/redmine/themes/slitaz-4.0/stylesheets/application.css	Thu Jan 27 00:58:15 2011 +0100
     4.3 @@ -0,0 +1,176 @@
     4.4 +@import url(../../../stylesheets/application.css);
     4.5 +
     4.6 +body {
     4.7 +	background-color:#ffffff;
     4.8 +	border-top: 34px solid #f1f1f1;
     4.9 +}
    4.10 +
    4.11 +#wrapper {
    4.12 +	background-color: #eeeeee;
    4.13 +}
    4.14 +
    4.15 +#top-menu {
    4.16 +	position: absolute;
    4.17 +	top: 0;
    4.18 +	background: transparent;
    4.19 +	width: 100%;
    4.20 +	font-size: 11px;
    4.21 +	color: #000000;
    4.22 +}
    4.23 +#loggedas { color: #000000; }
    4.24 +#top-menu a {
    4.25 +	background: transparent;
    4.26 +	color: #0F314E;
    4.27 +	text-decoration: none;
    4.28 +}
    4.29 +#top-menu a:hover {
    4.30 +	color: #b64b22;
    4.31 +	text-decoration: none;
    4.32 +}
    4.33 +
    4.34 +#header {
    4.35 +	background: #351a0a url(../header-img.png) no-repeat top right;
    4.36 +	color: black;
    4.37 +	width: 100%;
    4.38 +	height: 42px;
    4.39 +	border-top: 1px solid black;
    4.40 +	border-bottom: 1px solid #999;
    4.41 +	margin-bottom: 33px;
    4.42 +}
    4.43 +#header h1 { 
    4.44 +	color: #f1f1f1;
    4.45 +}
    4.46 +
    4.47 +#main {
    4.48 +	background: white;
    4.49 +	margin: 0px 0px 0px 0px;
    4.50 +}
    4.51 +
    4.52 +#content {
    4.53 +	background: #fff;
    4.54 +	border: 0px;
    4.55 +	margin: 0px 20px 0px 20px;
    4.56 +	overflow: auto;
    4.57 +}
    4.58 +
    4.59 +/* Footer */
    4.60 +
    4.61 +#footer {
    4.62 +	margin: 0px 80px 80px 80px;
    4.63 +	padding: 10px;
    4.64 +	background: #eaeaea;
    4.65 +	color: #666666;
    4.66 +	height: 180px;
    4.67 +	clear: both;
    4.68 +	border: 0px solid #eaeaea;
    4.69 +	border-radius: 8px;
    4.70 +	-moz-border-radius: 8px;
    4.71 +	-webkit-border-radius: 8px;
    4.72 +	-moz-box-shadow: 0 1px 3px #666;
    4.73 +	-webkit-box-shadow: 0 1px 3px #666;
    4.74 +	box-shadow: 0 1px 3px #666;
    4.75 +}
    4.76 +#footer a { color: #666666; }
    4.77 +#footer a:hover { color: #333333; }
    4.78 +#footer ul { list-style-type: none; }
    4.79 +#footer li { padding: 2px; }
    4.80 +#footer h4 { margin: 0 20px; font-size: 125%; }
    4.81 +
    4.82 +/* Headers */
    4.83 +h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;}
    4.84 +
    4.85 +h2 {
    4.86 +    color: #DF8F06;
    4.87 +    border-left: 10px solid #F3F3F3;
    4.88 +    padding: 4px 0px 4px 4px;
    4.89 +    margin: 0px 0px 4px 0px;
    4.90 +}
    4.91 +
    4.92 +/* Menu */
    4.93 +#main-menu li a {
    4.94 +	font-size: 11px;
    4.95 +	font-weight: bold;
    4.96 +	color: #3E1220;
    4.97 +	background: inherit;
    4.98 +	padding: 0px 4px 6px 4px;
    4.99 +}
   4.100 +
   4.101 +#main-menu li a:hover {
   4.102 +	text-decoration: underline;
   4.103 +	color: #DF8F06;
   4.104 +	background-color: transparent;
   4.105 +	text-decoration: none;
   4.106 +}
   4.107 +
   4.108 +#main-menu li a.selected, #main-menu li a.selected:hover { background-color: transparent; }
   4.109 +
   4.110 +#sidebar{
   4.111 +	/* background-color: #eeeeee; */
   4.112 +	float: right;
   4.113 +	width: 16%;
   4.114 +	position: relative;
   4.115 +	z-index: 9;
   4.116 +	min-height: 580px;
   4.117 +	padding: 0px 0px 0px 10px;
   4.118 +	margin: 0;
   4.119 +	border-left: 1px dotted #d7d7d7;
   4.120 +}
   4.121 +
   4.122 +div.wiki { padding-right: 20px; }
   4.123 +div.contextual { padding-right: 20px; }
   4.124 +p.other-formats { padding-right: 20px; }
   4.125 +
   4.126 +/* Tables */
   4.127 +table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; }
   4.128 +table.list thead th {
   4.129 +    border-width: 1px;
   4.130 +    border-style: solid;
   4.131 +    border-top-color: #d7d7d7;
   4.132 +    border-right-color: #d7d7d7;
   4.133 +    border-left-color: #d7d7d7;
   4.134 +    border-bottom-color: #999999;
   4.135 +}
   4.136 +
   4.137 +/* Issues grid styles by priorities (provided by Wynn Netherland) */
   4.138 +table.list tr.issue a { color: #666; }
   4.139 +
   4.140 +tr.odd.priority-5, table.list tbody tr.odd.priority-5:hover { color: #900; font-weight: bold; }
   4.141 +tr.odd.priority-5 { background: #ffc4c4; }
   4.142 +tr.even.priority-5, table.list tbody tr.even.priority-5:hover { color: #900; font-weight: bold; }
   4.143 +tr.even.priority-5 { background: #ffd4d4; }
   4.144 +tr.priority-5 a, tr.priority-5:hover a { color: #900; }
   4.145 +tr.odd.priority-5 td, tr.even.priority-5 td { border-color: #ffb4b4; }
   4.146 +
   4.147 +tr.odd.priority-4, table.list tbody tr.odd.priority-4:hover { color: #900; }
   4.148 +tr.odd.priority-4 { background: #ffc4c4; }
   4.149 +tr.even.priority-4, table.list tbody tr.even.priority-4:hover { color: #900; }
   4.150 +tr.even.priority-4 { background: #ffd4d4; }
   4.151 +tr.priority-4 a { color: #900; }
   4.152 +tr.odd.priority-4 td, tr.even.priority-4 td { border-color: #ffb4b4; }
   4.153 +
   4.154 +tr.odd.priority-3, table.list tbody tr.odd.priority-3:hover { color: #900; }
   4.155 +tr.odd.priority-3 { background: #fee; }
   4.156 +tr.even.priority-3, table.list tbody tr.even.priority-3:hover { color: #900; }
   4.157 +tr.even.priority-3 { background: #fff2f2; }
   4.158 +tr.priority-3 a { color: #900; }
   4.159 +tr.odd.priority-3 td, tr.even.priority-3 td { border-color: #fcc; }
   4.160 +
   4.161 +tr.odd.priority-1, table.list tbody tr.odd.priority-1:hover { color: #559; }
   4.162 +tr.odd.priority-1 { background: #eaf7ff; }
   4.163 +tr.even.priority-1, table.list tbody tr.even.priority-1:hover { color: #559; }
   4.164 +tr.even.priority-1 { background: #f2faff; }
   4.165 +tr.priority-1 a { color: #559; }
   4.166 +tr.odd.priority-1 td, tr.even.priority-1 td { border-color: #add7f3; }
   4.167 +
   4.168 +/* Buttons */
   4.169 +input[type="button"], input[type="submit"], input[type="reset"] { background-color: #f2f2f2; color: #222222; border: 1px outset #cccccc; }
   4.170 +input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { background-color: #ccccbb; }
   4.171 +
   4.172 +/* Fields */
   4.173 +input[type="text"], textarea, select { padding: 2px; border: 1px solid #d7d7d7; }
   4.174 +input[type="text"] { padding: 3px; }
   4.175 +input[type="text"]:focus, textarea:focus, select:focus { border: 1px solid #888866; }
   4.176 +option { border-bottom: 1px dotted #d7d7d7; }
   4.177 +
   4.178 +/* Misc */
   4.179 +.box { background-color: #fcfcfc; }