backups: Split CSS styling into a separate file

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2020-12-17 17:02:34 -08:00 committed by Veiko Aasa
parent b09e252731
commit 001923312b
No known key found for this signature in database
GPG Key ID: 478539CAE680674E
2 changed files with 28 additions and 17 deletions

View File

@ -0,0 +1,25 @@
/*
# SPDX-License-Identifier: AGPL-3.0-or-later
*/
.mount-error,
.mount-success,
.encrypted {
padding: 0 0.3125rem;
}
.mount-error {
color: orange;
}
.mount-success {
color: black;
}
.encrypted {
color: green;
}
.inline-block {
display: inline-block;
}

View File

@ -4,25 +4,11 @@
{% endcomment %}
{% load i18n %}
{% load static %}
{% block page_head %}
<style type="text/css">
.mount-error, .mount-success, .encrypted {
padding: 0 0.3125rem;
}
.mount-error {
color: orange;
}
.mount-success {
color: black;
}
.encrypted {
color: green;
}
.inline-block {
display: inline-block;
}
</style>
<link type="text/css" rel="stylesheet"
href="{% static 'backups/backups.css' %}"/>
{% endblock %}
{% block configuration %}