slitaz-forge diff tank/web/index.php @ rev 48
Removed old vanilla file and add BBpress theme
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 06 02:14:22 2011 +0200 (2011-04-06) |
parents | b8119a69e3ba |
children | 30a72bea782e |
line diff
1.1 --- a/tank/web/index.php Sat Feb 26 17:42:16 2011 +0000 1.2 +++ b/tank/web/index.php Wed Apr 06 02:14:22 2011 +0200 1.3 @@ -14,60 +14,57 @@ 1.4 1.5 <!-- Header --> 1.6 <div id="header"> 1.7 - <a href="http://tank.slitaz.org/"><img id="logo" 1.8 - src="pics/website/logo.png" 1.9 - title="tank.slitaz.org" alt="tank.slitaz.org" /></a> 1.10 - <p id="titre">#!/Tank</p> 1.11 + <div id="logo"></div> 1.12 + <div id="network"> 1.13 + <a href="http://www.slitaz.org/"> 1.14 + <img src="images/network.png" alt="network.png" /></a> 1.15 + <a href="http://scn.slitaz.org/">Community</a> 1.16 + <a href="http://doc.slitaz.org/">Doc</a> 1.17 + <a href="http://forum.slitaz.org/">Forum</a> 1.18 + <a href="http://labs.slitaz.org/issues">Bugs</a> 1.19 + <a href="http://hg.slitaz.org/">Hg</a> 1.20 + </div> 1.21 + <h1><a href="http://www.slitaz.org/">SliTaz Tank</a></h1> 1.22 +</div> 1.23 + 1.24 +<!-- Block --> 1.25 +<div id="block"> 1.26 + <!-- Navigation --> 1.27 + <div id="block_nav"> 1.28 + <h4><img src="images/development.png" alt="development.png" />Developers Corner</h4> 1.29 + <ul> 1.30 + <li><a href="http://www.slitaz.org/en/devel/">Website devel</a></li> 1.31 + <li><a href="http://scn.slitaz.org/">Community</a></li> 1.32 + <li><a href="http://labs.slitaz.org/">Laboratories</a></li> 1.33 + <li><a href="http://hg.slitaz.org/">Mercurial Repos</a></li> 1.34 + <li><a href="http://bb.slitaz.org/">Build Bot</a></li> 1.35 + <li><a href="http://tank.slitaz.org/">Tank Server</a></li> 1.36 + </ul> 1.37 + </div> 1.38 + <!-- Information/image --> 1.39 + <div id="block_info"> 1.40 + <h4>Codename: tank</h4> 1.41 + <p> 1.42 + This is the SliTaz GNU/Linux main server and build host. 1.43 + The server runs naturally SliTaz and provides some services 1.44 + to all contributors such as: secure access, disk space, a 1.45 + public directory or cron jobs. 1.46 + </p> 1.47 + <p> 1.48 + Tank CPU is a AMD Dual Core 2 GHz - 2GB RAM - Located next to Lausanne, 1.49 + Switzerland. Tank is also monitored by RRDtool which provides 1.50 + <a href="graphs.php">graphical stats</a>. 1.51 + </p> 1.52 + </div> 1.53 </div> 1.54 1.55 <!-- Content --> 1.56 -<div id="content-full"> 1.57 - 1.58 -<!-- Block begin --> 1.59 -<div class="block"> 1.60 - <!-- Nav block begin --> 1.61 - <div id="block_nav"> 1.62 - <h3><img src="pics/website/development.png" alt="png" />Devel corner</h3> 1.63 - <ul> 1.64 - <li><a href="http://www.slitaz.org/en/devel/">Website/devel</a></li> 1.65 - <li><a href="http://labs.slitaz.org/">Laboratories</a></li> 1.66 - <li><a href="http://hg.slitaz.org/">Mercurial Repos</a></li> 1.67 - <li><a href="http://bb.slitaz.org/">Build Bot</a></li> 1.68 - <li><a href="http://scn.slitaz.org/">Community Network</a></li> 1.69 - <li><a href="http://people.slitaz.org/">SliTaz People</a></li> 1.70 - </ul> 1.71 - <!-- Nav block end --> 1.72 - </div> 1.73 - <!-- Top block begin --> 1.74 - <div id="block_top"> 1.75 - <h1>Codename: tank</h1> 1.76 - <p> 1.77 - This is the SliTaz GNU/Linux main server and build host. The server runs 1.78 - naturally SliTaz (stable) and provides some services to all contributors 1.79 - such as: secure access, disk space, a public directory, cron jobs and the 1.80 - <a href="http://bb.slitaz.org/">Build Bot</a>. 1.81 - </p> 1.82 - <p> 1.83 - Tank CPU is a <?php system("sed -e '/^model name/!d;s/.*Intel(R) //;" . 1.84 - "s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //' </proc/cpuinfo |" . 1.85 - " awk '{ s=$0; n++ } END { if (n == 2) printf \"dual \";" . 1.86 - "if (n == 4) printf \"quad \"; print s }' ")?> - 1.87 - <?php system("free | awk '/Mem:/ { x=2*$2-1; while (x >= 1024) { x /= 1024; ". 1.88 - "n++ }; y=1; while (x > 2) { x /= 2; y *= 2}; ". 1.89 - "printf \"%d%cB RAM\",y,substr(\"MG\",n,1) }' ")?> - Located next to Lausanne, 1.90 - Switzerland and offered by Thomas Hinterberger and hosted by Christophe 1.91 - Lincoln. Tank is also monitored by RRDtool which provides 1.92 - <a href="graphs.php">graphical stats</a>. 1.93 - </p> 1.94 - <!-- Top block end --> 1.95 - </div> 1.96 -<!-- Block end --> 1.97 -</div> 1.98 +<div id="content"> 1.99 1.100 <h2><a href="graphs.php"><img 1.101 style="vertical-align: middle; padding: 0 4px 0 0;" 1.102 title="Tank RRDtool graphs" alt="graphs" 1.103 - src="pics/website/monitor.png" /></a>System stats</h2> 1.104 + src="images/monitor.png" /></a>System stats</h2> 1.105 1.106 <h4>Uptime</h4> 1.107 1.108 @@ -78,7 +75,6 @@ 1.109 </pre> 1.110 1.111 <h4>Disk usage</h4> 1.112 - 1.113 <pre class="package"> 1.114 <?php 1.115 system("df -h | sed '/^rootfs/d' | grep '\(^/dev\|Filesystem\)'"); 1.116 @@ -95,7 +91,7 @@ 1.117 <h2><a href="/stats/awstats.pl?config=www.slitaz.org"><img 1.118 style="vertical-align: middle; padding: 0 4px 0 0;" 1.119 title="Tank Virtual hosts" alt="vhosts" 1.120 - src="pics/website/vhosts.png" /></a>Virtual hosts</h2> 1.121 + src="images/network.png" /></a>Virtual hosts</h2> 1.122 1.123 <ul> 1.124 <li><a href="http://www.slitaz.org/">www.slitaz.org</a> - SliTaz Website. 1.125 @@ -112,7 +108,7 @@ 1.126 <h2><img 1.127 style="vertical-align: middle; padding: 0 4px 0 0;" 1.128 title="Erjo Virtual hosts" alt="vhosts" 1.129 - src="pics/website/vhosts.png" />Other hosts</h2> 1.130 + src="images/network.png" />Other hosts</h2> 1.131 1.132 <p> 1.133 These services are hosted by some individual sponsors who gracefully offer 1.134 @@ -129,7 +125,7 @@ 1.135 1.136 <h2><a href="http://mirror.slitaz.org/info/"> <img 1.137 style="vertical-align: middle; padding: 0 4px 0 0;" 1.138 - src="pics/website/vhosts.png" 1.139 + src="images/network.png" 1.140 title="Secondary mirrors" alt="mirrors" /></a>Mirrors</h2> 1.141 <p> 1.142 These mirrors are updated using the url <b>rsync://mirror.slitaz.org/slitaz/</b> 1.143 @@ -165,30 +161,22 @@ 1.144 1.145 <!-- Footer --> 1.146 <div id="footer"> 1.147 - <div class="right_box"> 1.148 - <h4>SliTaz Network</h4> 1.149 - <ul> 1.150 - <li><a href="http://doc.slitaz.org/">Documentation</a></li> 1.151 - <li><a href="http://forum.slitaz.org/">Support Forum</a></li> 1.152 - <li><a href="http://scn.slitaz.org/">Community Network</a></li> 1.153 - <li><a href="http://labs.slitaz.org/">Laboratories</a></li> 1.154 - <li><a href="http://twitter.com/slitaz">SliTaz on Twitter</a></li> 1.155 - <li><a href="http://distrowatch.com/slitaz">SliTaz on DistroWatch</a></li> 1.156 - </ul> 1.157 - </div> 1.158 - <h4>SliTaz Website</h4> 1.159 - <ul> 1.160 - <li><a href="#header">Top of the page</a></li> 1.161 - <li>Copyright © <?php echo date('Y'); ?> 1.162 - <a href="http://www.slitaz.org/">SliTaz</a></li> 1.163 - <li><a href="http://www.slitaz.org/en/about/">About the project</a></li> 1.164 - <li><a href="http://www.slitaz.org/netmap.php">Network Map</a></li> 1.165 - <li>Page modified the <?php echo (date( "d M Y", getlastmod())); ?></li> 1.166 - <li><a href="http://validator.w3.org/check?uri=referer"><img 1.167 - src="pics/website/xhtml10.png" alt="Valid XHTML 1.0" 1.168 - title="Code validé XHTML 1.0" 1.169 - style="width: 80px; height: 15px; vertical-align: middle;" /></a></li> 1.170 - </ul> 1.171 + Copyright © <span class="year"></span> 1.172 + <a href="http://www.slitaz.org/">SliTaz</a> - Network: 1.173 + <a href="http://scn.slitaz.org/">Community</a> 1.174 + <a href="http://doc.slitaz.org/">Doc</a> 1.175 + <a href="http://forum.slitaz.org/">Forum</a> 1.176 + <a href="http://pkgs.slitaz.org/">Packages</a> 1.177 + <a href="http://labs.slitaz.org/issues">Bugs</a> 1.178 + <a href="http://hg.slitaz.org/">Hg</a> 1.179 + <p> 1.180 + SliTaz @ 1.181 + <a href="http://twitter.com/slitaz">Twitter</a> 1.182 + <a href="http://www.facebook.com/slitaz">Facebook</a> 1.183 + <a href="http://distrowatch.com/slitaz">Distrowatch</a> 1.184 + <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a> 1.185 + <a href="http://flattr.com/profile/slitaz">Flattr</a> 1.186 + </p> 1.187 </div> 1.188 1.189 </body>