[PC-BSD Commits] r2283 - in websites/bsdstats.org/bsdstats: bin lib tpl/bsdstats tpl/css
svn at pcbsd.org
svn at pcbsd.org
Sun Jul 6 09:34:48 PDT 2008
Author: fabry
Date: 2008-07-06 09:34:47 -0700 (Sun, 06 Jul 2008)
New Revision: 2283
Modified:
websites/bsdstats.org/bsdstats/bin/start.php
websites/bsdstats.org/bsdstats/lib/bsdstats.php
websites/bsdstats.org/bsdstats/tpl/bsdstats/country.php
websites/bsdstats.org/bsdstats/tpl/bsdstats/header.php
websites/bsdstats.org/bsdstats/tpl/bsdstats/home.php
websites/bsdstats.org/bsdstats/tpl/bsdstats/menu.php
websites/bsdstats.org/bsdstats/tpl/css/bsdstats.css
Log:
showing stats per OS. still have to modify previously created page, but the country stats are finished.
Modified: websites/bsdstats.org/bsdstats/bin/start.php
===================================================================
--- websites/bsdstats.org/bsdstats/bin/start.php 2008-07-05 23:53:01 UTC (rev 2282)
+++ websites/bsdstats.org/bsdstats/bin/start.php 2008-07-06 16:34:47 UTC (rev 2283)
@@ -13,17 +13,26 @@
parent::__construct();
//assigning common links
- $this->display->assign('instructions_uri',$this->uri->create_uri(array(TASK_KEY=>'instructions')));
- $this->display->assign('countries_uri',$this->uri->create_uri(array(TASK_KEY=>'countries')));
- $this->display->assign('cpus_uri',$this->uri->create_uri(array(TASK_KEY=>'cpus')));
- $this->display->assign('drivers_uri',$this->uri->create_uri(array(TASK_KEY=>'drivers')));
+ $this->display->assign('current_os',$this->uri->get('os',''));
+ $url = array();
+ if($this->uri->get('os','')!=''){
+ $url['os'] = $this->uri->get('os','');
+ }
+ $this->display->assign('home_uri',$this->uri->create_uri($url));
+ $this->display->assign('instructions_uri',$this->uri->create_uri(array_merge(array(TASK_KEY=>'instructions'),$url)));
+ $this->display->assign('countries_uri',$this->uri->create_uri(array_merge(array(TASK_KEY=>'countries'),$url)));
+ $this->display->assign('cpus_uri',$this->uri->create_uri(array_merge(array(TASK_KEY=>'cpus'),$url)));
+ $this->display->assign('drivers_uri',$this->uri->create_uri(array_merge(array(TASK_KEY=>'drivers'),$url)));
$task = $this->uri->get(TASK_KEY, '');
if(!(method_exists($this,'web_'.$task) && is_callable(array($this,'web_'.$task)))){
$task = 'home';
}
+
+ $this->display->assign('current_task_uri',$this->uri->create_uri(array(TASK_KEY=>$task)));
+
$this->display->assign('task',$task);
$this->{'web_'.$task}();
}
@@ -39,7 +48,7 @@
$this->display->assign('top_os', $tmp['os_summary']);
$this->display->assign('total', $tmp['total']);
- $this->display->assign('title', 'Home');
+ $this->display->assign('title', 'Home '.$this->uri->get('os',''));
$this->display('home');
}
Modified: websites/bsdstats.org/bsdstats/lib/bsdstats.php
===================================================================
--- websites/bsdstats.org/bsdstats/lib/bsdstats.php 2008-07-05 23:53:01 UTC (rev 2282)
+++ websites/bsdstats.org/bsdstats/lib/bsdstats.php 2008-07-06 16:34:47 UTC (rev 2283)
@@ -1,20 +1,26 @@
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
class bsdstats extends bibivu{
+ private $current_os = '';
public function __construct(){
parent::__construct();
+ $this->current_os = load_class('uri')->get('os','');
}
- public function get_list_os(){
- //maybe have a table with those information in it?
- $return = load_class('cache')->get('list_os');
- if($return==false){
- $tmps = $this->db->query("SELECT DISTINCT operating_system FROM list_systems ORDER BY operating_system;");
- $return = array();
- while($tmp = $this->db->fetch_array($tmps)){
- $return[] = $tmp['operating_system'];
+ public function get_list_os($all=false){
+ if($all==false && $this->current_os!=''){
+ $return = array($this->current_os);
+ } else {
+ //maybe have a table with those information in it?
+ $return = load_class('cache')->get('list_os');
+ if($return==false){
+ $tmps = $this->db->query("SELECT DISTINCT operating_system FROM list_systems ORDER BY operating_system;");
+ $return = array();
+ while($tmp = $this->db->fetch_array($tmps)){
+ $return[] = $tmp['operating_system'];
+ }
+ load_class('cache')->set('list_os', $return);
}
- load_class('cache')->set('list_os', $return);
}
return $return;
}
@@ -22,10 +28,9 @@
$return = load_class('cache')->get('os_summary');
if($return==false){
$tmps = $this->db->query('SELECT operating_system, count(1) as cnt
- FROM list_systems ls,
- ( SELECT id, MAX(report_month) FROM list_systems GROUP BY id ) AS ls2
- WHERE ls.id = ls2.id
- AND operating_system IN (\''.implode('\',\'',$this->get_list_os()).'\')
+ FROM list_systems ls
+ LEFT JOIN ( SELECT id, MAX(report_month) FROM list_systems GROUP BY id ) ls2 ON ls.id = ls2.id
+ WHERE operating_system IN (\''.implode('\',\'',$this->get_list_os()).'\')
AND ls.report_month = ls2.max
GROUP BY operating_system
ORDER BY cnt DESC;');
@@ -42,11 +47,12 @@
}
public function countries(){
- $return = load_class('cache')->get('countries');
+ $return = load_class('cache')->get('countries'.$this->current_os);
if($return==false){
$tmps = $this->db->query('SELECT operating_system, country_code, count(1) as cnt
FROM ( SELECT DISTINCT ls.id, ls.operating_system, country_code FROM list_systems ls LEFT JOIN system_ids si ON ls.id = si.id ) AS os_list
- GROUP BY operating_system, country_code;');
+ WHERE operating_system IN (\''.implode('\',\'',$this->get_list_os()).'\')
+ GROUP BY operating_system, country_code');
$total = 0;
$countries_stats = array();
while($tmp = $this->db->fetch_array($tmps)){
@@ -54,30 +60,41 @@
$countries_stats[$tmp['country_code']][$tmp['operating_system']] = $tmp['cnt'];
}
- $tmps = $this->db->query('SELECT country_code, count(1) AS cnt
+ $tmps = $this->db->query('SELECT country_code, cc.long, count(1) as cnt
FROM ( SELECT DISTINCT ls.id, ls.operating_system, country_code FROM list_systems ls LEFT JOIN system_ids si ON ls.id = si.id ) AS os_list
- GROUP BY country_code
+ LEFT JOIN country_codes cc ON cc.short = os_list.country_code
+ WHERE operating_system IN (\''.implode('\',\'',$this->get_list_os()).'\')
+ GROUP BY country_code, cc.long
ORDER BY cnt DESC;');
$countries = array();
+ $i=0;
while($tmp = $this->db->fetch_array($tmps)){
- $countries[] = $tmp['country_code'];
+ $countries[$i]['code'] = $tmp['country_code'];
+ $countries[$i]['name'] = $tmp['long'];
+ $i++;
}
$return = array('countries'=>$countries,'countries_stats'=>$countries_stats, 'total'=>$total);
- load_class('cache')->set('countries', $return);
+ load_class('cache')->set('countries'.$this->current_os, $return);
}
return $return;
}
public function cpus(){
- $return = load_class('cache')->get('cpus');
+ $return = load_class('cache')->get('cpus'.$this->current_os);
if($return==false){
- $tmps = $this->db->query('SELECT cpus, count(1) AS cnt FROM cpus GROUP BY cpus ORDER BY cpus;');
+ $tmps = $this->db->query('SELECT cpus, count(1) AS cnt
+ FROM cpus
+ GROUP BY cpus
+ ORDER BY cpus;');
$cpu_stats = array();
while($tmp = $this->db->fetch_array($tmps)){
$cpu_stats[$tmp['cpus']] = $tmp['cnt'];
}
- $tmps = $this->db->query('SELECT vendor, cpu_type, count(1) AS cnt FROM cpus GROUP BY vendor, cpu_type ORDER BY vendor, cnt DESC;');
+ $tmps = $this->db->query('SELECT vendor, cpu_type, count(1) AS cnt
+ FROM cpus
+ GROUP BY vendor, cpu_type
+ ORDER BY vendor, cnt DESC;');
$vendor_stats = array();
$i=0;
while($tmp = $this->db->fetch_array($tmps)){
@@ -87,13 +104,13 @@
$i++;
}
$return = array('cpu_stats'=>$cpu_stats,'vendor_stats'=>$vendor_stats);
- load_class('cache')->set('cpus', $return);
+ load_class('cache')->set('cpus'.$this->current_os, $return);
}
return $return;
}
public function drivers(){
- $return = load_class('cache')->get('drivers');
+ $return = load_class('cache')->get('drivers'.$this->current_os);
if($return==false){
$tmps = $this->db->query('SELECT trim(driver, \'[0123456789]*\') AS driver, count(1) AS cnt
FROM devices d
@@ -122,7 +139,7 @@
$i++;
}
$return = array('drivers_tot'=>$drivers_tot,'drivers_stats'=>$drivers_stats);
- load_class('cache')->set('drivers', $return);
+ load_class('cache')->set('drivers'.$this->current_os, $return);
}
return $return;
}
Modified: websites/bsdstats.org/bsdstats/tpl/bsdstats/country.php
===================================================================
--- websites/bsdstats.org/bsdstats/tpl/bsdstats/country.php 2008-07-05 23:53:01 UTC (rev 2282)
+++ websites/bsdstats.org/bsdstats/tpl/bsdstats/country.php 2008-07-06 16:34:47 UTC (rev 2283)
@@ -4,26 +4,38 @@
<table cellspacing="0" cellpadding="0" class="stats-simple stats-small">
<thead>
<tr>
- <th> </th><?php
+ <th>Rank</th>
+ <th>Country</th><?php
$format = load_library('format');
$tmps = load_library('bsdstats')->get_list_os();
$i=0;
-foreach($tmps as $os){
- $oss[$i] = $os;
- ?><th><?php echo $oss[$i] ?></th><?php
- $i++;
-} ?><th>Total</th>
+if($current_os!=''){
+ $oss[$i] = $current_os;
+ ?><th>Systems</th>
+ <th>Percent</th><?php
+} else {
+ foreach($tmps as $os){
+ $oss[$i] = $os;
+ ?><th><?php echo str_replace(array('BSD','-'),'',$os) ?></th><?php
+ $i++;
+ } ?><th>Total</th><?php
+} ?>
</tr>
</thead>
<tbody><?php
-foreach($countries as $country){
+$i=0;
+foreach($countries as $cc){
+ $country = $cc['code'];
+ $country_name = $cc['name'];
if(trim($country)==''){
$flag = 'unknown';
} else {
$flag = strtolower($country);
}
+ $i++;
?><tr>
- <th class="col_head"><img border="0" alt="<?php echo $country?>" src="/images/countries/<?php echo $flag?>.png"/> <?php echo $country?></th><?php
+ <td class="rank">#<?php echo $i?></td>
+ <td class="country"><img border="0" alt="<?php echo $country?>" src="/images/countries/<?php echo $flag?>.png"/> <?php echo $country_name!=''?$country_name:'(unknown)'?></td><?php
$tt = 0;
foreach($oss as $os){
?><td><?php
@@ -34,7 +46,11 @@
echo ' ';
}?></td><?php
}
- ?><th class="col_head total"><?php echo $format->number($tt)?></th>
+ if($current_os==''){
+ ?><th class="col_head total"><?php echo $format->number($tt)?></th><?php
+ } else {
+ ?><td class="col_head total"><?php echo $format->percent(($tt/$total)*100,2,' %')?></td><?php
+ }?>
</tr><?php
}
?></tbody>
Modified: websites/bsdstats.org/bsdstats/tpl/bsdstats/header.php
===================================================================
--- websites/bsdstats.org/bsdstats/tpl/bsdstats/header.php 2008-07-05 23:53:01 UTC (rev 2282)
+++ websites/bsdstats.org/bsdstats/tpl/bsdstats/header.php 2008-07-06 16:34:47 UTC (rev 2283)
@@ -40,7 +40,7 @@
</script>
</div>
<!-- Page header -->
- <div class="header">
+ <div class="header" <?php if(isset($current_os)){ echo 'id="header-'.strtolower($current_os).'"'; } ?>>
<h1>The *BSDstats Project</h1>
</div><?php
$this->show('bsdstats/menu');
Modified: websites/bsdstats.org/bsdstats/tpl/bsdstats/home.php
===================================================================
--- websites/bsdstats.org/bsdstats/tpl/bsdstats/home.php 2008-07-05 23:53:01 UTC (rev 2282)
+++ websites/bsdstats.org/bsdstats/tpl/bsdstats/home.php 2008-07-06 16:34:47 UTC (rev 2283)
@@ -1,23 +1,89 @@
-<!-- Our mission -->
-<div style="float: left; width: 300px;" id="our-mission">
- <h2>Our Mission</h2>
- <p>The mission of this site is to compile semi-accurate numbers for advocacy
- and marketing of the *BSD operating systems.</p>
- <p>More specifically, we are trying to demonstrate to hardware and software
- vendors out there that *BSD should be viewed as a serious operating system,
- not just as a hobbyist system, for support (ie. hardware drivers) purposes.</p>
- <p>We are designing the system so that FreeBSD, NetBSD, OpenBSD, PC-BSD and
- DragonFlyBSD can participate and benefit. <a href="<?php echo $instructions_uri?>">Click
- here for Instructions</a></p>
- <p>If you have any questions, comments, or suggestions, please send email
- to <a href="mailto:scrappy at freebsd.org">scrappy at freebsd.org</a>.</p>
- Project hosted by <a href="http://www.hub.org">Hub.Org Networking Services</a><br/>
- Web Design by Antony Mawer<br />
- Web Programmed by Fabrizio Parrella
+<?php
+$os_info['name'] = '';
+$os_info['url'] = '';
+$os_info['description'] = '';
+switch(strtolower($current_os)){
+ case 'desktopbsd':
+ $os_info['name'] = $current_os;
+ $os_info['url'] = 'www.desktopbsd.net';
+ $os_info['description'] = '<div style="text-align:justify;"><p>DesktopBSD aims at being a stable and powerful operating system for desktop users.</p> <p>DesktopBSD combines the stability of <a href="http://freebsd.org">FreeBSD</a>, the usability and functionality of <a href="http://kde.org">KDE</a> and the simplicity of specially developed software to provide a system that\'s easy to use and install.</p></div>';
+ break;
+ case 'dragonfly':
+ $os_info['name'] = $current_os;
+ $os_info['url'] = 'www.dragonflybsd.org';
+ $os_info['description'] = '<div style="text-align:justify;"><p>DragonFly is a BSD modernization project with the ultimate goal of bringing fully integrated cache coherency, clustering, and virtualization mechanisms and capabilities to the BSD world.</p></div>';
+ break;
+ case 'freebsd':
+ $os_info['name'] = $current_os;
+ $os_info['url'] = 'www.freebsd.org';
+ $os_info['description'] = '<div style="text-align:justify;"><p>FreeBSD® is an advanced operating system for x86 compatible (including Pentium® and Athlon™), amd64 compatible (including Opteron™, Athlon™64, and EM64T), UltraSPARC®, IA-64, PC-98 and ARM architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley.</p></div>';
+ break;
+ case 'gnu/kfreebsd':
+ $os_info['name'] = $current_os;
+ $os_info['url'] = 'www.debian.org/ports/kfreebsd-gnu/';
+ $os_info['description'] = '';
+ break;
+ case 'midnightbsd':
+ $os_info['name'] = $current_os;
+ $os_info['url'] = 'www.midnightbsd.org';
+ $os_info['description'] = '<div style="text-align:justify;"><p>MidnightBSD aims at being a stable and powerful operating system for desktop users.</p><p>MidnightBSD combines the stability of <a href="http://freebsd.org">FreeBSD</a>, the usability and functionality of <a href="http://kde.org">KDE</a> and the simplicity of specially developed software to provide a system that\'s easy to use and install.</p></div>';
+ break;
+ case 'mirbsd':
+ $os_info['name'] = $current_os;
+ $os_info['url'] = 'mirbsd.de';
+ $os_info['description'] = '';
+ break;
+ case 'netbsd':
+ $os_info['name'] = $current_os;
+ $os_info['url'] = 'www.netbsd.org';
+ $os_info['description'] = '<div style="text-align:justify;"><p>NetBSD is a <a href="http://www.netbsd.org/Misc/about.html">free</a>, <a href="http://www.netbsd.org/Security/">secure</a>, and highly portable Unix-like <a href="http://www.netbsd.org/Goals/redistribution.html">Open Source</a> operating system available for <a href="http://www.netbsd.org/Ports/">many platforms</a>, from 64-bit <a href="http://www.netbsd.org/Ports/amd64/">Opteron machines</a> and <a href="http://www.netbsd.org/gallery/in-Action/">desktop systems</a> to <a href="http://www.netbsd.org/Ports/hpcmips/">handheld</a> and <a href="http://www.netbsd.org/Misc/embed.html">embedded</a> devices. Its <a href="http://www.netbsd.org/Goals/system.html">clean design</a> and <a href="http://www.netbsd.org/Misc/features.html">advanced features</a> make it excellent in both production and research environments, and it is user-supported with complete source. Many applications are easily available through <a href!
="http://www.netbsd.org/Documentation/software/packages.html">pkgsrc, the NetBSD Packages Collection</a></p></div>';
+ break;
+ case 'openbsd':
+ $os_info['name'] = $current_os;
+ $os_info['url'] = 'www.openbsd.org';
+ $os_info['description'] = '<div style="text-align:justify;"><p>The OpenBSD project produces a <b>FREE</b>, multi-platform 4.4BSD-based UNIX-like operating system. Our efforts emphasize portability, standardization, correctness, <a href="http://www.openbsd.org/security.html">proactive security</a> and <a href="http://www.openbsd.org/crypto.html">integrated cryptography</a>. OpenBSD supports binary emulation of most programs from SVR4 (Solaris), FreeBSD, Linux, BSD/OS, SunOS and HP-UX.</p></div>';
+ break;
+ case 'pc-bsd':
+ $os_info['name'] = $current_os;
+ $os_info['url'] = 'www.pcbsd.com';
+ $os_info['description'] = '<div style="text-align:justify;"><p>PC-BSD is a Unix-like, desktop-oriented operating system, based on the rock-solid FreeBSD. PC-BSD has been designed with the "casual" computer user in mind and aims to be easy to install by using a graphical installation program. Installing the system is simply a matter of a few clicks and a few minutes for the installation process to finish. Home users will immediately feel comfortable with PC-BSD\'s KDE graphical desktop interface and the easy point-and-click package management.</p> <p>Software installation has been designed to be as painless as possible: users simply double-click on ready-to-use pre-built software packages (PBIs) downloaded from <a href="http://www.pbidir.com">PBIdir.com</a> and the software will be installed without having to worry about dependencies.</p> <p>Since October 10, 2006 PC-BSD is supported by the enterprise-class hardware solution provider <a href="http://www.ixsystems.com">iXsy!
stems</a>.</p></div>';
+ break;
+ case '':
+ default:
+ $os_info['name'] = 'BSD-Stats';
+ $os_info['url'] = '';
+ $os_info['description'] = '<p>The mission of this site is to compile semi-accurate numbers for advocacy and marketing of the *BSD operating systems.</p><p>More specifically, we are trying to demonstrate to hardware and software vendors out there that *BSD should be viewed as a serious operating system, not just as a hobbyist system, for support (ie. hardware drivers) purposes.</p><p>We are designing the system so that FreeBSD, NetBSD, OpenBSD, PC-BSD and DragonFlyBSD can participate and benefit. <a href="<?php echo $instructions_uri?>">Click here for Instructions</a></p><p>If you have any questions, comments, or suggestions, please send email to <a href="mailto:scrappy at freebsd.org">scrappy at freebsd.org</a>.</p>Project hosted by <a href="http://www.hub.org">Hub.Org Networking Services</a><br/>Web Design by Antony Mawer<br />Web Programmed by Fabrizio Parrella</p>';
+ break;
+}
+?><!-- Our mission -->
+<div style="float: left; width: 300px;">
+ <h2>What is <?php echo $os_info['name']?> ?</h2>
+ <?php echo $os_info['description']?>
</div>
-<!-- Operating Systems Summary -->
-<div id="os-summary">
+<div id="os-summary"><?php
+if($current_os!=''){
+ ?><table cellspacing="0" cellpadding="0" class="statstbl">
+ <tbody><tr>
+ <th colspan="2" class="overview-heading">System Overview</th>
+ </tr>
+ <tr>
+ <th>Name:</th>
+ <td><?php echo $os_info['name']?></td>
+ </tr>
+ <tr>
+ <th>Website:</th>
+ <td><a href="http://<?php echo $os_info['url']?>"><?php echo $os_info['url']?></a></td>
+ </tr>
+ <tr>
+ <th>No. of Systems:</th>
+ <td><?php echo load_library('format')->number($total)?></td>
+ </tr>
+</tbody>
+</table>
+<?php
+} else {
+ ?><!-- Operating Systems Summary -->
<h3>Operating System Summary</h3>
<table cellspacing="0" cellpadding="0" class="stats-simple stats-large">
<tbody>
@@ -39,5 +105,5 @@
<td>100.0 %</td>
</tr>
</tbody>
-</table>
-</div>
+</table><?php
+} ?></div>
Modified: websites/bsdstats.org/bsdstats/tpl/bsdstats/menu.php
===================================================================
--- websites/bsdstats.org/bsdstats/tpl/bsdstats/menu.php 2008-07-05 23:53:01 UTC (rev 2282)
+++ websites/bsdstats.org/bsdstats/tpl/bsdstats/menu.php 2008-07-06 16:34:47 UTC (rev 2283)
@@ -1,17 +1,26 @@
<!-- Header menu -->
+<form name="form_select_os" action="<?php echo $current_task_uri;?>" method="get" class="form_select_os">
+ <select name="os" class="select_os">
+ <option value="">Generic</option><?php
+$tmps = load_library('bsdstats')->get_list_os(true);
+foreach($tmps as $os){
+ ?><option value="<?php echo $os ?>" <?php echo ($current_os==$os?' selected="selected"':'') ?>><?php echo $os ?></option><?php
+}
+?></select><input type="submit" value="GO" />
+</form>
<div id="top-links">
<ul>
- <!-- <li class="first"><a href="releases.php">Release Stats</a></li>
- <li><a href="cc_test.php">Country Stats</a></li>
- <li><a href="drivers.php">Drivers/HW Stats</a></li>
- <li><a href="cpus.php">CPU Stats</a></li>
- <li><a href="ports.php">Port Stats</a></li>
--->
- <li class="first"><a href="/">Home</a></li>
+<?php
+if($current_os!=''){
+ ?><li class="first" id="toplink-os-name"><a href="<?php echo $home_uri?>"><?php echo $current_os?>:</a></li><?php
+} else {
+ ?><li class="first"><a href="/">Home</a></li><?php
+}
+?>
<li><a href="#">Release Stats</a></li>
<li><a href="<?php echo $countries_uri?>">Country Stats</a></li>
- <li><a href="<?php echo $drivers_uri?>">Drivers/HW Stats</a></li>
+ <li><a href="<?php echo $drivers_uri?>">Device Stats</a></li>
<li><a href="<?php echo $cpus_uri?>">CPU Stats</a></li>
- <li><a href="#">Port Stats</a></li>
+ <li><a href="#">Ports Stats</a></li>
</ul>
</div>
Modified: websites/bsdstats.org/bsdstats/tpl/css/bsdstats.css
===================================================================
--- websites/bsdstats.org/bsdstats/tpl/css/bsdstats.css 2008-07-05 23:53:01 UTC (rev 2282)
+++ websites/bsdstats.org/bsdstats/tpl/css/bsdstats.css 2008-07-06 16:34:47 UTC (rev 2283)
@@ -156,6 +156,22 @@
font-size: 10px;
padding: 4px;
}
+
+.stats-small .rank{
+ font-weight:bold;
+ text-align:right;
+ width:50px;
+}
+
+.stats-small .total{
+ text-align:right;
+ width:70px;
+}
+
+.stats-small .country{
+ text-align:left;
+}
+
.stats-small td{
font-size: 10px;
padding: 4px;
@@ -169,38 +185,19 @@
.overview-heading {
text-align: center !important;
padding: 5px !important;
+ background-color: #999999;
+ color: white;
}
-.statstbl th { text-align: left; padding: 2px 5px; }
+.statstbl {
+ border: 1px solid #999999;
+}
+.statstbl th {
+ text-align: left;
+ padding: 2px 5px;
+}
.statstbl td { padding: 2px 15px 2px 5px; }
-/* FreeBSD */
-.statstbl-freebsd { border: 1px solid #990000; }
-.bgcol-freebsd {
- background-color: #990000;
- color: white;
-}
-
-/* NetBSD */
-.statstbl-netbsd { border: 1px solid #c0c0c0; }
-.bgcol-netbsd { background-color: #e0e0e0; color: #f26711; }
-
-/* OpenBSD */
-.statstbl-openbsd { border: 1px solid #7fe6e6; }
-.bgcol-openbsd { background-color: #7fe6e6; color: #004070; }
-
-/* PC-BSD */
-.statstbl-pcbsd { border: 1px solid #545454; }
-.bgcol-pcbsd { background-color: #545454; color: #c0c0c0; }
-
-/* DragonFly */
-.statstbl-dragonfly { border: 1px solid #ffcc00; }
-.bgcol-dragonfly { background-color: #ffcc00; color: black; }
-
-/* DesktopBSD */
-.statstbl-desktopbsd { border: 1px solid #990000; }
-.bgcol-desktopbsd { background-color: #e0e0e0; color: black; }
-
#footer {
clear: both;
font-size: 0.85em;
@@ -216,4 +213,19 @@
#instructions{
float:left;
text-align:justify;
+}
+
+input, .select_os {
+ font-size:10px;
+ font-family:Verdana, Arial, Helvetica, sans-serif;
+ margin:0px;
+ padding:0px;
+}
+.select_os{
+ width:100px;
+}
+.form_select_os{
+ text-align:right;
+ margin:0px;
+ padding:0px;
}
\ No newline at end of file
More information about the Commits
mailing list