Moved inline styling to the stylesheet.

This commit is contained in:
Johannes Erwerle 2026-10-21 21:53:23 +02:00
parent 5471b20f7b
commit 5813d200dc
3 changed files with 15 additions and 5 deletions

View file

@ -28,8 +28,8 @@
{% for repo in object_list %}
<tr>
<td>{{ repo.name }}</td>
<td style="word-break: break-all"><code>{{ repo.truncated_key }}</code></td>
<td style="word-break: break-all"><code>{{ repo.repo_url }}</code></td>
<td class="word-break-break-all"><code>{{ repo.truncated_key }}</code></td>
<td class="word-break-break-all"><code>{{ repo.repo_url }}</code></td>
<td>{% if repo.used_quota < 0 %}not initialized{% else %}{{ repo.used_quota }}/{{ repo.quota }} GB{% endif %}</td>
<td>
<div class="field is-grouped">
@ -51,8 +51,8 @@
</header>
<div class="card-content">
{% for key, fingerprint in BORG_SERVER_PUBKEYS %}
<span style="word-break: break-all"><code>{{ key }}</code></span><br>
<span style="word-break: break-all"><code>{{ fingerprint }}</code></span>
<span class="word-break-break-all"><code>{{ key }}</code></span><br>
<span class="word-break-break-all"><code>{{ fingerprint }}</code></span>
{% if not forloop.last %}
<hr>
{% endif %}