diff options
author | ivan <ivan> | 2010-12-27 00:04:44 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-12-27 00:04:44 +0000 |
commit | 74e058c8a010ef6feb539248a550d0bb169c1e94 (patch) | |
tree | 6e8d3efb218dd0f41970b62c7f29758d1ae9a937 /torrus/templates/report-yearly.html | |
parent | 35359a73152b3d7a9ad5e3d37faf81f6fedb76e8 (diff) |
import torrus 1.0.9
Diffstat (limited to 'torrus/templates/report-yearly.html')
-rw-r--r-- | torrus/templates/report-yearly.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/torrus/templates/report-yearly.html b/torrus/templates/report-yearly.html new file mode 100644 index 000000000..6f9078db2 --- /dev/null +++ b/torrus/templates/report-yearly.html @@ -0,0 +1,31 @@ +[% PROCESS 'html-incblocks.txt' %] +[% INCLUDE htmlstart + title="Torrus Reports: " _ year + contentClass="SingleColumnContent" + noTopMenu=1 %] + +<H1><A HREF="[% indexUrl() %]">Torrus reports</A>: [% year %]</H1> + +[% INCLUDE treename %] + +<TABLE CLASS="ReportTable"> +<CAPTION CLASS="ReportTable">Monthly reports</CAPTION> +<TR CLASS="ReportHeadRow"> +<TD CLASS="ReportHeadCell">Month</TD> +</TR> +[% rowCount = 0; + FOREACH mth = data.months; + rowCount = rowCount + 1; + IF rowCount % 2 %] +<TR CLASS="ReportEvenRow"> +[% ELSE %] +<TR CLASS="ReportRow"> +[% END %] +<TD CLASS="ReportFirstCell"> +<A HREF="[% monthlyUrl(mth) %]">[% monthName(mth) _ ' ' _ year %]</A> +</TD> +</TR> +[% END %] +</TABLE> + +[% INCLUDE htmlend %] |