slitaz-forge rev 3

Add slitaz-labs config & themes
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Dec 22 14:03:22 2010 +0100 (2010-12-22)
parents 2f1ea04fc17b
children 39e6398915a2
files forum/README labs/README labs/offline/images/header.png labs/offline/images/slitaz-80x15.png labs/offline/index.html labs/offline/robots.txt labs/offline/style.css labs/redmine/config/database.yml labs/redmine/config/email.yml labs/redmine/themes/slitaz-simple/header.png labs/redmine/themes/slitaz-simple/stylesheets/application.css labs/redmine/themes/slitaz/header.png labs/redmine/themes/slitaz/logo.png labs/redmine/themes/slitaz/stylesheets/application.css labs/system-config/apache/labs.slitaz.org.conf labs/system-config/apache/passenger.conf labs/system-config/apache/passenger.load labs/system-config/awstats/awstats.labs.slitaz.org.conf labs/system-config/logrotate.d/slitaz-labs
line diff
     1.1 --- a/forum/README	Wed Dec 22 10:41:18 2010 +0100
     1.2 +++ b/forum/README	Wed Dec 22 14:03:22 2010 +0100
     1.3 @@ -9,4 +9,12 @@
     1.4  * awstats 6.95 (optionnal)
     1.5  
     1.6  
     1.7 +Installation
     1.8 +------------
     1.9  
    1.10 +Install required system softwares (apache, mysql, php).
    1.11 +
    1.12 +Create a system user for the forum.
    1.13 +i.e: adduser slitaz
    1.14 +
    1.15 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/labs/README	Wed Dec 22 14:03:22 2010 +0100
     2.3 @@ -0,0 +1,12 @@
     2.4 +SliTaz #!/Labs
     2.5 +--------------------------------
     2.6 +
     2.7 +SliTaz Labs is powered by redmine.
     2.8 +Running on Debian 4.0 with:
     2.9 +
    2.10 +* Apache 2.23
    2.11 +* Php 5.2
    2.12 +* Mysql 5.0.32(with InnoDB enabled)
    2.13 +* Ruby 1.8.7
    2.14 +* passenger 2.1.5
    2.15 +* rake 2.3.5
     3.1 Binary file labs/offline/images/header.png has changed
     4.1 Binary file labs/offline/images/slitaz-80x15.png has changed
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/labs/offline/index.html	Wed Dec 22 14:03:22 2010 +0100
     5.3 @@ -0,0 +1,53 @@
     5.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     5.5 +    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     5.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
     5.7 +<head>
     5.8 +	<title>SliTaz - Labs</title>
     5.9 +	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
    5.10 +	<meta name="description" content="Slitaz labs" />
    5.11 +	<meta name="expires" content="never" />
    5.12 +	<meta name="modified" content="2010-06-12 13:00:00" />
    5.13 +	<meta name="publisher" content="www.slitaz.org" />
    5.14 +	<meta name="author" content="Christophe Lincoln"/>
    5.15 +	<link rel="stylesheet" type="text/css" href="style.css" />
    5.16 +</head>
    5.17 +<body bgcolor="#ffffff">
    5.18 +<!-- Header -->
    5.19 +<div id="header">
    5.20 +	<a name="top"></a>
    5.21 +	<h1>SliTaz GNU/Linux</h1>
    5.22 +</div>
    5.23 +
    5.24 +<!-- Content -->
    5.25 +<div id="content">
    5.26 +<h2><font color="#DF8F06">Offline labs</font></h2>
    5.27 +<p>
    5.28 +SliTaz Labs are offline for a while now due to hight CPU usage by
    5.29 +Redmine/ruby, we tried many things but the problem occure and helped
    5.30 +Tank crash. We are working on an stable solution and will try to be 
    5.31 +online as soon as possible, please bear with us.
    5.32 +</p>
    5.33 +<p>
    5.34 +For now please use the community website forum:
    5.35 +<a href="http://community.slitaz.org/forum">community.slitaz.org/forum</a>
    5.36 +</p>
    5.37 +<!-- End content -->
    5.38 +</div>
    5.39 +<hr />
    5.40 +<!-- Footer -->
    5.41 +<div align="center" id="footer">
    5.42 +<p>
    5.43 +<font size="-2">
    5.44 +    Copyright &copy; 2010 <a href="http://www.slitaz.org/">SliTaz</a>
    5.45 +</font>
    5.46 +</p>
    5.47 +<!-- Logos -->
    5.48 +</p>
    5.49 +<a href="http://www.slitaz.org/">
    5.50 +<img
    5.51 +    border="0" src="images/slitaz-80x15.png"
    5.52 +    alt="www.slitaz.org" title="Powered by SliTaz GNU/Linux"
    5.53 +    style="width: 80px; height: 15px;" /></a>
    5.54 +</div>
    5.55 +</body>
    5.56 +</html>
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/labs/offline/robots.txt	Wed Dec 22 14:03:22 2010 +0100
     6.3 @@ -0,0 +1,2 @@
     6.4 +User-agent: *
     6.5 +Disallow: /
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/labs/offline/style.css	Wed Dec 22 14:03:22 2010 +0100
     7.3 @@ -0,0 +1,57 @@
     7.4 +/* CSS style for SliTaz GNU/Linux generic xHTML files. */
     7.5 +body {
     7.6 +    font: 90% sans-serif, vernada, arial;
     7.7 +    margin: 0;
     7.8 +    }
     7.9 +/* Header */
    7.10 +#header{
    7.11 +    background: #f0ba08 url(images/header.png) repeat-x top;
    7.12 +    color: black;
    7.13 +    width: 100%;
    7.14 +    height: 50px ;
    7.15 +    border-top: 1px solid black;
    7.16 +    border-bottom: 1px solid black;
    7.17 +    }
    7.18 +#content {
    7.19 +	margin: 0px 50px 26px 50px;
    7.20 +	}
    7.21 +#footer {
    7.22 +	border-top: 1px solid black;
    7.23 +	}
    7.24 +a {
    7.25 +	text-decoration: underline;
    7.26 +	}
    7.27 +a:hover {
    7.28 +	text-decoration: none;
    7.29 +	}
    7.30 +h1 {
    7.31 +    margin: 10px 0px 0px 6px;
    7.32 +    }
    7.33 +h2 {
    7.34 +    margin: 12px 0;
    7.35 +    }
    7.36 +pre {
    7.37 +    padding: 5px;
    7.38 +    color: black;
    7.39 +    background: #e1e0b0;
    7.40 +    }
    7.41 +pre.script {
    7.42 +    padding: 10px;
    7.43 +    color: black;
    7.44 +    background: #e8e8e8;
    7.45 +    border: 1px inset #333333;
    7.46 +}
    7.47 +li {
    7.48 +    line-height: 1.4em;
    7.49 +    }
    7.50 +code {
    7.51 +    font-size: 100%;
    7.52 +    color: #669900;
    7.53 +    background: transparent;
    7.54 +    }
    7.55 +hr {
    7.56 +	color: white;
    7.57 +    background-color: white;
    7.58 +    height: 1px;
    7.59 +    border: 0;
    7.60 +	}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/labs/redmine/config/database.yml	Wed Dec 22 14:03:22 2010 +0100
     8.3 @@ -0,0 +1,16 @@
     8.4 +# MySQL (default setup).  Versions 4.1 and 5.0 are recommended.
     8.5 +#
     8.6 +# Get the fast C bindings:
     8.7 +#   gem install mysql
     8.8 +#   (on OS X: gem install mysql -- --include=/usr/local/lib)
     8.9 +# And be sure to use new-style password hashing:
    8.10 +#   http://dev.mysql.com/doc/refman/5.0/en/old-client.html
    8.11 +
    8.12 +production:
    8.13 +  adapter: mysql
    8.14 +  database: labs
    8.15 +  host: localhost
    8.16 +  username: slitaz
    8.17 +  password: ******
    8.18 +  encoding: utf8
    8.19 +
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/labs/redmine/config/email.yml	Wed Dec 22 14:03:22 2010 +0100
     9.3 @@ -0,0 +1,11 @@
     9.4 +# Outgoing email settings
     9.5 +
     9.6 +production:
     9.7 +  delivery_method: :smtp
     9.8 +  smtp_settings:
     9.9 +    address: localhost 
    9.10 +    port: 25
    9.11 +    domain: slitaz.org
    9.12 +#    authentication: :login
    9.13 +#    user_name: pankso@slitaz.org
    9.14 +#    passwor: ********
    10.1 Binary file labs/redmine/themes/slitaz-simple/header.png has changed
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/labs/redmine/themes/slitaz-simple/stylesheets/application.css	Wed Dec 22 14:03:22 2010 +0100
    11.3 @@ -0,0 +1,149 @@
    11.4 +@import url(../../../stylesheets/application.css);
    11.5 +
    11.6 +body {
    11.7 +	background-color:#222222;
    11.8 +}
    11.9 +
   11.10 +#wrapper {
   11.11 +	background-color: #eeeeee;
   11.12 +}
   11.13 +
   11.14 +#top-menu {
   11.15 +	background: #f0ba08 url(../header.png) repeat-x top;
   11.16 +	width: 100%;
   11.17 +	padding: 0px 2px 0px 2px;
   11.18 +	height: 50px;
   11.19 +	border-top: 1px solid black;
   11.20 +	border-bottom: 1px solid black;
   11.21 +	font-size: 12px;
   11.22 +}
   11.23 +#top-menu a:hover {
   11.24 +	background: inherit;
   11.25 +	color: #222222;
   11.26 +	text-decoration: none;
   11.27 +}
   11.28 +
   11.29 +#header {
   11.30 +	background: transparent;
   11.31 +	margin: -34px 0px 0px 0px;
   11.32 +	padding: 0px 8px 0px 6px;
   11.33 +}
   11.34 +#header h1 { 
   11.35 +	color: black;
   11.36 +}
   11.37 +
   11.38 +#main {
   11.39 +	background: white;
   11.40 +	margin: 0px 0px 0px 0px;
   11.41 +}
   11.42 +
   11.43 +#content {
   11.44 +	background: #fff;
   11.45 +	border: 0px;
   11.46 +	margin: 0px 20px 0px 20px;
   11.47 +	overflow: auto;
   11.48 +}
   11.49 +
   11.50 +#footer {
   11.51 +	background-color:#eeeeee;
   11.52 +	border: 0px;
   11.53 +}
   11.54 +
   11.55 +/* Headers */
   11.56 +h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;}
   11.57 +
   11.58 +h2 {
   11.59 +    color: #DF8F06;
   11.60 +    border-left: 10px solid #F3F3F3;
   11.61 +    padding: 4px 0px 4px 4px;
   11.62 +    margin: 0px 0px 4px 0px;
   11.63 +}
   11.64 +
   11.65 +/* Menu */
   11.66 +#main-menu li a {
   11.67 +	font-size: 12px;
   11.68 +	font-weight: bold;
   11.69 +	color: #3E1220;
   11.70 +	background: inherit;
   11.71 +	padding: 0px 4px 6px 4px;
   11.72 +}
   11.73 +
   11.74 +#main-menu li a:hover {
   11.75 +	text-decoration: underline;
   11.76 +	color: #DF8F06;
   11.77 +	background-color: transparent;
   11.78 +	text-decoration: none;
   11.79 +}
   11.80 +
   11.81 +#main-menu li a.selected, #main-menu li a.selected:hover { background-color: transparent; }
   11.82 +
   11.83 +#sidebar{
   11.84 +	/* background-color: #eeeeee; */
   11.85 +	float: right;
   11.86 +	width: 16%;
   11.87 +	position: relative;
   11.88 +	z-index: 9;
   11.89 +	min-height: 580px;
   11.90 +	padding: 0px 0px 0px 10px;
   11.91 +	margin: 0;
   11.92 +	border-left: 1px dotted #d7d7d7;
   11.93 +}
   11.94 +
   11.95 +div.wiki { padding-right: 20px; }
   11.96 +div.contextual { padding-right: 20px; }
   11.97 +p.other-formats { padding-right: 20px; }
   11.98 +
   11.99 +/* Tables */
  11.100 +table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; }
  11.101 +table.list thead th {
  11.102 +    border-width: 1px;
  11.103 +    border-style: solid;
  11.104 +    border-top-color: #d7d7d7;
  11.105 +    border-right-color: #d7d7d7;
  11.106 +    border-left-color: #d7d7d7;
  11.107 +    border-bottom-color: #999999;
  11.108 +}
  11.109 +
  11.110 +/* Issues grid styles by priorities (provided by Wynn Netherland) */
  11.111 +table.list tr.issue a { color: #666; }
  11.112 +
  11.113 +tr.odd.priority-5, table.list tbody tr.odd.priority-5:hover { color: #900; font-weight: bold; }
  11.114 +tr.odd.priority-5 { background: #ffc4c4; }
  11.115 +tr.even.priority-5, table.list tbody tr.even.priority-5:hover { color: #900; font-weight: bold; }
  11.116 +tr.even.priority-5 { background: #ffd4d4; }
  11.117 +tr.priority-5 a, tr.priority-5:hover a { color: #900; }
  11.118 +tr.odd.priority-5 td, tr.even.priority-5 td { border-color: #ffb4b4; }
  11.119 +
  11.120 +tr.odd.priority-4, table.list tbody tr.odd.priority-4:hover { color: #900; }
  11.121 +tr.odd.priority-4 { background: #ffc4c4; }
  11.122 +tr.even.priority-4, table.list tbody tr.even.priority-4:hover { color: #900; }
  11.123 +tr.even.priority-4 { background: #ffd4d4; }
  11.124 +tr.priority-4 a { color: #900; }
  11.125 +tr.odd.priority-4 td, tr.even.priority-4 td { border-color: #ffb4b4; }
  11.126 +
  11.127 +tr.odd.priority-3, table.list tbody tr.odd.priority-3:hover { color: #900; }
  11.128 +tr.odd.priority-3 { background: #fee; }
  11.129 +tr.even.priority-3, table.list tbody tr.even.priority-3:hover { color: #900; }
  11.130 +tr.even.priority-3 { background: #fff2f2; }
  11.131 +tr.priority-3 a { color: #900; }
  11.132 +tr.odd.priority-3 td, tr.even.priority-3 td { border-color: #fcc; }
  11.133 +
  11.134 +tr.odd.priority-1, table.list tbody tr.odd.priority-1:hover { color: #559; }
  11.135 +tr.odd.priority-1 { background: #eaf7ff; }
  11.136 +tr.even.priority-1, table.list tbody tr.even.priority-1:hover { color: #559; }
  11.137 +tr.even.priority-1 { background: #f2faff; }
  11.138 +tr.priority-1 a { color: #559; }
  11.139 +tr.odd.priority-1 td, tr.even.priority-1 td { border-color: #add7f3; }
  11.140 +
  11.141 +/* Buttons */
  11.142 +input[type="button"], input[type="submit"], input[type="reset"] { background-color: #f2f2f2; color: #222222; border: 1px outset #cccccc; }
  11.143 +input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { background-color: #ccccbb; }
  11.144 +
  11.145 +/* Fields */
  11.146 +input[type="text"], textarea, select { padding: 2px; border: 1px solid #d7d7d7; }
  11.147 +input[type="text"] { padding: 3px; }
  11.148 +input[type="text"]:focus, textarea:focus, select:focus { border: 1px solid #888866; }
  11.149 +option { border-bottom: 1px dotted #d7d7d7; }
  11.150 +
  11.151 +/* Misc */
  11.152 +.box { background-color: #fcfcfc; }
    12.1 Binary file labs/redmine/themes/slitaz/header.png has changed
    13.1 Binary file labs/redmine/themes/slitaz/logo.png has changed
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/labs/redmine/themes/slitaz/stylesheets/application.css	Wed Dec 22 14:03:22 2010 +0100
    14.3 @@ -0,0 +1,203 @@
    14.4 +@import url(../../../stylesheets/application.css);
    14.5 +
    14.6 +body {
    14.7 +	background-color:#222222;
    14.8 +}
    14.9 +
   14.10 +#wrapper {
   14.11 +	background-color: #eeeeee;
   14.12 +}
   14.13 +
   14.14 +/*
   14.15 +#top-menu {
   14.16 +	background: transparent;
   14.17 +	margin-top: -65px;
   14.18 +	padding: 0px 4px 0px 4px;
   14.19 +	font-size: 12px;
   14.20 +	color: #333333;
   14.21 +}
   14.22 +*/
   14.23 +
   14.24 +#top-menu {
   14.25 +	background: #3c3c3c;
   14.26 +	color: #fff;
   14.27 +	height:1.8em;
   14.28 +	font-size: 0.8em;
   14.29 +	padding: 2px 2px 0px 6px;
   14.30 +}
   14.31 +
   14.32 +#top-menu a {
   14.33 +	color: white;
   14.34 +	margin-right: 4px;
   14.35 +	font-weight: bold; 
   14.36 +	padding: 0px 2px 0px 2px;
   14.37 +}
   14.38 +#top-menu a:hover {
   14.39 +	background: inherit;
   14.40 +	color: #df6f06;
   14.41 +	text-decoration: none;
   14.42 +}
   14.43 +
   14.44 +#header{
   14.45 +	background: #f0ba08 url(../header.png) repeat-x top;
   14.46 +	color: black;
   14.47 +	width: 100%;
   14.48 +	height: 50px ;
   14.49 +	border-top: 1px solid black;
   14.50 +	border-bottom: 1px solid black;
   14.51 +	margin: 0px 0px 30px 0px;
   14.52 +	padding: 0;
   14.53 +}
   14.54 +
   14.55 +#titre{
   14.56 +	font-size: 20px;
   14.57 +	font-weight: bolder ;
   14.58 +	margin-left: 84px;
   14.59 +	margin-top: 0px;
   14.60 +	padding-top: 21px ;
   14.61 +}
   14.62 +
   14.63 +#logo {
   14.64 +	position: absolute;
   14.65 +	float: left;
   14.66 +	margin-left: 32px;
   14.67 +	margin-right: 20px;
   14.68 +	margin-top: 14px;
   14.69 +}
   14.70 +
   14.71 +#main {
   14.72 +	background: white;
   14.73 +	margin: 0px 0px 0px 0px;
   14.74 +}
   14.75 +
   14.76 +#content {
   14.77 +	background: #fff;
   14.78 +	border: 0px;
   14.79 +	margin: 0px 20px 0px 20px;
   14.80 +	overflow: auto;
   14.81 +}
   14.82 +
   14.83 +#footer {
   14.84 +	background-color:#eeeeee;
   14.85 +	border: 0px;
   14.86 +}
   14.87 +
   14.88 +/* Headers */
   14.89 +h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;}
   14.90 +
   14.91 +h2 {
   14.92 +    color: #DF8F06;
   14.93 +    border-left: 10px solid #F3F3F3;
   14.94 +    padding: 4px 0px 4px 4px;
   14.95 +    margin: 0px 0px 4px 0px;
   14.96 +}
   14.97 +
   14.98 +/* Menu */
   14.99 +#main-menu {
  14.100 +	position: absolute;
  14.101 +	top: 60px;
  14.102 +	margin-left: 0px;
  14.103 +}
  14.104 +
  14.105 +#main-menu li a {
  14.106 +	font-size: 12px;
  14.107 +	font-weight: bold;
  14.108 +	color: #3E1220;
  14.109 +	background: inherit;
  14.110 +	padding: 0px 4px 6px 4px;
  14.111 +}
  14.112 +
  14.113 +#main-menu li a:hover {
  14.114 +	text-decoration: underline;
  14.115 +	color: #DF8F06;
  14.116 +	background-color: transparent;
  14.117 +	text-decoration: none;
  14.118 +}
  14.119 +
  14.120 +#main-menu li a.selected, #main-menu li a.selected:hover { background-color: transparent; }
  14.121 +
  14.122 +#quick-search {
  14.123 +	position: absolute;
  14.124 +	top: 56px;
  14.125 +	right: 4px;
  14.126 +	color: black;
  14.127 +}
  14.128 +
  14.129 +#quick-search a {
  14.130 +	color: black;
  14.131 +}
  14.132 +
  14.133 +#quick-search a:hover {
  14.134 +	color: #DF8F06;
  14.135 +}
  14.136 +
  14.137 +#sidebar{
  14.138 +	/* background-color: #eeeeee; */
  14.139 +	float: right;
  14.140 +	width: 16%;
  14.141 +	position: relative;
  14.142 +	z-index: 9;
  14.143 +	min-height: 580px;
  14.144 +	padding: 0px 0px 0px 10px;
  14.145 +	margin: 0;
  14.146 +	border-left: 1px dotted #d7d7d7;
  14.147 +}
  14.148 +
  14.149 +div.wiki { padding-right: 20px; }
  14.150 +div.contextual { padding-right: 20px; }
  14.151 +p.other-formats { padding-right: 20px; }
  14.152 +
  14.153 +/* Tables */
  14.154 +table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; }
  14.155 +table.list thead th {
  14.156 +    border-width: 1px;
  14.157 +    border-style: solid;
  14.158 +    border-top-color: #d7d7d7;
  14.159 +    border-right-color: #d7d7d7;
  14.160 +    border-left-color: #d7d7d7;
  14.161 +    border-bottom-color: #999999;
  14.162 +}
  14.163 +
  14.164 +/* Issues grid styles by priorities (provided by Wynn Netherland) */
  14.165 +table.list tr.issue a { color: #666; }
  14.166 +
  14.167 +tr.odd.priority-5, table.list tbody tr.odd.priority-5:hover { color: #900; font-weight: bold; }
  14.168 +tr.odd.priority-5 { background: #ffc4c4; }
  14.169 +tr.even.priority-5, table.list tbody tr.even.priority-5:hover { color: #900; font-weight: bold; }
  14.170 +tr.even.priority-5 { background: #ffd4d4; }
  14.171 +tr.priority-5 a, tr.priority-5:hover a { color: #900; }
  14.172 +tr.odd.priority-5 td, tr.even.priority-5 td { border-color: #ffb4b4; }
  14.173 +
  14.174 +tr.odd.priority-4, table.list tbody tr.odd.priority-4:hover { color: #900; }
  14.175 +tr.odd.priority-4 { background: #ffc4c4; }
  14.176 +tr.even.priority-4, table.list tbody tr.even.priority-4:hover { color: #900; }
  14.177 +tr.even.priority-4 { background: #ffd4d4; }
  14.178 +tr.priority-4 a { color: #900; }
  14.179 +tr.odd.priority-4 td, tr.even.priority-4 td { border-color: #ffb4b4; }
  14.180 +
  14.181 +tr.odd.priority-3, table.list tbody tr.odd.priority-3:hover { color: #900; }
  14.182 +tr.odd.priority-3 { background: #fee; }
  14.183 +tr.even.priority-3, table.list tbody tr.even.priority-3:hover { color: #900; }
  14.184 +tr.even.priority-3 { background: #fff2f2; }
  14.185 +tr.priority-3 a { color: #900; }
  14.186 +tr.odd.priority-3 td, tr.even.priority-3 td { border-color: #fcc; }
  14.187 +
  14.188 +tr.odd.priority-1, table.list tbody tr.odd.priority-1:hover { color: #559; }
  14.189 +tr.odd.priority-1 { background: #eaf7ff; }
  14.190 +tr.even.priority-1, table.list tbody tr.even.priority-1:hover { color: #559; }
  14.191 +tr.even.priority-1 { background: #f2faff; }
  14.192 +tr.priority-1 a { color: #559; }
  14.193 +tr.odd.priority-1 td, tr.even.priority-1 td { border-color: #add7f3; }
  14.194 +
  14.195 +/* Buttons */
  14.196 +input[type="button"], input[type="submit"], input[type="reset"] { background-color: #f2f2f2; color: #222222; border: 1px outset #cccccc; }
  14.197 +input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { background-color: #ccccbb; }
  14.198 +
  14.199 +/* Fields */
  14.200 +input[type="text"], textarea, select { padding: 0px; border: 1px solid #d7d7d7; }
  14.201 +input[type="text"] { padding: 1px; }
  14.202 +input[type="text"]:focus, textarea:focus, select:focus { border: 1px solid #888866; }
  14.203 +option { border-bottom: 1px dotted #d7d7d7; }
  14.204 +
  14.205 +/* Misc */
  14.206 +.box { background-color: #fcfcfc; }
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/labs/system-config/apache/labs.slitaz.org.conf	Wed Dec 22 14:03:22 2010 +0100
    15.3 @@ -0,0 +1,17 @@
    15.4 +<VirtualHost *>
    15.5 +    ServerAdmin webmaster@forum.slitaz.org
    15.6 +    DocumentRoot /home/slitaz/www/labs/public
    15.7 +    ServerName labs.slitaz.org
    15.8 +    ErrorLog /home/slitaz/logs/labs-error_log
    15.9 +    CustomLog /home/slitaz/logs/labs-access_log combined
   15.10 +
   15.11 +
   15.12 +#PassengerUserSwitching off
   15.13 +#PassengerDefaultUser www-data
   15.14 +
   15.15 +   <Directory /home/slitaz/www/labs/public>
   15.16 +       	AllowOverride all
   15.17 +		Options -MultiViews FollowSymLinks
   15.18 +   </Directory>
   15.19 +</VirtualHost>
   15.20 +
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/labs/system-config/apache/passenger.conf	Wed Dec 22 14:03:22 2010 +0100
    16.3 @@ -0,0 +1,8 @@
    16.4 +<IfModule mod_passenger.c>
    16.5 +	PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15
    16.6 +	PassengerRuby /usr/bin/ruby
    16.7 +	PassengerUserSwitching off
    16.8 +	PassengerDefaultUser www-data
    16.9 +	PassengerUseGlobalQueue on
   16.10 +	PassengerRestartDir	/var/run/passenger
   16.11 +</IfModule>
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/labs/system-config/apache/passenger.load	Wed Dec 22 14:03:22 2010 +0100
    17.3 @@ -0,0 +1,1 @@
    17.4 +LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/ext/apache2/mod_passenger.so
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/labs/system-config/awstats/awstats.labs.slitaz.org.conf	Wed Dec 22 14:03:22 2010 +0100
    18.3 @@ -0,0 +1,240 @@
    18.4 +# AWSTATS CONFIGURE FILE 6.0
    18.5 +#-----------------------------------------------------------------------------
    18.6 +# Copy this file into awstats.www.mydomain.conf and edit this new config file
    18.7 +# to setup AWStats (See documentation in docs/ directory).
    18.8 +# The config file must be in /etc/awstats, /usr/local/etc/awstats or /etc (for
    18.9 +# Unix/Linux) or same directory than awstats.pl (Windows, Mac, Unix/Linux...)
   18.10 +# To include an environment variable in any parameter (AWStats will replace
   18.11 +# it with its value when reading it), follow the example:
   18.12 +# Parameter="__ENVNAME__"
   18.13 +# Note that environment variable AWSTATS_CURRENT_CONFIG is always defined with
   18.14 +# the config value in an AWStats running session and can be used like others.
   18.15 +#-----------------------------------------------------------------------------
   18.16 +# $Revision: 1.271 $ - $Author: eldy $ - $Date: 2004/01/25 15:35:11 $
   18.17 +
   18.18 +
   18.19 +
   18.20 +#-----------------------------------------------------------------------------
   18.21 +# MAIN SETUP SECTION (Required to make AWStats work)
   18.22 +#-----------------------------------------------------------------------------
   18.23 +LogFile="/home/slitaz/logs/labs-access_log"
   18.24 +LogType=W
   18.25 +LogFormat=1
   18.26 +LogSeparator=" "
   18.27 +SiteDomain="labs.slitaz.org"
   18.28 +HostAliases="localhost 127.0.0.1 REGEX[labs\.slitaz\.org$]"
   18.29 +DNSLookup=0
   18.30 +DirData="/var/db/awstats/labs.slitaz.org"
   18.31 +DirCgi="/cgi-bin"
   18.32 +DirIcons="/icon"
   18.33 +AllowToUpdateStatsFromBrowser=0
   18.34 +AllowFullYearView=1
   18.35 +
   18.36 +
   18.37 +#-----------------------------------------------------------------------------
   18.38 +# OPTIONAL SETUP SECTION (Not required but increase AWStats features)
   18.39 +#-----------------------------------------------------------------------------
   18.40 +EnableLockForUpdate=0
   18.41 +DNSStaticCacheFile="dnscache.txt"
   18.42 +DNSLastUpdateCacheFile="dnscachelastupdate.txt"
   18.43 +SkipDNSLookupFor=""
   18.44 +AllowAccessFromWebToAuthenticatedUsersOnly=0
   18.45 +AllowAccessFromWebToFollowingAuthenticatedUsers=""
   18.46 +AllowAccessFromWebToFollowingIPAddresses=""
   18.47 +CreateDirDataIfNotExists=0
   18.48 +BuildHistoryFormat=text
   18.49 +BuildReportFormat=html
   18.50 +SaveDatabaseFilesWithPermissionsForEveryone=0
   18.51 +PurgeLogFile=0
   18.52 +ArchiveLogRecords=0
   18.53 +KeepBackupOfHistoricFiles=0
   18.54 +DefaultFile="index.htm"
   18.55 +SkipHosts="81.80.143.121"
   18.56 +SkipUserAgents=""
   18.57 +SkipFiles=""
   18.58 +OnlyHosts=""
   18.59 +OnlyUserAgents=""
   18.60 +OnlyFiles=""
   18.61 +NotPageList="css js class gif jpg jpeg png bmp ico"
   18.62 +ValidHTTPCodes="200 304"
   18.63 +ValidSMTPCodes="1 250"
   18.64 +AuthenticatedUsersNotCaseSensitive=0
   18.65 +URLNotCaseSensitive=0
   18.66 +URLWithAnchor=0
   18.67 +URLQuerySeparators="?;"
   18.68 +URLWithQuery=0
   18.69 +URLWithQueryWithOnlyFollowingParameters=""
   18.70 +URLWithQueryWithoutFollowingParameters=""
   18.71 +URLReferrerWithQuery=0
   18.72 +WarningMessages=1
   18.73 +ErrorMessages=""
   18.74 +DebugMessages=1
   18.75 +NbOfLinesForCorruptedLog=50
   18.76 +WrapperScript=""
   18.77 +DecodeUA=0
   18.78 +MiscTrackerUrl="/js/awstats_misc_tracker.js"
   18.79 +
   18.80 +#-----------------------------------------------------------------------------
   18.81 +# OPTIONAL ACCURACY SETUP SECTION (Not required but increase AWStats features)
   18.82 +#-----------------------------------------------------------------------------
   18.83 +LevelForBrowsersDetection=2         # 0 disables Browsers detection.
   18.84 +                                    # 2 reduces AWStats speed by 2%
   18.85 +LevelForOSDetection=2               # 0 disables OS detection.
   18.86 +                                    # 2 reduces AWStats speed by 3%
   18.87 +LevelForRefererAnalyze=2            # 0 disables Origin detection.
   18.88 +                                    # 2 reduces AWStats speed by 14%
   18.89 +LevelForRobotsDetection=2           # 0 disables Robots detection.
   18.90 +                                    # 2 reduces AWStats speed by 2.5%
   18.91 +LevelForSearchEnginesDetection=2    # 0 disables Search engines detection.
   18.92 +                                    # 2 reduces AWStats speed by 9%
   18.93 +LevelForKeywordsDetection=2         # 0 disables Keyphrases/Keywords detection.
   18.94 +                                    # 2 reduces AWStats speed by 1%
   18.95 +LevelForFileTypesDetection=2        # 0 disables File types detection.
   18.96 +                                    # 2 reduces AWStats speed by 1%
   18.97 +LevelForWormsDetection=0            # 0 disables Worms detection.
   18.98 +                                    # 2 reduces AWStats speed by 15%
   18.99 +
  18.100 +
  18.101 +
  18.102 +#-----------------------------------------------------------------------------
  18.103 +# OPTIONAL APPEARANCE SETUP SECTION (Not required but increase AWStats features)
  18.104 +#-----------------------------------------------------------------------------
  18.105 +UseFramesWhenCGI=1
  18.106 +DetailedReportsOnNewWindows=1
  18.107 +Expires=0
  18.108 +MaxRowsInHTMLOutput=1000
  18.109 +Lang="auto"
  18.110 +DirLang="./lang"
  18.111 +ShowMenu=1					
  18.112 +ShowMonthStats=UVPHB
  18.113 +ShowDaysOfMonthStats=VPHB
  18.114 +ShowDaysOfWeekStats=PHB
  18.115 +ShowHoursStats=PHB
  18.116 +ShowDomainsStats=PHB
  18.117 +ShowHostsStats=PHBL
  18.118 +ShowAuthenticatedUsers=0
  18.119 +ShowRobotsStats=HBL
  18.120 +ShowWormsStats=0
  18.121 +ShowEMailSenders=0
  18.122 +ShowEMailReceivers=0
  18.123 +ShowSessionsStats=1
  18.124 +ShowPagesStats=PBEX
  18.125 +ShowFileTypesStats=HB
  18.126 +ShowFileSizesStats=0		
  18.127 +ShowOSStats=1
  18.128 +ShowBrowsersStats=1
  18.129 +ShowScreenSizeStats=0
  18.130 +ShowOriginStats=PH
  18.131 +ShowKeyphrasesStats=1
  18.132 +ShowKeywordsStats=1
  18.133 +ShowMiscStats=a
  18.134 +ShowHTTPErrorsStats=1
  18.135 +ShowSMTPErrorsStats=0
  18.136 +ShowClusterStats=0
  18.137 +
  18.138 +AddDataArrayMonthStats=1
  18.139 +AddDataArrayShowDaysOfMonthStats=1
  18.140 +AddDataArrayShowDaysOfWeekStats=1
  18.141 +AddDataArrayShowHoursStats=1
  18.142 +
  18.143 +MaxNbOfDomain = 10
  18.144 +MinHitDomain  = 1
  18.145 +MaxNbOfHostsShown = 10
  18.146 +MinHitHost    = 1
  18.147 +MaxNbOfLoginShown = 10
  18.148 +MinHitLogin   = 1
  18.149 +MaxNbOfRobotShown = 10
  18.150 +MinHitRobot   = 1
  18.151 +MaxNbOfPageShown = 10
  18.152 +MinHitFile    = 1
  18.153 +MaxNbOfOsShown = 10
  18.154 +MinHitOs      = 1
  18.155 +MaxNbOfBrowsersShown = 10
  18.156 +MinHitBrowser = 1
  18.157 +MaxNbOfScreenSizesShown = 5
  18.158 +MinHitScreenSize = 1
  18.159 +MaxNbOfRefererShown = 10
  18.160 +MinHitRefer   = 1
  18.161 +MaxNbOfKeyphrasesShown = 10
  18.162 +MinHitKeyphrase = 1
  18.163 +MaxNbOfKeywordsShown = 10
  18.164 +MinHitKeyword = 1
  18.165 +MaxNbOfEMailsShown = 20
  18.166 +MinHitEMail   = 1
  18.167 +FirstDayOfWeek=1
  18.168 +
  18.169 +ShowFlagLinks=""
  18.170 +ShowLinksOnUrl=1
  18.171 +UseHTTPSLinkForUrl=""
  18.172 +MaxLengthOfShownURL=64
  18.173 +HTMLHeadSection=""
  18.174 +HTMLEndSection=""
  18.175 +Logo="slitaz-logo.png"
  18.176 +LogoLink="http://forum.slita.org"
  18.177 +BarWidth   = 260
  18.178 +BarHeight  = 90
  18.179 +StyleSheet=""
  18.180 +color_Background="FFFFFF"		# Background color for main page (Default = "FFFFFF")
  18.181 +color_TableBGTitle="CCCCDD"		# Background color for table title (Default = "CCCCDD")
  18.182 +color_TableTitle="000000"		# Table title font color (Default = "000000")
  18.183 +color_TableBG="CCCCDD"			# Background color for table (Default = "CCCCDD")
  18.184 +color_TableRowTitle="FFFFFF"	# Table row title font color (Default = "FFFFFF")
  18.185 +color_TableBGRowTitle="ECECEC"	# Background color for row title (Default = "ECECEC")
  18.186 +color_TableBorder="ECECEC"		# Table border color (Default = "ECECEC")
  18.187 +color_text="000000"				# Color of text (Default = "000000")
  18.188 +color_textpercent="606060"		# Color of text for percent values (Default = "606060")
  18.189 +color_titletext="000000"		# Color of text title within colored Title Rows (Default = "000000")
  18.190 +color_weekend="EAEAEA"			# Color for week-end days (Default = "EAEAEA")
  18.191 +color_link="0011BB"				# Color of HTML links (Default = "0011BB")
  18.192 +color_hover="605040"			# Color of HTML on-mouseover links (Default = "605040") 
  18.193 +color_u="FFAA66"				# Background color for number of unique visitors (Default = "FFAA66")
  18.194 +color_v="F4F090"				# Background color for number of visites (Default = "F4F090")
  18.195 +color_p="4477DD"				# Background color for number of pages (Default = "4477DD")
  18.196 +color_h="66DDEE"				# Background color for number of hits (Default = "66DDEE")
  18.197 +color_k="2EA495"				# Background color for number of bytes (Default = "2EA495")
  18.198 +color_s="8888DD"				# Background color for number of search (Default = "8888DD")
  18.199 +color_e="CEC2E8"				# Background color for number of entry pages (Default = "CEC2E8")
  18.200 +color_x="C1B2E2"				# Background color for number of exit pages (Default = "C1B2E2")
  18.201 +
  18.202 +
  18.203 +
  18.204 +#-----------------------------------------------------------------------------
  18.205 +# PLUGINS
  18.206 +#-----------------------------------------------------------------------------
  18.207 +#LoadPlugin="tooltips"
  18.208 +#LoadPlugin="decodeutfkeys"
  18.209 +#LoadPlugin="ipv6"
  18.210 +#LoadPlugin="hashfiles"
  18.211 +LoadPlugin="geoipfree"
  18.212 +#LoadPlugin="geoip"
  18.213 +#LoadPlugin="userinfo"
  18.214 +#LoadPlugin="hostinfo"
  18.215 +#LoadPlugin="urlalias"
  18.216 +#LoadPlugin="timehires"		
  18.217 +#LoadPlugin="timezone +2"
  18.218 +#LoadPlugin="rawlog"
  18.219 +#LoadPlugin="graphapplet /awstatsclasses"				# EXPERIMENTAL FEATURE
  18.220 +
  18.221 +
  18.222 +
  18.223 +#-----------------------------------------------------------------------------
  18.224 +# EXTRA SECTIONS
  18.225 +#-----------------------------------------------------------------------------
  18.226 +#ExtraSectionName1="Product orders"
  18.227 +#ExtraSectionCondition1="URL,\/cgi\-bin\/order\.cgi|URL,\/cgi\-bin\/order2\.cgi"
  18.228 +#ExtraSectionFirstColumnTitle1="Product ID"
  18.229 +#ExtraSectionFirstColumnValues1="QUERY_STRING,productid=([^&]+)"
  18.230 +#ExtraSectionFirstColumnFormat1="%s"
  18.231 +#ExtraSectionStatTypes1=PL
  18.232 +#ExtraSectionAddAverageRow1=0
  18.233 +#ExtraSectionAddSumRow1=1
  18.234 +#MaxNbOfExtra1=20
  18.235 +#MinHitExtra1=1
  18.236 +
  18.237 +
  18.238 +
  18.239 +#-----------------------------------------------------------------------------
  18.240 +# INCLUDES
  18.241 +#-----------------------------------------------------------------------------
  18.242 +#Include ""
  18.243 +
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/labs/system-config/logrotate.d/slitaz-labs	Wed Dec 22 14:03:22 2010 +0100
    19.3 @@ -0,0 +1,21 @@
    19.4 +/home/slitaz/logs/labs-access_log {
    19.5 +    missingok
    19.6 +    daily
    19.7 +    rotate 5
    19.8 +#    prerotate
    19.9 +#        /usr/local/bin/awsupdate labs.slitaz.org 
   19.10 +#    endscript
   19.11 +    postrotate
   19.12 +        /usr/bin/killall -HUP apache2 2> /dev/null || true
   19.13 +    endscript
   19.14 +}
   19.15 +
   19.16 +/home/slitaz/logs/labs-error_log {
   19.17 +    missingok
   19.18 +    daily
   19.19 +    rotate 5
   19.20 +    postrotate
   19.21 +        /usr/bin/killall -HUP apache2 2> /dev/null || true
   19.22 +    endscript
   19.23 +}
   19.24 +