Customizable FS network url
This commit is contained in:
@@ -2,15 +2,17 @@
|
||||
|
||||
@using FoodsharingSiegen.Server.Dialogs
|
||||
@using FoodsharingSiegen.Server.BaseClasses
|
||||
@using FoodsharingSiegen.Contracts.Entity
|
||||
@using FoodsharingSiegen.Contracts.Helper
|
||||
|
||||
@inherits FsBase
|
||||
|
||||
<PageTitle>Profil</PageTitle>
|
||||
|
||||
<div style="width: 100%; max-width: 500px;">
|
||||
|
||||
|
||||
<h2>Mein Profil</h2>
|
||||
|
||||
|
||||
<Button Color="Color.Primary" Clicked="SaveProfile">Speichern</Button>
|
||||
<Fields Class="my-3">
|
||||
<Validations @ref="ValidationsRef">
|
||||
@@ -33,9 +35,23 @@
|
||||
</Validations>
|
||||
</Fields>
|
||||
|
||||
<hr />
|
||||
|
||||
<hr/>
|
||||
<h3>Allgemeines</h3>
|
||||
|
||||
<p class="mt-4 mb-1">
|
||||
Die ausgewählte URL wird zum Beispiel verwendet, um die Profile der Neulinge zu verlinken
|
||||
<Select TValue="FsNetworkType" @bind-SelectedValue="User.Network">
|
||||
@foreach (var networkType in Enum.GetValues<FsNetworkType>())
|
||||
{
|
||||
<SelectItem Value="networkType">@networkType (@networkType.GetCustomValue())</SelectItem>
|
||||
}
|
||||
</Select>
|
||||
</p>
|
||||
|
||||
|
||||
<hr/>
|
||||
<h3>Sicherheit</h3>
|
||||
|
||||
<p class="mt-4 mb-1">
|
||||
Die Änderung deines Passworts ist sofort aktiv. Im Anschluss wirst du ausgeloggt und kannst dich neu einloggen.
|
||||
<Button Color="Color.Primary" Class="d-block" Clicked="() => PasswordModal?.Show(User)!"><i class="fa-solid fa-key"></i> Passwort ändern</Button>
|
||||
|
||||
Reference in New Issue
Block a user