mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-23 03:19:31 +00:00
Implemented scroll to top using stimulus.
This commit is contained in:
parent
8ccf5652ab
commit
1f890efc97
3 changed files with 30 additions and 27 deletions
|
|
@ -107,10 +107,10 @@
|
|||
{# Back to top buton #}
|
||||
|
||||
<!-- Back to top button -->
|
||||
<a id="back-to-top" href="#" class="btn btn-primary back-to-top" role="button"
|
||||
title="{% trans %}back_to_top{% endtrans %}" data-bs-toggle="tooltip" data-placement="left">
|
||||
<button id="back-to-top" class="btn btn-primary back-to-top" role="button" title="{% trans %}back_to_top{% endtrans %}"
|
||||
{{ stimulus_controller('common/back_to_top') }} {{ stimulus_action('common/back_to_top', 'backToTop') }}>
|
||||
<i class="fas fa-angle-up fa-fw"></i>
|
||||
</a>
|
||||
</button>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue