Correction du menu responsive design

This commit is contained in:
2023-04-16 17:35:57 +02:00
parent 32912e255a
commit 75326f7798
11 changed files with 238 additions and 249 deletions

View File

@@ -1,28 +1,25 @@
{% set data = load_data(path="social.toml") -%}
<table class="contact center">
<tr>
<th> Service </th>
<th> Compte </th>
</tr>
{% for service in data.services %}
{% if service.obfuscate %}
<tr>
<td> {{ service.name }} </td>
<td class="obfuscate"> {{ service.address }} </td>
</tr>
{% else %}
<tr>
<td> {{ service.name }} </td>
<td> <a href="mailto:{{ service.address }}">
{{ service.address }}
</a>
</td>
</tr>
{% endif %}
{% endfor %}
</table>
<ul class="center">
{% for service in data.services %}
{% if service.obfuscate %}
{% if service.name == "XMPP" %}
<li class="center obfuscate"> <a href=xmpp:{{ service.address }} > Par {{ service.name }} </a></li>
{% endif %}
{% if service.name == "email" %}
<li class="center obfuscate"> <a href=mailto:{{ service.address }} > Par {{ service.name }} </a> </li>
{% endif %}
{% else %}
<li class="center"> <a href="{{ service.address }}"> Sur {{ service.name }} </a></li>
{% endif %}
{% endfor %}
<ul>