uprawnienia do stacji i usuwanie firm
This commit is contained in:
@@ -58,8 +58,6 @@ def create_app(test_config=None):
|
||||
response.headers["Cache-Control"] = "public, max-age=2592000, immutable"
|
||||
elif response.mimetype == "text/html":
|
||||
response.headers["Cache-Control"] = "no-store, no-cache, private, must-revalidate"
|
||||
response.headers["Pragma"] = "no-cache"
|
||||
response.headers["Expires"] = "0"
|
||||
return response
|
||||
|
||||
@login_manager.user_loader
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{% block title %}Firmy i karty{% endblock %}
|
||||
{% block content %}
|
||||
<div class="d-flex flex-column flex-lg-row justify-content-between align-items-lg-center gap-3 mb-3">
|
||||
<div><h1 class="h2 mb-1">Administracja</h1><p class="text-body-secondary mb-0">Firmy, karty paliwowe i firmowe ulubione stacje. <span class="badge text-bg-info ms-1">wersja: company-stations-v2</span></p></div>
|
||||
<div><h1 class="h2 mb-1">Administracja</h1><p class="text-body-secondary mb-0">Firmy, karty paliwowe i firmowe ulubione stacje.</p></div>
|
||||
{% if current_user.role == 'admin' %}<button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#createCompanyModal">Dodaj firmę</button>{% endif %}
|
||||
</div>
|
||||
{% include '_admin_nav.html' %}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user