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>
|
</symbol>
|
||||||
</svg>
|
</svg>
|
||||||
{% if feedback %}
|
{% if feedback %}
|
||||||
{% if feedback=="Service succesfully added" %}
|
{% if feedback=="Service succesfully added" %}
|
||||||
<div class="alert alert-success d-flex align-items-center" role="alert">
|
<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:">
|
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Success:">
|
||||||
<use xlink:href="#check-circle-fill" />
|
<use xlink:href="#check-circle-fill" />
|
||||||
</svg>
|
</svg>
|
||||||
<div>
|
<div>
|
||||||
{{feedback}}
|
{{feedback}}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{% else %}
|
||||||
{% else %}
|
<div class="alert alert-danger d-flex align-items-center" role="alert">
|
||||||
<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:">
|
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Danger:">
|
||||||
<use xlink:href="#exclamation-triangle-fill" />
|
<use xlink:href="#exclamation-triangle-fill" />
|
||||||
</svg>
|
</svg>
|
||||||
<div>
|
<div>
|
||||||
{{feedback}}
|
{{feedback}}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{% endif %}
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div>
|
<div>
|
||||||
{{ form.name.label }} <br> {{ form.name() }}
|
{{ form.name.label }} <br> {{ form.name() }}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
</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 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><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>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user