aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2007-01-17 23:06:24 +0000
committerplegall <plg@piwigo.org>2007-01-17 23:06:24 +0000
commit8e43a0fec128ad379bcdf432ddb034db66097c7e (patch)
treee0204bca4bc45a0cc9a981a2b39f506fc9e35f9a /template/yoga/admin
parent94755e7bd764e2e4ccfa6cbc146b324ac27dc116 (diff)
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
Diffstat (limited to '')
-rw-r--r--template/yoga/admin/default-layout.css7
-rw-r--r--template/yoga/admin/stats.tpl8
2 files changed, 11 insertions, 4 deletions
diff --git a/template/yoga/admin/default-layout.css b/template/yoga/admin/default-layout.css
index 0f82bee63..6d916d555 100644
--- a/template/yoga/admin/default-layout.css
+++ b/template/yoga/admin/default-layout.css
@@ -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;
+} \ No newline at end of file
diff --git a/template/yoga/admin/stats.tpl b/template/yoga/admin/stats.tpl
index edf7d9a3c..3f1b90fe8 100644
--- a/template/yoga/admin/stats.tpl
+++ b/template/yoga/admin/stats.tpl
@@ -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>