Project

General

Profile

Download (3.59 KB) Statistics
| Branch: | Revision:

git_sitools_idoc / webstatDev / idoc_Maison / templates / webStatResults.html @ 94284c9a

1
<head>
2
    {% load staticfiles %}
3
    {% load per_cent_filters %}
4
    <link rel="stylesheet" href="{% static 'results.css' %}" />
5
    <!--<script type="text/javascript" src="{% static 'result.js'%}"></script>-->
6
    <meta charset="UTF-8">
7
    <title>Sitools2 Webstat Results</title>
8
</head>
9
<body>
10
<div id="header" style="text-align: center; font-size: 27px;font-weight: bold">Statistic from {{ form.application }} {% if form.period_date  %} between {{ form.start_date }} to {{ form.end_date }} {% endif %}</div>
11
<h2>Download Statistic</h2>
12
{% if  data.nb_download  %}<div>Number of download : {{ data.nb_download }}</div>{% endif %}
13
{% if  data.vol_download  %}<div>Volume of download : {{ data.vol_download }}</div>{% endif %}
14

    
15
{% if data.total_down_per_project_chart %}
16
    <div><object style="height: 720px;width: 900px;" type="image/svg+xml" data="{{ data.total_down_per_project_chart.0 }}"></object><br>
17
    <span class="annotation">les données représentant moins de {{ data.dico_cste.dico_max_per_cent.is_down_stat_by_project|per_cent_filters }} % ne sont pas prises en compte.</span><br>
18
    <a href="{{ data.total_down_per_project_chart.1 }}" download="access_by_ip">download_stat_by_project.png</a></div>
19
{% endif %}
20

    
21
{% if data.total_down_per_month_chart %}
22
    <div><object style="height: 720px;width: 900px;" type="image/svg+xml" data="{{ data.total_down_per_month_chart.0 }}"></object><br>
23
<a href="{{ data.total_down_per_month_chart.1 }}" download="access_by_ip">lien vers le png !!</a></div>
24
{% endif %}
25

    
26
{% if data.total_down_per_country_chart %}
27
    <div><object style="height: 720px;width: 900px;" type="image/svg+xml" data="{{ data.total_down_per_country_chart.0 }}"></object><br>
28
    <span class="annotation">les données représentant moins de {{ data.dico_cste.dico_max_per_cent.is_down_stat_by_country|per_cent_filters }} % ne sont pas prises en compte.</span><br>
29
    <a href="{{ data.total_down_per_country_chart.1 }}" download="access_by_ip">lien vers le png !!</a></div>
30
{% endif %}
31
{% if data.total_down_per_ip_chart %}
32
    <div><object style="height: 720px;width: 900px;" type="image/svg+xml" data="{{ data.total_down_per_ip_chart.0 }}"></object><br>
33
    <span class="annotation">les données représentant moins de {{ data.dico_cste.dico_max_per_cent.is_down_stat_by_ip|per_cent_filters }} % ne sont pas prises en compte.</span><br>
34
    <a href="{{ data.total_down_per_ip_chart.1 }}" download="access_by_ip">lien vers le png !!</a></div>
35
{% endif %}
36

    
37
<br>
38
<h2>Access Statistic</h2>
39
{% if  data.nb_access_ip %}<div id="nbResults">Number of access  : <span class="results">{{ data.nb_access_ip }}</span></div>{% endif %}
40
{% if  data.nb_vo_ip  %}<div id="nbResults">Number of  VO access  : <span class="results">{{ data.nb_vo_ip }}</span></div>{% endif %}
41
{% if data.access_ip_chart_svg_png %}
42
<div><object style="height: 720px;width: 900px;" type="image/svg+xml" data="{{ data.access_ip_chart_svg_png.0 }}"></object><br>
43
<a href="{{ data.access_ip_chart_svg_png.1 }}" download="access_by_ip">lien vers le png !!</a></div>
44
{% endif %}
45

    
46
{% if data.access_country_chart_svg_png %}
47
<div><object style="height: 720px;width: 900px;" type="image/svg+xml" data="{{ data.access_country_chart_svg_png.0 }}"></object><br>
48
<a href="{{ data.access_country_chart_svg_png.1 }}" download="access_by_country">lien vers le png !!</a>
49
</div>
50
{% endif %}
51

    
52
{%  if data.access_month_chart_svg_png  %}
53
<div><object style="height: 720px;width: 900px;" type="image/svg+xml" data="{{ data.access_month_chart_svg_png.0 }}"></object><br>
54
<a href="{{ data.access_month_chart_svg_png.1 }}" download="access_by_month">lien vers le png !!</a>
55
</div>
56
{% endif %}
57
<br>
58
</body>