fix css i js

This commit is contained in:
Mateusz Gruszczyński
2025-07-05 16:15:09 +02:00
parent 270c5318d5
commit f6a1f35fd8
3 changed files with 10 additions and 4 deletions

View File

@ -83,9 +83,7 @@
<script src="{{ url_for('static_bp.serve_js', filename='live.js') }}"></script>
<script src="{{ url_for('static_bp.serve_js', filename='toasts.js') }}"></script>
<script src="{{ url_for('static_bp.serve_js', filename='hide_list.js') }}"></script>
<script>
setupList({{ list.id }}, '{{ current_user.username if current_user.is_authenticated else 'Gość' }}');
</script>
{% block scripts %}{% endblock %}

View File

@ -128,4 +128,10 @@ Lista: <strong>{{ list.title }}</strong>
<p><span class="badge bg-secondary">Brak wgranych paragonów do tej listy.</span></p>
{% endif %}
{% block scripts %}
<script>
setupList({{ list.id }}, '{{ current_user.username if current_user.is_authenticated else 'Gość' }}');
</script>
{% endblock %}
{% endblock %}

View File

@ -113,7 +113,9 @@
{% block scripts %}
<script src="{{ url_for('static_bp.serve_js', filename='list_guest.js') }}"></script>
<script>
setupList({{ list.id }}, '{{ current_user.username if current_user.is_authenticated else 'Gość' }}');
</script>
{% endblock %}
{% endblock %}