mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
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:
parent
cd58957e36
commit
b09e252731
15
plinth/modules/upgrades/static/upgrades.css
Normal file
15
plinth/modules/upgrades/static/upgrades.css
Normal 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);
|
||||||
|
}
|
||||||
@ -8,11 +8,8 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block page_head %}
|
{% block page_head %}
|
||||||
<style type="text/css">
|
<link type="text/css" rel="stylesheet"
|
||||||
.processing {
|
href="{% static 'upgrades/upgrades.css' %}"/>
|
||||||
color: var(--progress-color);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|||||||
@ -8,19 +8,8 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block page_head %}
|
{% block page_head %}
|
||||||
<style type="text/css">
|
<link type="text/css" rel="stylesheet"
|
||||||
.warning {
|
href="{% static 'upgrades/upgrades.css' %}"/>
|
||||||
color: var(--warning-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.processing {
|
|
||||||
color: var(--progress-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.normal {
|
|
||||||
color: var(--neutral-dark-color);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block status %}
|
{% block status %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user