mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
sharing: 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
3031d2063d
commit
9c2d936b33
11
plinth/modules/sharing/static/sharing.css
Normal file
11
plinth/modules/sharing/static/sharing.css
Normal file
@ -0,0 +1,11 @@
|
||||
/*
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
.share-operations form {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.share-operations {
|
||||
text-align: right;
|
||||
}
|
||||
@ -4,16 +4,11 @@
|
||||
{% endcomment %}
|
||||
|
||||
{% load i18n %}
|
||||
{% load static %}
|
||||
|
||||
{% block page_head %}
|
||||
<style type="text/css">
|
||||
.share-operations form {
|
||||
display: inline-block;
|
||||
}
|
||||
.share-operations {
|
||||
text-align: right;
|
||||
}
|
||||
</style>
|
||||
<link type="text/css" rel="stylesheet"
|
||||
href="{% static 'sharing/sharing.css' %}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
@ -65,7 +60,7 @@
|
||||
href="{% url 'sharing:edit' share.name %}">
|
||||
<span class="fa fa-pencil-square-o" aria-hidden="true"></span>
|
||||
</a>
|
||||
<form class="form form-inline" method="post"
|
||||
<form class="form" method="post"
|
||||
action="{% url 'sharing:remove' share.name %}">
|
||||
{% csrf_token %}
|
||||
<button class="share-remove btn btn-sm btn-default fa fa-trash-o"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user