Navbar reorder
This commit is contained in:
@@ -12,9 +12,10 @@
|
|||||||
</LayoutView>
|
</LayoutView>
|
||||||
</NotFound>
|
</NotFound>
|
||||||
</Router>
|
</Router>
|
||||||
</Blazorise.ThemeProvider>
|
|
||||||
|
|
||||||
<MessageAlert/>
|
<MessageAlert/>
|
||||||
|
</Blazorise.ThemeProvider>
|
||||||
|
|
||||||
|
|
||||||
@code{
|
@code{
|
||||||
private Theme theme = new()
|
private Theme theme = new()
|
||||||
|
|||||||
@@ -13,11 +13,6 @@ namespace FoodsharingSiegen.Server.Pages
|
|||||||
{
|
{
|
||||||
#region Dependencies (Injected)
|
#region Dependencies (Injected)
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or sets the value of the message service (ab)
|
|
||||||
/// </summary>
|
|
||||||
[Inject] private IMessageService MessageService { get; set; } = null!;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the value of the prospect service (ab)
|
/// Gets or sets the value of the prospect service (ab)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -151,7 +146,7 @@ namespace FoodsharingSiegen.Server.Pages
|
|||||||
/// <param name="arg">The arg</param>
|
/// <param name="arg">The arg</param>
|
||||||
private async Task RemoveInteraction(Guid arg)
|
private async Task RemoveInteraction(Guid arg)
|
||||||
{
|
{
|
||||||
var confirm = await MessageService.Confirm("Interaktion wirklich löschen?", "Bestätigen", o => {
|
var confirm = await Message.Confirm("Interaktion wirklich löschen?", "Bestätigen", o => {
|
||||||
o.ConfirmButtonText = "Ja, wirklich!";
|
o.ConfirmButtonText = "Ja, wirklich!";
|
||||||
o.CancelButtonText = "Abbrechen";
|
o.CancelButtonText = "Abbrechen";
|
||||||
o.ShowMessageIcon = false;
|
o.ShowMessageIcon = false;
|
||||||
@@ -162,6 +157,8 @@ namespace FoodsharingSiegen.Server.Pages
|
|||||||
await ProspectService.RemoveInteraction(arg);
|
await ProspectService.RemoveInteraction(arg);
|
||||||
await LoadProspects();
|
await LoadProspects();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await InvokeAsync(StateHasChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -1,10 +1,21 @@
|
|||||||
<nav class="flex-column">
|
<nav class="flex-column">
|
||||||
<div class="nav-logo"></div>
|
<div class="nav-logo"></div>
|
||||||
<div class="nav-item px-3">
|
<div class="row px-3">
|
||||||
<NavLink class="nav-link" href="profile" Match="NavLinkMatch.All">
|
<div class="col">
|
||||||
<span class="fas fa-user mr-1" aria-hidden="true" style="font-size: 1.4em;"></span> Profil
|
<div class="nav-item">
|
||||||
|
<NavLink class="nav-link justify-content-center" href="profile" Match="NavLinkMatch.All" title="Profil">
|
||||||
|
<span class="fas fa-user mr-1" aria-hidden="true" style="font-size: 1.4em;"></span>
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<div class="nav-item">
|
||||||
|
<NavLink class="nav-link justify-content-center" href="logout" Match="NavLinkMatch.All" title="Ausloggen">
|
||||||
|
<span class="fa-solid fa-door-open mr-1" aria-hidden="true" style="font-size: 1.4em;"></span>
|
||||||
|
</NavLink>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="nav-item px-3">
|
<div class="nav-item px-3">
|
||||||
<NavLink class="nav-link" href="" Match="NavLinkMatch.All">
|
<NavLink class="nav-link" href="" Match="NavLinkMatch.All">
|
||||||
<span class="fas fa-tasks mr-1" aria-hidden="true" style="font-size: 1.4em;"></span> Übersicht
|
<span class="fas fa-tasks mr-1" aria-hidden="true" style="font-size: 1.4em;"></span> Übersicht
|
||||||
@@ -20,9 +31,4 @@
|
|||||||
<span class="fa-solid fa-clock-rotate-left mr-1" aria-hidden="true" style="font-size: 1.4em;"></span> Aktivitäten
|
<span class="fa-solid fa-clock-rotate-left mr-1" aria-hidden="true" style="font-size: 1.4em;"></span> Aktivitäten
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</div>
|
</div>
|
||||||
<div class="nav-item px-3 pt-5">
|
|
||||||
<NavLink class="nav-link" href="logout" Match="NavLinkMatch.All">
|
|
||||||
<span class="fa-solid fa-door-open mr-1" aria-hidden="true" style="font-size: 1.4em;"></span> Ausloggen
|
|
||||||
</NavLink>
|
|
||||||
</div>
|
|
||||||
</nav>
|
</nav>
|
||||||
Reference in New Issue
Block a user