mirror of
https://github.com/yummy4friends/y4f.git
synced 2024-12-29 05:57:08 +01:00
Yum04 80 registrierung admin (#27)
* Start * Finish Yummy-Punkte * Finish Feedback * FBestätigung fertig * Feddback changed button and text * Feedback and confirm finish * Deleted a break (Feedback confirm) * Prototype not finished * Erste Realisierung * Delete Registrierung Kunde * Update Yummy-Punkte.razor.css Minor fix --------- Co-authored-by: ProfessionalUwU <andreas.fuhry@gmail.com> Co-authored-by: FUH22860 <101731147+FUH22860@users.noreply.github.com>
This commit is contained in:
parent
a3f88c1998
commit
6151618c7c
38
src/y4f/Shared/NavRegistrierung.razor
Normal file
38
src/y4f/Shared/NavRegistrierung.razor
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
<nav class="navbar navbar-expand-md navbar-light mb-4 me-5 ms-5 ">
|
||||||
|
<div class="container-fluid">
|
||||||
|
@*<a class="navbar-brand" href="">Yummy4Friends</a>*@
|
||||||
|
<a class="navbar-brand" href="">
|
||||||
|
<img src="assets/Logo_new.png" alt="Yummy4Friends" width="60px" height="auto">
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<button class="navbar-toggler @NavButtonCssClass" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse"
|
||||||
|
aria-controls="navbarCollapse" aria-label="Toggle navigation" @onclick="ToggleNavMenu">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse justify-content-end @NavBarCssClass" id="navbarCollapse" @onclick="ToggleNavMenu">
|
||||||
|
<ul class="navbar-nav">
|
||||||
|
|
||||||
|
<li class="nav-item">
|
||||||
|
<NavLink class="nav-link" href="RegistrierungA">
|
||||||
|
Admin
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">
|
||||||
|
<path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" />
|
||||||
|
</svg>
|
||||||
|
</NavLink>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
@code {
|
||||||
|
private bool collapseNavMenu = true;
|
||||||
|
private string? NavBarCssClass => collapseNavMenu ? null : "show";
|
||||||
|
private string? NavButtonCssClass => collapseNavMenu ? "collapsed" : null;
|
||||||
|
|
||||||
|
|
||||||
|
private void ToggleNavMenu()
|
||||||
|
{
|
||||||
|
collapseNavMenu = !collapseNavMenu;
|
||||||
|
}
|
||||||
|
}
|
15
src/y4f/Shared/Registrierung.razor
Normal file
15
src/y4f/Shared/Registrierung.razor
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
@inherits LayoutComponentBase
|
||||||
|
|
||||||
|
|
||||||
|
<div >
|
||||||
|
<NavRegistrierung />
|
||||||
|
|
||||||
|
<main class="container">
|
||||||
|
|
||||||
|
|
||||||
|
@Body
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<Footer />
|
||||||
|
</div>
|
5
src/y4f/Shared/Registrierung.razor.css
Normal file
5
src/y4f/Shared/Registrierung.razor.css
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
html, body {
|
||||||
|
/*background-color: #C7FFD5;*/
|
||||||
|
padding: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
}
|
18
src/y4f/Shared/RegistrierungA.razor
Normal file
18
src/y4f/Shared/RegistrierungA.razor
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
@page "/RegistrierungA"
|
||||||
|
@layout Registrierung
|
||||||
|
|
||||||
|
<div class="container col-lg-5 col-md-9 col-sm-12 d-flex flex-column " id="content">
|
||||||
|
<p>Benutzername:</p>
|
||||||
|
<input type="text" class="form-control" id="name" name="name">
|
||||||
|
|
||||||
|
<p>Passwort:</p>
|
||||||
|
<input type="text" class="form-control" id="password" name="password">
|
||||||
|
|
||||||
|
<form id="button" action="Bestelluebersicht">
|
||||||
|
<input type="submit" value="Login" class="btn">
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
@code {
|
||||||
|
|
||||||
|
}
|
13
src/y4f/Shared/RegistrierungA.razor.css
Normal file
13
src/y4f/Shared/RegistrierungA.razor.css
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
p {
|
||||||
|
color: grey;
|
||||||
|
margin-bottom:0px;
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
form {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -34,12 +34,4 @@ img {
|
|||||||
}
|
}
|
||||||
h4 {
|
h4 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
<<<<<<< HEAD:Shared/Yummy-Punkte.razor.css
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
=======
|
|
||||||
}
|
|
||||||
>>>>>>> dev:src/y4f/Shared/Yummy-Punkte.razor.css
|
|
||||||
|
Loading…
Reference in New Issue
Block a user