Moved inline styling to the stylesheet.
This commit is contained in:
parent
5471b20f7b
commit
5813d200dc
3 changed files with 15 additions and 5 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
body {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
.pixelart {
|
.pixelart {
|
||||||
image-rendering: crisp-edges;
|
image-rendering: crisp-edges;
|
||||||
}
|
}
|
||||||
|
|
@ -6,3 +12,7 @@
|
||||||
min-width: 32px;
|
min-width: 32px;
|
||||||
min-height: 32px;
|
min-height: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.word-break-break-all {
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body style="display: flex; flex-direction: column; height: 100vh">
|
<body>
|
||||||
<nav class="navbar" role="navigation" aria-label="main navigation" >
|
<nav class="navbar" role="navigation" aria-label="main navigation" >
|
||||||
<div class="navbar-brand">
|
<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>
|
<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 %}
|
{% for repo in object_list %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ repo.name }}</td>
|
<td>{{ repo.name }}</td>
|
||||||
<td style="word-break: break-all"><code>{{ repo.truncated_key }}</code></td>
|
<td class="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.repo_url }}</code></td>
|
||||||
<td>{% if repo.used_quota < 0 %}not initialized{% else %}{{ repo.used_quota }}/{{ repo.quota }} GB{% endif %}</td>
|
<td>{% if repo.used_quota < 0 %}not initialized{% else %}{{ repo.used_quota }}/{{ repo.quota }} GB{% endif %}</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="field is-grouped">
|
<div class="field is-grouped">
|
||||||
|
|
@ -51,8 +51,8 @@
|
||||||
</header>
|
</header>
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
{% for key, fingerprint in BORG_SERVER_PUBKEYS %}
|
{% for key, fingerprint in BORG_SERVER_PUBKEYS %}
|
||||||
<span style="word-break: break-all"><code>{{ key }}</code></span><br>
|
<span class="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>{{ fingerprint }}</code></span>
|
||||||
{% if not forloop.last %}
|
{% if not forloop.last %}
|
||||||
<hr>
|
<hr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue