male zmiany w css
This commit is contained in:
parent
a8d00cc807
commit
ab88b752f5
@ -212,6 +212,7 @@
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNavDropdown">
|
||||
{% if session.get('user_id') %}
|
||||
<ul class="navbar-nav me-auto">
|
||||
<!-- Dashboard -->
|
||||
<li class="nav-item">
|
||||
@ -250,6 +251,7 @@
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
<ul class="navbar-nav ms-auto align-items-center">
|
||||
<!-- Przełącznik trybu ciemnego -->
|
||||
<li class="nav-item me-2">
|
||||
@ -260,14 +262,23 @@
|
||||
</div>
|
||||
</form>
|
||||
</li>
|
||||
<!-- Zmień hasło -->
|
||||
{% if session.get('user_id') %}
|
||||
<!-- Opcje dla zalogowanego użytkownika -->
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-alert ms-2 btn-logout" href="{{ url_for('change_password') }}">Zmień hasło</a>
|
||||
</li>
|
||||
<!-- Wyloguj -->
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-danger ms-2 btn-logout" href="{{ url_for('logout') }}">Wyloguj</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<!-- Opcje logowania i rejestracji dla niezalogowanych -->
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-success ms-2" href="{{ url_for('login') }}">Zaloguj się</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link btn btn-primary ms-2" href="{{ url_for('register') }}">Zarejestruj się</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,7 +1,18 @@
|
||||
{% extends "base.html" %}
|
||||
{% block head %}
|
||||
<style>
|
||||
@media (max-width: 576px) {
|
||||
.full-height-row {
|
||||
min-height: auto !important;
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<div class="row justify-content-center align-items-center" style="min-height: 100vh;">
|
||||
<div class="row full-height-row justify-content-center align-items-center" style="min-height: 100vh;">
|
||||
<div class="col-md-6">
|
||||
<div class="card shadow">
|
||||
<div class="card-header text-center">
|
||||
|
@ -1,7 +1,18 @@
|
||||
{% extends "base.html" %}
|
||||
{% block head %}
|
||||
<style>
|
||||
@media (max-width: 576px) {
|
||||
.full-height-row {
|
||||
min-height: auto !important;
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<div class="row justify-content-center align-items-center" style="min-height: 100vh;">
|
||||
<div class="row full-height-row justify-content-center align-items-center" style="min-height: 100vh;">
|
||||
<div class="col-md-6">
|
||||
<div class="card shadow">
|
||||
<div class="card-header text-center">
|
||||
|
Loading…
x
Reference in New Issue
Block a user