upgrades: 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 16:56:34 -08:00 committed by Veiko Aasa
parent cd58957e36
commit b09e252731
No known key found for this signature in database
GPG Key ID: 478539CAE680674E
3 changed files with 19 additions and 18 deletions

View File

@ -0,0 +1,15 @@
/*
# SPDX-License-Identifier: AGPL-3.0-or-later
*/
.warning {
color: var(--warning-color);
}
.processing {
color: var(--progress-color);
}
.normal {
color: var(--neutral-dark-color);
}

View File

@ -8,11 +8,8 @@
{% load static %}
{% block page_head %}
<style type="text/css">
.processing {
color: var(--progress-color);
}
</style>
<link type="text/css" rel="stylesheet"
href="{% static 'upgrades/upgrades.css' %}"/>
{% endblock %}
{% block content %}

View File

@ -8,19 +8,8 @@
{% load static %}
{% block page_head %}
<style type="text/css">
.warning {
color: var(--warning-color);
}
.processing {
color: var(--progress-color);
}
.normal {
color: var(--neutral-dark-color);
}
</style>
<link type="text/css" rel="stylesheet"
href="{% static 'upgrades/upgrades.css' %}"/>
{% endblock %}
{% block status %}