-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
fifthaccess
committed
May 2, 2022
1 parent
25824a7
commit 2fae40c
Showing
4 changed files
with
66 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{%extends 'base.html'%} | ||
|
||
{%block body%} | ||
|
||
<!--{% with messages = get_flashed_messages() %} | ||
{% if messages %} | ||
<div class="alert alert-warning alert-dismissible fade show" role="alert"> | ||
{% for message in messages %} | ||
{{ message }} | ||
{% endfor %} | ||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> | ||
</div> | ||
{% endif %} | ||
{% endwith %}--> | ||
|
||
|
||
<a class="nav-link dropdown-toggle" href="/products" id="navbarDropdownMenuLink" role="button" | ||
data-bs-toggle="dropdown" aria-expanded="false"> | ||
Optionen | ||
</a> | ||
|
||
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"> | ||
<li><a class="dropdown-item" href="/">Hauptseite</a></li> | ||
<!-- <li><a class="dropdown-item" href="/managers">View Managers</a></li> | ||
<li><a class="dropdown-item" href="/managers/add">Add Managers</a></li> | ||
<li><a class="dropdown-item" href="/managers/delete">Delete Managers</a></li> | ||
<li><a class="dropdown-item" href="/products/add">Hinzufügen</a></li>--> | ||
</ul> | ||
|
||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th scope="col">KuenstlerId</th> | ||
<th scope="col">ManagerID</th> | ||
<th scope="col">Vorname</th> | ||
<th scope="col">Nachname</th> | ||
<th scope="col">Herkunftsland</th> | ||
<th scope="col">Gehalt</th> | ||
<th scope="col">edit</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
|
||
{% for kuenstler in kuenstlers %} | ||
<tr> | ||
<td>{{kuenstler.KuenstlerId}}</td> | ||
<td>{{kuenstler.ManagerID}}</td> | ||
<td>{{kuenstler.Vorname}}</td> | ||
<td>{{kuenstler.Nachname}}</td> | ||
<td>{{kuenstler.Herkunftsland}}</td> | ||
<td>{{kuenstler.Gehalt}}</td> | ||
<td><button class="btn btn-info " onclick= "window.location.href='/managers/edit?itemid={{kuenstler.KuenstlerId}}'">✏️</button></td> | ||
|
||
</tr> | ||
{% endfor %} | ||
|
||
|
||
</tbody> | ||
</table> | ||
|
||
{%endblock%} |