monitoring-jekyll-theme 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/statistiques.html +41 -40
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3d53cf606a0021ef1421a306cfffae5e88ab058069b7b0bc1c8b71dc1a614db
4
- data.tar.gz: 8fadd20d76d9d6ec9faa7f73ac108e5bac2f8de8718146cc2e2580f618e76255
3
+ metadata.gz: f1db6a4daba414220e37cf54b4c377813a89931fb84af035982e8ef06dfe8690
4
+ data.tar.gz: 21eda00c7c0426f2b0e3246208e927e9f8cfef732abfa34c396ef7f9c008c7d4
5
5
  SHA512:
6
- metadata.gz: b5d57ac64d91fc334dce3f63d1c3feb9ce76bdb9e904281e6f328063a7e08211b0f719cec86ef63502d3eb8b3e552f0dd4872405c8fb6fadae43e591b8edb59c
7
- data.tar.gz: 4850f2bf1377ee6723dfd416ec8de14dd23fd09f564888805e2b592da3594720db0af81409b32f601a34de7cd2bf633d8856b9dddb3a2bd2c7860bcdbf72fbe4
6
+ metadata.gz: 3da6411aad6d28de44472d594420869f5f4f7cc079c984248a97d42300f2ea9731e0e6222f3d1b556325ba1f1dc4377b51aeb78120b2ce185254fc2a0bc348c9
7
+ data.tar.gz: 4d2f62d0846439aac87c835eb119d8bb896f38b862bad8f35664bad1e800dbdaecb1e01fbc69731daf70dab7a87b1fc2d94027b35f8be326723366d497a05b9f
@@ -129,6 +129,47 @@
129
129
  {% endif %}
130
130
  {% endfor %}
131
131
 
132
+ <div class="list-actions list-actions-table">
133
+ {% for website in site.pagestested limit: 1 %}
134
+ {% assign lighthouse = site.data.[website].lighthouse[datelastcrawl] %}
135
+ {% assign total = 0 %}
136
+ {% assign networkrequests = lighthouse.audits.["network-requests"].details.items %}
137
+ {% if networkrequests.resourceType != 'Document' %}{% if networkrequests.resourceType != 'Other' %}
138
+ {% assign requests = networkrequests | sort: 'transferSize'%}
139
+ {% for request in requests reversed %}{% assign total = total | plus: request.transferSize %}{% endfor %}
140
+ {% endif %}{% endif %}
141
+ {% endfor %}
142
+ <h3>Tableaux des points energie perdus</h3>
143
+ <div class="grid grid-score">
144
+ {% for request in requests reversed %}
145
+ {% if request.transferSize > 32000 %}<div style="grid-area: auto / auto / span 1 / span {{ request.transferSize | times: 1.00 | divided_by: 6 | times: 50 | divided_by: ecoworth | round: 0 }};position: relative;"><span>{{ request.url }}</span><b class="pointseco" title="{{ request.url }}">{{ request.transferSize | times: 1.00 | times: 5 | divided_by: 6 | times: 100 | divided_by: ecoworth | round: 0 }}</b></div>{% endif %}
146
+ {% endfor %}
147
+ </div>
148
+
149
+
150
+ <h3 class="js-expandmore mb0 mt0" data-hideshow-prefix-class="animated" id="diagnostic-energy">Points energie</h3>
151
+ <div class="js-to_expand">
152
+ {% for website in site.pagestested limit: 1 %}
153
+ {% assign lighthouse = site.data.[website].lighthouse[datelastcrawl] %}
154
+
155
+ {% assign networkrequests = lighthouse.audits.["network-requests"].details.items | group_by: "resourceType" %}
156
+ {% for items in networkrequests %}
157
+ {% if items.name != 'Document' %}{% if items.name != 'Other' %}{% if items.items %}
158
+ {% if items.items %}<h3>{{ items.name }}</h3>{% endif %}
159
+ <ul>
160
+ {% assign requests = items.items | sort: 'transferSize'%}
161
+ {% for request in requests reversed %}
162
+ {% if request.transferSize > 32000 %}<li><a href="{{ request.url }}" title="{{ request.url }}">{{ request.url | slice: 0, 100 }}</a><b>{{ request.transferSize | filesize }}</b><b class="pointseco">{{ request.transferSize | times: 1.00 | times: 5 | divided_by: 6 | times: 100 | divided_by: ecoworth | round: 0 }}</b></li>{% endif %}
163
+ {% endfor %}
164
+ </ul>
165
+ {% endif %}{% endif %}{% endif %}
166
+ {% endfor %}
167
+ {% endfor %}
168
+ </div>
169
+ </div>
170
+
171
+ <br><br>
172
+
132
173
  <div class="js-tabs" data-existing-hx="h2" data-tabs-prefix-class="tabs">
133
174
  <ul class="js-tablist">
134
175
  {% for website in site.pagestested %}
@@ -291,46 +332,6 @@
291
332
  {% endfor %}
292
333
  </div>
293
334
 
294
- <div class="list-actions list-actions-table">
295
- {% for website in site.pagestested limit: 1 %}
296
- {% assign lighthouse = site.data.[website].lighthouse[datelastcrawl] %}
297
- {% assign total = 0 %}
298
- {% assign networkrequests = lighthouse.audits.["network-requests"].details.items %}
299
- {% if networkrequests.resourceType != 'Document' %}{% if networkrequests.resourceType != 'Other' %}
300
- {% assign requests = networkrequests | sort: 'transferSize'%}
301
- {% for request in requests reversed %}{% assign total = total | plus: request.transferSize %}{% endfor %}
302
- {% endif %}{% endif %}
303
- {% endfor %}
304
- <h3>Tableaux des points energie perdus</h3>
305
- <div class="grid grid-score">
306
- {% for request in requests reversed %}
307
- {% if request.transferSize > 32000 %}<div style="grid-area: auto / auto / span 1 / span {{ request.transferSize | times: 1.00 | divided_by: 6 | times: 50 | divided_by: ecoworth | round: 0 }};position: relative;"><span>{{ request.url }}</span><b class="pointseco" title="{{ request.url }}">{{ request.transferSize | times: 1.00 | times: 5 | divided_by: 6 | times: 100 | divided_by: ecoworth | round: 0 }}</b></div>{% endif %}
308
- {% endfor %}
309
- </div>
310
-
311
-
312
- <h3 class="js-expandmore mb0 mt0" data-hideshow-prefix-class="animated" id="diagnostic-energy">Points energie</h3>
313
- <div class="js-to_expand">
314
- {% for website in site.pagestested limit: 1 %}
315
- {% assign lighthouse = site.data.[website].lighthouse[datelastcrawl] %}
316
-
317
- {% assign networkrequests = lighthouse.audits.["network-requests"].details.items | group_by: "resourceType" %}
318
- {% for items in networkrequests %}
319
- {% if items.name != 'Document' %}{% if items.name != 'Other' %}{% if items.items %}
320
- {% if items.items %}<h3>{{ items.name }}</h3>{% endif %}
321
- <ul>
322
- {% assign requests = items.items | sort: 'transferSize'%}
323
- {% for request in requests reversed %}
324
- {% if request.transferSize > 32000 %}<li><a href="{{ request.url }}" title="{{ request.url }}">{{ request.url | slice: 0, 100 }}</a><b>{{ request.transferSize | filesize }}</b><b class="pointseco">{{ request.transferSize | times: 1.00 | times: 5 | divided_by: 6 | times: 100 | divided_by: ecoworth | round: 0 }}</b></li>{% endif %}
325
- {% endfor %}
326
- </ul>
327
- {% endif %}{% endif %}{% endif %}
328
- {% endfor %}
329
- {% endfor %}
330
- </div>
331
- </div>
332
-
333
-
334
335
  <div class="list-actions list-actions-title">
335
336
  {% for website in site.pagestested limit: 1 %}
336
337
  <h3 class="js-expandmore mb0 mt0" data-hideshow-prefix-class="animated" id="diagnostic-quality">Points de conformité</h3>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monitoring-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - bertrandkeller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-17 00:00:00.000000000 Z
11
+ date: 2019-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll