[Pkg-haskell-commits] darcs: tools: Final touches
Joachim Breitner
mail at joachim-breitner.de
Wed Apr 24 12:25:22 UTC 2013
Wed Apr 24 12:25:11 UTC 2013 Joachim Breitner <mail at joachim-breitner.de>
* Final touches
Ignore-this: 280f699b6d5e813a094c76da277f1885
M ./buildd-stats.py -7 +16
Wed Apr 24 12:25:11 UTC 2013 Joachim Breitner <mail at joachim-breitner.de>
* Final touches
Ignore-this: 280f699b6d5e813a094c76da277f1885
diff -rN -u old-tools//buildd-stats.py new-tools//buildd-stats.py
--- old-tools//buildd-stats.py 2013-04-24 12:25:22.230365510 +0000
+++ new-tools//buildd-stats.py 2013-04-24 12:25:22.250398194 +0000
@@ -81,6 +81,9 @@
border-top-color: white;
border-bottom: 1px solid #DFDFDF;
}
+ .stats thead th {
+ text-align: center;
+ }
.stats th {
font-weight: bold;
padding: 7px 7px 8px;
@@ -215,7 +218,10 @@
} ];
var options = {
- xaxis: {mode: "time"},
+ xaxis: {
+ mode: "time",
+ minTickSize: [1, "day"],
+ },
legend: { position: 'nw'},
yaxes: [
{
@@ -230,7 +236,10 @@
selection: {mode: "x"},
};
var options2 = {
- xaxis: {mode: "time"},
+ xaxis: {
+ mode: "time",
+ minTickSize: [1, "day"],
+ },
legend: { position: 'nw'},
yaxes: [{
min: 0,
@@ -247,7 +256,7 @@
};
var plot = $.plot("#placeholder", d, options);
var plot2 = $.plot("#placeholder2", d2, options2);
- var overview = $.plot("#overview", [d[0]], {
+ var overview = $.plot("#overview", [d[0], d[1]], {
xaxis: {
mode: "time",
minTickSize: [1, "year"],
@@ -388,19 +397,19 @@
<h3>Statistics</h3>
<table class="stats">
- <thead><th> </th><th>All</th><th>Haskell</th><th> </th></thead>
+ <thead><th> </th><th>All</th><th colspan="2">Haskell</th></thead>
<tbody>
<tr><th># uploads:</th><td id="alluploads"/><td id="haskelluploads"/><td id="uploadsperc"/></tr>
<tr><th>buildtime:</th><td id="allbuildtime"/><td id="haskellbuildtime"/><td id="buildtimeperc"/></tr>
<tr><th>CO<sub>2</sub>:<sup>*</sup></th><td id="allco2"/><td id="haskellco2"/><td> </td></tr>
</tbody>
</table>
+ <div style="font-size:small; text-align:right">
+ <sup>*</sup>CO<sub>2</sub> production based on <a href="http://www.vertatique.com/average-power-use-server"><span id="wattage"></span> Watt</a> and <a href="http://www.carbonfund.org/how-we-calculate"><span id="kgco2perkwh"></span> kg CO<sub>2</sub>/kWh</a>.
+ </div>
</td>
</tr>
</table>
- <div style="font-size:small; text-align:right">
- <sup>*</sup>: CO<sub>2</sub> production based on <a href="http://www.vertatique.com/average-power-use-server"><span id="wattage"></span> Watt</a> and <a href="http://www.carbonfund.org/how-we-calculate"><span id="kgco2perkwh"></span> kg CO<sub>2</sub>/kWh</a>.
- </div>
'''
print '''
More information about the Pkg-haskell-commits
mailing list