monitoring-jekyll-theme 0.3.6 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f7e93b263337a76b54d680c576b0890810ba160b5bf6aefe7b63c662b29398e
4
- data.tar.gz: 6c39d92d3821486fcec40b5acdb85562655ab733a573c5ab1133b1bf6e911676
3
+ metadata.gz: 305e5c6aa25cb0ae0a1459f42fa2cb35e228dbe52ed85fcab554647c6a089927
4
+ data.tar.gz: f831d282c73c422741e4c6a7b6a36957f1580c098961fa2d84000b815f2b70a5
5
5
  SHA512:
6
- metadata.gz: 1ebd9101645b7291df37a1f86cf2e778c76eca016bf5e461eb723bdca3d60fe266a5dabe3e6e6dd26835e6551dcc4520af119f20ad86de60d2845f5d960798df
7
- data.tar.gz: 8bbaa02a294316546c5b3780f5e3c70fd998c28b002d56754b8070aefe9d5f75ecdf1a8bd95f60553adf13f35f6ad52520b7dcb1fcf97bb9f5203558a1766d48
6
+ metadata.gz: df1e468ca89af99d7182f17d1c9022d9630661919fa693ea0c0d150fc4430c9ed42b94256dad798a5c662602109b90a861bd119ff10ffe0e6196fda32a51225f
7
+ data.tar.gz: 5d940cfd116addda300ff5255cdda6e6cd9532484b0aac78364fa43bf2d7f04728a7c62e2d74d864c13432f3f67aaace57bb74e23e73b7e5fe88d7256875b993
@@ -154,15 +154,15 @@
154
154
 
155
155
  {% assign networkrequests = lighthouse.audits.["network-requests"].details.items | group_by: "resourceType" %}
156
156
  {% for items in networkrequests %}
157
- {% if items.name != 'Document' %}{% if items.name != 'Other' %}{% if items.items %}
157
+ {% if items.items %}
158
158
  {% if items.items %}<h3>{{ items.name }}</h3>{% endif %}
159
159
  <ul>
160
160
  {% assign requests = items.items | sort: 'transferSize'%}
161
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 %}
162
+ <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>
163
163
  {% endfor %}
164
164
  </ul>
165
- {% endif %}{% endif %}{% endif %}
165
+ {% endif %}
166
166
  {% endfor %}
167
167
  {% endfor %}
168
168
  </div>
@@ -180,10 +180,21 @@
180
180
  </ul>
181
181
 
182
182
  {% for website in site.pagestested %}
183
- {% assign labels = "" | split: ',' %}{% for data in file %}{% if site.data.[website].gpagespeed[data] %}{% assign date = data | date: "%d/%m/%y" | prepend: "'" | append: "'" %}{% assign labels = labels | push: date %}{% endif %}{% endfor %}
184
- {% assign ttfb = "" | split: ',' %}{% for data in file %}{% if site.data.[website].gpagespeed[data] %}{% assign ttfb = ttfb | push: site.data.[website].yellowlabtools[data].toolsResults.phantomas.metrics.timeToFirstByte %}{% endif %}{% endfor %}
185
- {% assign tti = "" | split: ',' %}{% for data in file %}{% if site.data.[website].gpagespeed[data] %}{% assign tti = tti | push: site.data.[website].yellowlabtools[data].toolsResults.phantomas.metrics.domContentLoadedEnd %}{% endif %}{% endfor %}
186
- {% assign score = "" | split: ',' %}{% for data in file %}{% if site.data.[website].gpagespeed[data] %}{% assign score = score | push: site.data.[website].gpagespeed[data].ruleGroups.SPEED.score %}{% endif %}{% endfor %}
183
+
184
+ {% assign labels = "" | split: ',' %}
185
+ {% assign ttfb = "" | split: ',' %}
186
+ {% assign tti = "" | split: ',' %}
187
+ {% assign score = "" | split: ',' %}
188
+
189
+ {% for data in file %}
190
+ {% if site.data.[website].gpagespeed[data] %}
191
+ {% assign date = data | date: "%d/%m/%y" | prepend: "'" | append: "'" %}
192
+ {% assign labels = labels | push: date %}
193
+ {% assign ttfb = ttfb | push: site.data.[website].yellowlabtools[data].toolsResults.phantomas.metrics.timeToFirstByte %}
194
+ {% assign tti = tti | push: site.data.[website].yellowlabtools[data].toolsResults.phantomas.metrics.domContentLoadedEnd %}
195
+ {% assign score = score | push: site.data.[website].gpagespeed[data].ruleGroups.SPEED.score %}
196
+ {% endif %}
197
+ {% endfor %}
187
198
 
188
199
  <div id="id_{{ forloop.index }}" class="js-tabcontent">
189
200
  <h3>{{ website }}</h3>
@@ -334,7 +345,7 @@
334
345
 
335
346
  <div class="list-actions list-actions-title">
336
347
  {% for website in site.pagestested limit: 1 %}
337
- <h3 class="js-expandmore mb0 mt0" data-hideshow-prefix-class="animated" id="diagnostic-quality">Points de conformité</h3>
348
+ <h3 class="js-expandmore mb0 mt0" data-hideshow-prefix-class="animated" id="diagnostic-quality">Points de conformite</h3>
338
349
  <div class="js-to_expand">
339
350
  <ul>
340
351
  {% assign lighthouse = site.data.[website].lighthouse[datelastcrawl] %}
@@ -140,6 +140,7 @@ a {
140
140
  }
141
141
 
142
142
  .list-actions {
143
+ width: 100%;
143
144
  max-width: 100%;
144
145
  }
145
146
 
@@ -306,21 +307,11 @@ a {
306
307
  order: 4;
307
308
  }
308
309
 
309
- .list-actions ul li.progressive-web-app ~ .progressive-web-app,
310
- .list-actions ul li.performance ~ .performance,
311
- .list-actions ul li.best-practices ~ .best-practices,
312
- .list-actions ul li.accessibility ~ .accessibility,
313
- .list-actions ul li.seo ~ .seo,
314
- .list-actions ul li.pwa ~ .pwa {
310
+ .list-actions ul li.progressive-web-app ~ .progressive-web-app, .list-actions ul li.performance ~ .performance, .list-actions ul li.best-practices ~ .best-practices, .list-actions ul li.accessibility ~ .accessibility, .list-actions ul li.seo ~ .seo, .list-actions ul li.pwa ~ .pwa {
315
311
  margin-top: -1px;
316
312
  }
317
313
 
318
- .list-actions ul li.progressive-web-app ~ .progressive-web-app::before,
319
- .list-actions ul li.performance ~ .performance::before,
320
- .list-actions ul li.best-practices ~ .best-practices::before,
321
- .list-actions ul li.accessibility ~ .accessibility::before,
322
- .list-actions ul li.seo ~ .seo::before,
323
- .list-actions ul li.pwa ~ .pwa::before {
314
+ .list-actions ul li.progressive-web-app ~ .progressive-web-app::before, .list-actions ul li.performance ~ .performance::before, .list-actions ul li.best-practices ~ .best-practices::before, .list-actions ul li.accessibility ~ .accessibility::before, .list-actions ul li.seo ~ .seo::before, .list-actions ul li.pwa ~ .pwa::before {
324
315
  display: none;
325
316
  }
326
317
 
@@ -349,6 +340,8 @@ a {
349
340
  display: flex;
350
341
  flex-wrap: wrap;
351
342
  margin: 0;
343
+ max-width: 100%;
344
+ overflow: hidden;
352
345
  }
353
346
 
354
347
  .grid:not(:nth-last-child(-n+3)) {
@@ -360,19 +353,20 @@ a {
360
353
  }
361
354
 
362
355
  .grid-score {
363
- margin: 2em 0 1em;
364
356
  display: grid;
357
+ grid-template-columns: repeat(50, 1fr);
365
358
  box-sizing: border-box;
366
- grid-template-columns: repeat(50,1fr);
359
+ margin: 2em 0 1em;
360
+
367
361
  grid-auto-flow: row dense;
368
362
  }
369
363
 
370
364
  .grid-score b {
371
365
  display: flex;
372
- text-align: center;
366
+ justify-content: center;
373
367
  padding: 1em;
368
+ text-align: center;
374
369
  border: 1px solid;
375
- justify-content: center;
376
370
  }
377
371
 
378
372
  .grid-score span {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monitoring-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - bertrandkeller