drobne UX

This commit is contained in:
Mateusz Gruszczyński
2025-07-03 15:03:33 +02:00
parent f0a60c9134
commit f03c71cb85
3 changed files with 11 additions and 7 deletions

View File

@ -6,6 +6,7 @@
<title>{% block title %}Live Lista Zakupów{% endblock %}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css" rel="stylesheet">
<link rel="icon" type="image/svg+xml" href="{{ url_for('favicon') }}">
<script src="https://cdn.socket.io/4.6.1/socket.io.min.js"></script>
<script src="{{ url_for('static_bp.serve_live_js') }}?v={{ time.time() | int }}"></script>
@ -19,7 +20,6 @@
🛒 Live <span class="text-warning">Lista</span> Zakupów
</a>
{% if current_user.is_authenticated %}
<span class="mx-auto text-white">Zalogowany jako: <strong>{{ current_user.username }}</strong></span>
{% else %}
@ -39,7 +39,6 @@
</div>
</nav>
<div id="toast-container" class="toast-container position-fixed bottom-0 end-0 p-3"></div>
<div class="container px-2">

View File

@ -11,7 +11,7 @@
<div class="card-body d-flex flex-column flex-md-row justify-content-between align-items-start align-items-md-center gap-2">
<div>
<strong>🔗 Udostępnij link:</strong><br>
<span class="badge bg-secondary text-wrap" style="font-size: 0.9rem;">
<span class="badge bg-secondary text-wrap" style="font-size: 0.7rem;">
{{ request.url_root }}share/{{ list.share_token }}
</span>
</div>