2023-05-08 19:16:57 +02:00
|
|
|
@page "/Kontoverwaltung"
|
|
|
|
|
|
|
|
<h3>Wichtige Informationen</h3> <br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container mt-auto">
|
|
|
|
<h4>AccountID: #1234</h4>
|
|
|
|
<h4>Ihr QR-Code: </h4>
|
|
|
|
<img src="assets/K-QR.png" class="img" title="logo image">
|
2023-06-22 23:47:48 +02:00
|
|
|
|
|
|
|
<p>Ihr Konto wird 30 Tage nach der Deaktivierung unwiderruflich gelöscht.</p>
|
2023-05-08 19:16:57 +02:00
|
|
|
<button class="btn" type="button" onclick="@ChangeButton" id="button1">@button1</button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br><br>
|
|
|
|
|
|
|
|
@code {
|
|
|
|
bool changeButtonBool { get; set; } = true;
|
|
|
|
|
|
|
|
string button1 => changeButtonBool ? "Konto deaktivieren" : "Konto aktivieren";
|
|
|
|
|
|
|
|
void ChangeButton()
|
|
|
|
{
|
|
|
|
//TODO Datenbankaktualisierung
|
|
|
|
changeButtonBool = !changeButtonBool;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|