Skip to content

Commit

Permalink
Fixed #353: added Back to Top button on config edit
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Jan 9, 2024
1 parent bcdea5b commit 625ae55
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions manager/manager/templates/configuration_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@
width: 48px;
height: 48px;
}
#back-to-top {
position: fixed;
bottom: 1em;
float: right;
right: 1em;
z-index: 100;
}
{% endblock %}

{% block content %}
<a href="#"><button id="back-to-top" class="btn btn-secondary">↑ Top</button></a>

{% if form.errors or form.non_field_errors %}<div class="alert alert-danger">{% blocktrans %}Your config has errors and can not be saved. Please fix them and retry.{% endblocktrans %}{% if form.non_field_errors %}<br />{{ form.non_field_errors }}{% endif %}</div>{% endif %}

Expand Down

0 comments on commit 625ae55

Please sign in to comment.