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 authored and Veiko Aasa committed 2020-12-19 16:26:49 +02:00
1 parent cd58957e36
commit b09e252731
3 files changed
+19 -18

No files matched your search

@@ -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);
}
@@ -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 %}
@@ -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 %}