|
17 | 17 |
|
18 | 18 | }
|
19 | 19 | });
|
20 |
| - Chart.defaults.aspectRatio = 1; |
| 20 | + Chart.defaults.maintainAspectRatio = false, |
21 | 21 | Chart.defaults.responsive = true;
|
22 | 22 | Chart.defaults.scale.grace = "10%";
|
23 | 23 | Chart.defaults.layout.padding = 10;
|
|
37 | 37 | <div class="heading-1">Statistiques</div>
|
38 | 38 |
|
39 | 39 |
|
40 |
| - <form action="{{url_for('root.statistics')}}" id="statistics-form" method="GET" > |
41 |
| - |
42 |
| - <div class="form-search search-data"> |
| 40 | + <form action="{{url_for('root.statistics')}}" id="statistics-form" method="GET" class="filters"> |
43 | 41 | {{ form.activity_id }}
|
44 | 42 |
|
45 | 43 | {{ form.year }}
|
46 | 44 |
|
47 | 45 | {{ form.submit(class="button button-primary") }}
|
48 | 46 | {{ form.excel(class="button button-primary") }}
|
49 |
| - </div> |
50 | 47 | </form>
|
51 | 48 |
|
52 | 49 | <br/>
|
53 | 50 |
|
54 | 51 | <div class="tile is-ancestor">
|
55 |
| - <div class="tile is-vertical"> |
| 52 | + <div class="tile is-vertical max-100pc"> |
56 | 53 |
|
57 | 54 | <div class="tile">
|
58 | 55 | <div class="heading-2"><br/>évènements (tous types confondus)</div>
|
|
73 | 70 | {% if engine.activity_id == None %}
|
74 | 71 | <div class="tile"> <!-- Start line -->
|
75 | 72 | <div class="tile is-parent">
|
76 |
| - <div class="tile card is-child"> |
| 73 | + <div class="tile card is-child tall"> |
77 | 74 | {% include 'stats/partials/nb_events_by_activity_type.html' %}
|
78 | 75 | </div>
|
79 | 76 | </div>
|
|
99 | 96 | {% if engine.activity_id == None %}
|
100 | 97 | <div class="tile"> <!-- Start line -->
|
101 | 98 | <div class="tile is-parent">
|
102 |
| - <div class="tile card is-child"> |
| 99 | + <div class="tile card is-child tall"> |
103 | 100 | {% include 'stats/partials/nb_collectives_by_activity_type.html' %}
|
104 | 101 | </div>
|
105 | 102 | </div>
|
|
130 | 127 | {% if engine.activity_id == None %}
|
131 | 128 | <div class="tile">
|
132 | 129 | <div class="tile is-parent">
|
133 |
| - <div class="tile card is-child"> |
| 130 | + <div class="tile card is-child tall"> |
134 | 131 | {% include 'stats/partials/nb_user_per_activity_type.html' %}
|
135 | 132 | </div>
|
136 | 133 | </div>
|
|
141 | 138 |
|
142 | 139 | <div class="tile "> <!-- Start line -->
|
143 | 140 | <div class="tile is-parent is-4">
|
144 |
| - <div class="tile card is-child"> |
| 141 | + <div class="tile card is-child tall"> |
145 | 142 | {% include 'stats/partials/nb_registrations_by_gender.html' %}
|
146 | 143 | </div>
|
147 | 144 | </div>
|
148 | 145 |
|
149 | 146 |
|
150 | 147 | <div class="tile is-parent">
|
151 |
| - <div class="tile card is-child"> |
| 148 | + <div class="tile card is-child tall"> |
152 | 149 | {% include 'stats/partials/population_registration_number.html' %}
|
153 | 150 | </div>
|
154 | 151 | </div>
|
|
159 | 156 | </div>
|
160 | 157 | <div class="tile "> <!-- Start line -->
|
161 | 158 | <div class="tile is-parent is-6">
|
162 |
| - <div class="tile card is-child"> |
| 159 | + <div class="tile card is-child tall"> |
163 | 160 | {% include 'stats/partials/nb_events_by_event_type.html' %}
|
164 | 161 | </div>
|
165 | 162 | </div>
|
166 | 163 |
|
167 | 164 | <div class="tile is-parent">
|
168 |
| - <div class="tile card is-child"> |
| 165 | + <div class="tile card is-child tall"> |
169 | 166 | {% include 'stats/partials/nb_events_by_event_tag.html' %}
|
170 | 167 | </div>
|
171 | 168 | </div>
|
|
177 | 174 | </div>
|
178 | 175 | <div class="tile">
|
179 | 176 | <div class="tile is-parent">
|
180 |
| - <div class="tile card is-child"> |
| 177 | + <div class="tile card is-child tall"> |
181 | 178 | {% include 'stats/partials/nb_events_by_leaders.html' %}
|
182 | 179 | </div>
|
183 | 180 | </div>
|
184 | 181 | </div> <!-- End .tile line -->
|
185 | 182 | {% if engine.activity_id == None %}
|
186 | 183 | <div class="tile">
|
187 | 184 | <div class="tile is-parent">
|
188 |
| - <div class="tile card is-child"> |
| 185 | + <div class="tile card is-child tall"> |
189 | 186 | {% include 'stats/partials/volunteer_time_by_activity_type.html' %}
|
190 | 187 | </div>
|
191 | 188 | </div>
|
|
0 commit comments