commit
9f69883362
@ -0,0 +1,12 @@
|
||||
@page "/DeleteConfirmation"
|
||||
|
||||
<div class="simple-form">
|
||||
|
||||
<p>
|
||||
Are you sure you want to delete @chapter.Name ?
|
||||
</p>
|
||||
|
||||
<button @onclick="ConfirmDelete" class="btn btn-primary">Delete</button>
|
||||
|
||||
<button @onclick="Cancel" class="btn btn-secondary">Cancel</button>
|
||||
</div>
|
@ -0,0 +1,23 @@
|
||||
@page "/addAdministrators"
|
||||
@using Blazor.Models
|
||||
|
||||
<h3>AddAdministrators</h3>
|
||||
|
||||
<EditForm Model="@administratorsModel" OnValidSubmit="@HandleValidSubmit">
|
||||
<DataAnnotationsValidator />
|
||||
<ValidationSummary />
|
||||
|
||||
<p>
|
||||
<label for="username">
|
||||
Username:
|
||||
<InputText id="username" @bind-Value="administratorsModel.Username" />
|
||||
</label>
|
||||
<label>
|
||||
Password:
|
||||
<InputText id="hashedpassword" @bind-Value="administratorsModel.hashedPassword" />
|
||||
</label>
|
||||
</p>
|
||||
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
</EditForm>
|
@ -0,0 +1,16 @@
|
||||
<html>
|
||||
<body>
|
||||
|
||||
|
||||
<link href="_content/Blazored.Modal/blazored-modal.css" rel="stylesheet" />
|
||||
<script src="_content/Blazored.Modal/blazored.modal.js"></script>
|
||||
|
||||
<script src="_framework/blazor.server.js"></script>
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css">
|
||||
|
||||
<link href="_content/Blazorise/blazorise.css" rel="stylesheet" />
|
||||
<link href="_content/Blazorise.Bootstrap/blazorise.bootstrap.css" rel="stylesheet" />
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue