Project

General

Profile

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

git_sitools_idoc / webstatDev / idoc_Maison / templates / formWebStat.html @ 9791e4f3

1
<head>
2
    {% load staticfiles %}
3
    <link rel="stylesheet" href="{% static 'forms.css' %}" />
4
    <script src="{% static 'jquery.min.js' %}"></script>
5
    <script src="{% static 'jquery-ui.min.js' %}"></script>
6
    <link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
7
    <script type="text/javascript" src="{% static 'forms.js'%}"></script>
8
    <meta charset="UTF-8">
9
    <title>SiTools2 IDOC Webstat</title>
10
</head>
11
<body onload="checkIfAll();onLoad();">
12
<div id="header" style="text-align: center; font-size: 27px;font-weight: bold">SiTools2 Webstats</div>
13
<br><br><br>
14
<div id="allForm">
15
<form action="{% url 'webstat:accueil' %}" method="post">
16
    {% csrf_token %}
17
    <label id="app_label_id">{{ form.application.label }} : </label> {{ form.application }}<br><br>
18
    <span style="font-size: large;font-weight:bold;">Fichiers de log à analyser : </span><br>
19
    {{ form.all_date }}<label>&nbsp;{{ form.all_date.label }}</label><br>
20
    {{ form.period_date }}<label>&nbsp;{{ form.period_date.label }}</label><br>
21
    <div id="dateWebstat">
22
        <span class="date_span"><label>{{ form.start_date.label }} :&nbsp; </label> {{ form.start_date }}</span>
23
        <span class="date_span"><label>{{ form.end_date.label }} :&nbsp; </label> {{ form.end_date }}</span>
24
    </div>
25
    <br>
26
    <span style="font-size: large;font-weight:bold;">Statistiques à calculer : </span><br>
27
    <ul>   
28
        <div id="downStatDiv">
29
            <li><label>Statistiques de Téléchargement :</label></li>
30
            <div id="downStatChoice">
31
                <span class="choice_span"> {{ form.is_just_down_stat }} <label>{{ form.is_just_down_stat.label }}</label></span><br>
32
                <span class="choice_span"> {{ form.is_down_stat_by_ip }} <label>{{ form.is_down_stat_by_ip.label }}</label></span><br>
33
                <span class="choice_span"> {{ form.is_down_stat_by_country }} <label>{{ form.is_down_stat_by_country.label }}</label></span><br>
34
                <span class="choice_span"> {{ form.is_down_stat_by_months }} <label>{{ form.is_down_stat_by_months.label }}</label></span><br>
35
                <span class="choice_span"> {{ form.is_down_stat_by_project }} <label>{{ form.is_down_stat_by_project.label }}</label></span><br>
36
                <span class="choice_span"> {{ form.is_down_stat_by_user }} <label>{{ form.is_down_stat_by_user.label }}</label></span>
37
            </div>
38
        </div>
39
        <div id="accessStatDiv">
40
            <li><label>Statistiques d'Accès :</label></li>
41
            <div id="accessStatChoice">
42
                <span class="choice_span"> {{ form.is_access_access_by_ip }} <label>{{ form.is_access_access_by_ip.label }}</label></span><br>
43
                <span class="choice_span"> {{ form.is_access_access_by_months }} <label>{{ form.is_access_access_by_months.label }}</label></span><br>
44
                <span class="choice_span"> {{ form.is_access_access_by_country }} <label>{{ form.is_access_access_by_country.label }}</label></span><br>
45
                <span class="choice_span"> {{ form.is_access_vo_by_ip }} <label>{{ form.is_access_vo_by_ip.label }}</label></span><br>
46
                <span class="choice_span"> {{ form.is_access_vo_by_months }} <label>{{ form.is_access_vo_by_months.label }}</label></span><br>
47
                <span class="choice_span"> {{ form.is_access_vo_by_country }} <label>{{ form.is_access_vo_by_country.label }}</label></span><br>
48
            </div>
49
        </div>
50
    </ul>
51
    <div id="class_errors">
52
    {% if form.errors  %}
53
        {% for field in form %}
54
            {% for error in field.errors %}
55
                <li> {{ field.label }} : {{ error }} </li>
56
            {% endfor %}
57
        {% endfor %}
58
    {% endif %}
59
    </div>
60
    <input type="submit" value="Submit" />
61
</form>
62
</div>
63
<div id="chart">
64
        <div>
65
                <img sytle="float:left;" src="{% static 'access_by_month.png'%}"><br>
66
                <b>Récapitulatif mensuel d'accès entre le 1er janvier 2012 et le 1er janvi 20<b>
67
        </div>
68
</div>
69
<div id="footer">
70
        <div id="logo_idoc"><div>
71
</div>
72
</body>