style changes

This commit is contained in:
DaanoGames
2025-04-16 15:42:37 +02:00
parent a7d68ae07d
commit ecc3ce93f4
3 changed files with 6 additions and 7 deletions

View File

@@ -23,10 +23,10 @@ Login
<div> <div>
{{ form.username.label }} <br> {{ form.username() }} {{ form.username.label }} <br> {{ form.username() }}
</div> </div>
<div> <div class="padding">
{{ form.password.label }} <br> {{ form.password() }} {{ form.password.label }} <br> {{ form.password() }}
</div> </div>
<div class="submit"> <div class="padding">
{{ form.submit() }} {{ form.submit() }}
</div> </div>
</form> </form>

View File

@@ -13,14 +13,13 @@ Update
<div> <div>
Current password <br> {{ form.current_password() }} Current password <br> {{ form.current_password() }}
</div> </div>
<div> <div class="padding">
New password <br> {{ form.password() }} New password <br> {{ form.password() }}
</div> </div>
<div> <div class="padding">
Confirm new password <br> {{ form.confirm_password() }} Confirm new password <br> {{ form.confirm_password() }}
</div> </div>
<div class="padding">
<div class="submit">
{{ form.submit() }} {{ form.submit() }}
</div> </div>
</form> </form>

View File

@@ -42,7 +42,7 @@
Profile Profile
</button> </button>
<ul class="dropdown-menu dropdown-menu-end dropdown-menu-lg-start" aria-labelledby="dropdownMenuButton1"> <ul class="dropdown-menu dropdown-menu-end dropdown-menu-lg-start" aria-labelledby="dropdownMenuButton1">
<li class="dropdown-item">Username: {{current_user.username}} </li> <li><a class="dropdown-item">Username: {{current_user.username}}</a></li>
<li><a class="dropdown-item {% if active_page == 'update' %}active{% endif %}" href="{{url_for('auth.update')}}">Change password</a></li> <li><a class="dropdown-item {% if active_page == 'update' %}active{% endif %}" href="{{url_for('auth.update')}}">Change password</a></li>
<li><hr class="dropdown-divider"></li> <li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" style="color: tomato;" data-bs-theme="dark" href="{{url_for('auth.logout')}}">Logout</a></li> <li><a class="dropdown-item" style="color: tomato;" data-bs-theme="dark" href="{{url_for('auth.logout')}}">Logout</a></li>