update alert ui

This commit is contained in:
envoyr
2022-04-21 20:02:14 +02:00
parent d3ae4c5d72
commit 5752222baa
4 changed files with 11 additions and 4 deletions

View File

@@ -17,8 +17,7 @@
<input type="hidden" name="delete_userfiles" value="0"/>
{% endif %}
{% endif %}
<hr>
<p class="mb-0">
<p>
<input type="hidden" name="send" value="send"/>
{% for id,field in url_params %}
<input type="hidden" name="{{ id }}" value="{{ field }}"/>

View File

@@ -1,4 +1,4 @@
<div class="alert alert-{{ type|default("info") }} fade show pb-1" role="alert">
<div class="alert alert-{{ type|default("info") }} fade show" role="alert">
{% if heading is defined and heading is not empty %}
<h4 class="alert-heading">
{{ heading }}
@@ -14,7 +14,7 @@
</p>
{% endif %}
{% if redirect_link %}
<p class="mt-1 pb-3">
<p>
<a href="{{ redirect_link|raw }}" class="btn btn-{{ btntype }}">
{% if type == 'danger' %}
{{ lng('panel.back') }}

View File

@@ -0,0 +1,7 @@
.alert {
@extend .shadow-sm;
p:last-of-type {
margin-bottom: 0;
}
}

View File

@@ -7,6 +7,7 @@
// Theme
@import "global";
@import "components/alert";
@import "components/card";
@import "components/dropdown";
@import "components/footer";