From cd58957e36aacbbb4e03cf80ad269913f5aa7dd5 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 17 Dec 2020 16:54:24 -0800 Subject: [PATCH] samba: Split CSS styling into separate file Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- plinth/modules/samba/static/samba.css | 16 ++++++++++++++++ plinth/modules/samba/templates/samba.html | 16 ++-------------- 2 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 plinth/modules/samba/static/samba.css diff --git a/plinth/modules/samba/static/samba.css b/plinth/modules/samba/static/samba.css new file mode 100644 index 000000000..cc8757a3c --- /dev/null +++ b/plinth/modules/samba/static/samba.css @@ -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; +} diff --git a/plinth/modules/samba/templates/samba.html b/plinth/modules/samba/templates/samba.html index 380d47f9b..332c4f6ff 100644 --- a/plinth/modules/samba/templates/samba.html +++ b/plinth/modules/samba/templates/samba.html @@ -9,20 +9,8 @@ {% load static %} {% block page_head %} - + {% endblock %} {% block configuration %}