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 %}
|
||||
|
||||
{% 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 %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user