aboutsummaryrefslogtreecommitdiffstats
path: root/BSF/template/yoga/admin/stats.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'BSF/template/yoga/admin/stats.tpl')
-rw-r--r--BSF/template/yoga/admin/stats.tpl38
1 files changed, 38 insertions, 0 deletions
diff --git a/BSF/template/yoga/admin/stats.tpl b/BSF/template/yoga/admin/stats.tpl
new file mode 100644
index 000000000..95331b7ef
--- /dev/null
+++ b/BSF/template/yoga/admin/stats.tpl
@@ -0,0 +1,38 @@
+{* $Id$ *}
+
+<div class="titrePage">
+ <ul class="categoryActions">
+ <li>
+ <a
+ href="{$U_HELP}"
+ onclick="popuphelp(this.href); return false;"
+ title="{'Help'|@translate}"
+ >
+ <img src="{$themeconf.icon_dir}/help.png" class="button" alt="(?)">
+ </a>
+ </li>
+ </ul>
+ <h2>{'History'|@translate} {$TABSHEET_TITLE}</h2>
+ {$TABSHEET}
+</div>
+
+<h3>{$L_STAT_TITLE}</h3>
+
+<table class="table2" id="dailyStats">
+ <tr class="throw">
+ <th>{$PERIOD_LABEL}</th>
+ <th>{'Pages seen'|@translate}</th>
+ <th></th>
+ </tr>
+
+{if not empty($statrows)}
+{foreach from=$statrows item=row}
+ <tr>
+ <td style="white-space: nowrap">{$row.VALUE}</td>
+ <td class="number">{$row.PAGES}</td>
+ <td><div class="statBar" style="width:{$row.WIDTH}px"></div></td>
+ </tr>
+{/foreach}
+{/if}
+
+</table>