websegura/index.njk
2021-01-18 17:21:18 +01:00

44 lines
1.4 KiB
Plaintext

---
layout: base
---
<section>
<div class="table-wrapper">
<table>
<thead>
<tr>
<th>Nota</th>
<th>Sitio web</th>
<th>¡Házselo saber!</th>
</tr>
</thead>
<tbody>
{% for web in results.meta %}
{% set security = results[web.url | replace(".", "!")] %}
<tr style="background-color: {{ security | color }}">
<td><abbr title="{{ security | abbr }}">{{ security.grade }}</abbr></td>
<td>
<a href="https://observatory.mozilla.org/analyze/{{ web.url }}" target="_blank" alt="Detalles técnicos" title="Detalles técnicos">{{ web.url | replace("www.", "") }}</a>
</td>
<td>
{% if web.twitter %}
<a class="twitter-share-button" href="https://twitter.com/intent/tweet/?text={{ 'Hola @' + web.twitter + '
🔒 La seguridad de vuestra web y usuarios puede ser comprometida si no actualizáis vuestras conexiones seguras (HTTPS).
⚠️ ¡Por favor, revisadlo cuanto antes!
websegura.pucelabits.org
#websegura /vía @PucelaBits' | urlEncode }}" target="_blank" rel="noopener" aria-label="Twitter">
<span class="icon brands fa-twitter">
<span>Twitter</span>
</a>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</section>