Skip to content

Commit

Permalink
updating dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
fifthaccess committed Apr 5, 2022
1 parent edcbc4b commit 9a1cfde
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 21 deletions.
12 changes: 0 additions & 12 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,6 @@
<h1>{{headline}}</h1>



<a class="nav-link dropdown-toggle" href="/products" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Member
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="/">Hauptseite</a></li>
<li><a class="dropdown-item" href="/managers">Managers</a></li>

<!--<li><a class="dropdown-item" href="/products/add">Hinzufügen</a></li>-->
</ul>


{%block body%}

Expand Down
10 changes: 10 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,14 @@
{%block body%}

Die wunderschöne aplikation von fifth
<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">Managers</a></li>

<!--<li><a class="dropdown-item" href="/products/add">Hinzufügen</a></li>-->
</ul>
{%endblock%}
26 changes: 18 additions & 8 deletions templates/manager/addmanager.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,42 @@

{%block body%}



<form method="post">
{{managers.csrf_token}}
<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="/products/add">Hinzufügen</a></li>-->
</ul>

<form method="POST">
{{form.csrf_token}}

<!-- {{ form.errors }} -->


<div class="mb-3">
<label for="Vorname" class="form-label">Vorname</label>
{{managers.Vorname(class_="form-control")}}
{{form.Vorname(class_="form-control")}}
</div>

<div class="mb-3">
<label for="Nachname" class="form-label">Nachname</label>
{{managers.Nachname(class_="form-control")}}
{{form.Nachname(class_="form-control")}}
</div>

<div class="mb-3">
<label for="Firma" class="form-label">Firma</label>
{{managers.Firma(class_="form-control")}}
{{form.Firma(class_="form-control")}}
</div>

<div class="mb-3">
<label for="Kuenstler_anzahl" class="form-label">Kuenstler_anzahl</label>
{{managers.Kuenstler_anzahl(class_="form-control")}}
{{form.Kuenstler_anzahl(class_="form-control")}}
</div>

<button type="submit" class="btn btn-primary">Submit</button>
Expand Down
12 changes: 11 additions & 1 deletion templates/manager/viewmanagers.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,17 @@
{% endwith %}-->


<h3>All Managers</h3>
<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="/products/add">Hinzufügen</a></li>-->
</ul>

<table class="table">
<thead>
Expand Down

0 comments on commit 9a1cfde

Please sign in to comment.