From 9c2d936b33798ce6014a6fc584968967c6865d79 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 17 Dec 2020 17:04:11 -0800 Subject: [PATCH] sharing: Split CSS styling into a separate file Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- plinth/modules/sharing/static/sharing.css | 11 +++++++++++ plinth/modules/sharing/templates/sharing.html | 13 ++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 plinth/modules/sharing/static/sharing.css diff --git a/plinth/modules/sharing/static/sharing.css b/plinth/modules/sharing/static/sharing.css new file mode 100644 index 000000000..39d29fe90 --- /dev/null +++ b/plinth/modules/sharing/static/sharing.css @@ -0,0 +1,11 @@ +/* +# SPDX-License-Identifier: AGPL-3.0-or-later +*/ + +.share-operations form { + display: inline-block; +} + +.share-operations { + text-align: right; +} diff --git a/plinth/modules/sharing/templates/sharing.html b/plinth/modules/sharing/templates/sharing.html index 819eb6609..e63f125d3 100644 --- a/plinth/modules/sharing/templates/sharing.html +++ b/plinth/modules/sharing/templates/sharing.html @@ -4,16 +4,11 @@ {% endcomment %} {% load i18n %} +{% load static %} {% block page_head %} - + {% endblock %} {% block content %} @@ -65,7 +60,7 @@ href="{% url 'sharing:edit' share.name %}"> -
{% csrf_token %}