mirror of
https://github.com/StefBuwalda/WebTech.git
synced 2025-10-30 11:19:58 +00:00
changed update to change
This commit is contained in:
@@ -18,25 +18,25 @@ Add service
|
||||
</symbol>
|
||||
</svg>
|
||||
{% if feedback %}
|
||||
{% if feedback=="Service succesfully added" %}
|
||||
<div class="alert alert-success d-flex align-items-center" role="alert">
|
||||
{% if feedback=="Service succesfully added" %}
|
||||
<div class="alert alert-success d-flex align-items-center" role="alert">
|
||||
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Success:">
|
||||
<use xlink:href="#check-circle-fill" />
|
||||
</svg>
|
||||
<div>
|
||||
{{feedback}}
|
||||
<div>
|
||||
{{feedback}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="alert alert-danger d-flex align-items-center" role="alert">
|
||||
{% else %}
|
||||
<div class="alert alert-danger d-flex align-items-center" role="alert">
|
||||
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Danger:">
|
||||
<use xlink:href="#exclamation-triangle-fill" />
|
||||
</svg>
|
||||
<div>
|
||||
{{feedback}}
|
||||
<div>
|
||||
{{feedback}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<div>
|
||||
{{ form.name.label }} <br> {{ form.name() }}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
</button>
|
||||
<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 {% if active_page == 'update' %}active{% endif %}" href="{{url_for('auth.update')}}">Update 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><a class="dropdown-item" style="color: tomato;" data-bs-theme="dark" href="{{url_for('auth.logout')}}">Logout</a></li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user