mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
samba: Split CSS styling into separate file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
c37bb77ed3
commit
cd58957e36
16
plinth/modules/samba/static/samba.css
Normal file
16
plinth/modules/samba/static/samba.css
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
*/
|
||||||
|
|
||||||
|
.progress {
|
||||||
|
margin-bottom: 0;
|
||||||
|
width: 11.25rem;
|
||||||
|
}
|
||||||
|
.samba-disk-name {
|
||||||
|
font-size: 1.3rem;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.samba-disk-shares {
|
||||||
|
padding-top: 0.625rem;
|
||||||
|
margin-bottom: 1.25rem;
|
||||||
|
}
|
||||||
@ -9,20 +9,8 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block page_head %}
|
{% block page_head %}
|
||||||
<style type="text/css">
|
<link type="text/css" rel="stylesheet"
|
||||||
.progress {
|
href="{% static 'samba/samba.css' %}"/>
|
||||||
margin-bottom: 0;
|
|
||||||
width: 11.25rem;
|
|
||||||
}
|
|
||||||
.samba-disk-name {
|
|
||||||
font-size: 1.3rem;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
.samba-disk-shares {
|
|
||||||
padding-top: 0.625rem;
|
|
||||||
margin-bottom: 1.25rem;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block configuration %}
|
{% block configuration %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user