moved qdb here because matt is lazy
[public/www-new.git] / pub / qdb / src / templates / default / statistics.html
1 <TMPL_INCLUDE NAME="_head.html">\r
2         <!--[if IE]><script type="text/javascript" src="<TMPL_VAR NAME="RESOURCES_URL">/js/excanvas/excanvas.js"></script><![endif]-->\r
3         <script type="text/javascript" src="<TMPL_VAR NAME="RESOURCES_URL">/js/graph.js"></script>\r
4         <script type="text/javascript" src="<TMPL_VAR NAME="RESOURCES_URL">/js/ajax.js"></script>\r
5         <script type="text/javascript">\r
6         if (ajaxSupported()) {\r
7                 var ajax = getAjaxObject();\r
8                 ajax.open("GET", "<TMPL_VAR NAME="UPDATE_URL">", true);\r
9                 ajax.send("");\r
10         }\r
11         </script>\r
12         <h2>\r
13                 <TMPL_VAR NAME="PAGE_TITLE">\r
14         </h2>\r
15         <div id="statistics-sections">\r
16         <div id="quotes-by-date" class="statistics-section">\r
17         <h3><TMPL_VAR NAME="QUOTES_BY_DATE_TITLE"></h3>\r
18         <dl class="ogive-data label-count-7">\r
19         <TMPL_LOOP NAME="QUOTES_BY_DATE">\r
20                 <dt><TMPL_VAR NAME="DATE"></dt>\r
21                 <dd><TMPL_VAR NAME="QUOTE_COUNT"></dd>\r
22         </TMPL_LOOP>\r
23         </dl>\r
24         </div>\r
25         <div id="quotes-by-hour" class="statistics-section">\r
26         <h3><TMPL_VAR NAME="QUOTES_BY_HOUR_TITLE"></h3>\r
27         <dl class="bar-chart-data">\r
28         <TMPL_LOOP NAME="QUOTES_BY_HOUR">\r
29                 <dt title="<TMPL_VAR NAME="START_HOUR">"><TMPL_VAR NAME="START_HOUR">:00&ndash;<TMPL_VAR NAME="END_HOUR">:00</dt>\r
30                 <dd><TMPL_VAR NAME="QUOTE_COUNT"></dd>\r
31         </TMPL_LOOP>\r
32         </dl>\r
33         </div>\r
34         <div id="quotes-by-weekday" class="statistics-section">\r
35         <h3><TMPL_VAR NAME="QUOTES_BY_WEEKDAY_TITLE"></h3>\r
36         <dl class="bar-chart-data">\r
37         <TMPL_LOOP NAME="QUOTES_BY_WEEKDAY">\r
38                 <dt><TMPL_VAR NAME="WEEKDAY"></dt>\r
39                 <dd><TMPL_VAR NAME="QUOTE_COUNT"></dd>\r
40         </TMPL_LOOP>\r
41         </dl>\r
42         </div>\r
43         <div id="quotes-by-day" class="statistics-section">\r
44         <h3><TMPL_VAR NAME="QUOTES_BY_DAY_TITLE"></h3>\r
45         <dl class="bar-chart-data">\r
46         <TMPL_LOOP NAME="QUOTES_BY_DAY">\r
47                 <dt><TMPL_VAR NAME="DAY"></dt>\r
48                 <dd><TMPL_VAR NAME="QUOTE_COUNT"></dd>\r
49         </TMPL_LOOP>\r
50         </dl>\r
51         </div>\r
52         <div id="quotes-by-month" class="statistics-section">\r
53         <h3><TMPL_VAR NAME="QUOTES_BY_MONTH_TITLE"></h3>\r
54         <dl class="bar-chart-data">\r
55         <TMPL_LOOP NAME="QUOTES_BY_MONTH">\r
56                 <dt title="<TMPL_VAR NAME="MONTH_NAME_SHORT">"><TMPL_VAR NAME="MONTH_NAME"></dt>\r
57                 <dd><TMPL_VAR NAME="QUOTE_COUNT"></dd>\r
58         </TMPL_LOOP>\r
59         </dl>\r
60         </div>\r
61         <div id="quotes-by-rating" class="statistics-section">\r
62         <h3><TMPL_VAR NAME="QUOTES_BY_RATING_TITLE"></h3>\r
63         <dl class="bar-chart-data label-count-13">\r
64         <TMPL_LOOP NAME="QUOTES_BY_RATING">\r
65                 <dt><TMPL_VAR NAME="RATING"></dt>\r
66                 <dd><TMPL_VAR NAME="QUOTE_COUNT"></dd>\r
67         </TMPL_LOOP>\r
68         </dl>\r
69         </div>\r
70         <div id="quotes-by-vote-count" class="statistics-section">\r
71         <h3><TMPL_VAR NAME="QUOTES_BY_VOTE_COUNT_TITLE"></h3>\r
72         <dl class="bar-chart-data label-count-17">\r
73         <TMPL_LOOP NAME="QUOTES_BY_VOTE_COUNT">\r
74                 <dt><TMPL_VAR NAME="VOTE_COUNT"></dt>\r
75                 <dd><TMPL_VAR NAME="QUOTE_COUNT"></dd>\r
76         </TMPL_LOOP>\r
77         </dl>\r
78         </div>\r
79         <div id="votes-by-rating" class="statistics-section">\r
80         <h3><TMPL_VAR NAME="VOTES_BY_RATING_TITLE"></h3>\r
81         <dl class="pie-chart-data">\r
82         <TMPL_LOOP NAME="VOTES_BY_RATING">\r
83                 <dt><TMPL_VAR NAME="RATING"></dt>\r
84                 <dd><TMPL_VAR NAME="VOTE_COUNT"></dd>\r
85         </TMPL_LOOP>\r
86         </dl>\r
87         </div>\r
88         </div>\r
89         <div id="after-statistics"></div>\r
90 <TMPL_INCLUDE NAME="_foot.html">