Moved inline styling to the stylesheet.
This commit is contained in:
parent
5471b20f7b
commit
5813d200dc
3 changed files with 15 additions and 5 deletions
|
|
@ -32,7 +32,7 @@
|
|||
});
|
||||
</script>
|
||||
</head>
|
||||
<body style="display: flex; flex-direction: column; height: 100vh">
|
||||
<body>
|
||||
<nav class="navbar" role="navigation" aria-label="main navigation" >
|
||||
<div class="navbar-brand">
|
||||
<a class="navbar-item" href="/"><img id="logo" class="pixelart" src="{% static 'webui/logo.png' %}" alt="The logo if Community Backup, a pixelated hard disk platter and head."/> Community Backup</a>
|
||||
|
|
|
|||
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue