Modification: the history summary graph does not use a true image anymore,

CSS divs are faster and don't require GD library.


git-svn-id: http://piwigo.org/svn/trunk@1729 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2007-01-17 23:06:24 +00:00
parent 94755e7bd7
commit 8e43a0fec1
5 changed files with 85 additions and 682 deletions
+7
View File
@@ -143,3 +143,10 @@ FIELDSET#generalConf TEXTAREA.description {
background: #f92;
color: white;
} /* PWG Graphic charts */
.statBar {
height: 10px;
background-color: #66f;
border: 1px solid black;
}
+4 -4
View File
@@ -3,17 +3,17 @@
<h3>{L_STAT_TITLE}</h3>
<img class="image" src="{SRC_REPORT}" alt="{lang:history chart}" />
<table class="table2" id="dailyStats">
<tr class="throw">
<th>{PERIOD_LABEL}</th>
<th>{lang:Pages seen}</th>
<th></th>
</tr>
<!-- BEGIN statrow -->
<tr class="{statrow.T_CLASS}">
<td>{statrow.VALUE}</td>
<tr>
<td style="white-space: nowrap">{statrow.VALUE}</td>
<td class="number">{statrow.PAGES}</td>
<td><div class="statBar" style="width:{statrow.WIDTH}px" /></td>
</tr>
<!-- END statrow -->
</table>