upgrade to Boostrap 5

This commit is contained in:
Shaun Walker
2021-07-02 20:03:51 -04:00
parent 525cbb87b0
commit cb7d9a0371
66 changed files with 551 additions and 11463 deletions

View File

@ -22,48 +22,48 @@ else
{
<table class="table table-borderless">
<tr>
<td>
<label class="control-label">@SharedLocalizer["Username"] </label>
<td width="30%">
<Label For="username" HelpText="The unique username for a user. Note that this field can not be modified." ResourceKey="Username"></Label>
</td>
<td>
<input class="form-control" @bind="@username" readonly />
<input id="username" class="form-control" @bind="@username" readonly />
</td>
</tr>
<tr>
<td>
<label class="control-label">@SharedLocalizer["Password"] </label>
<Label For="password" HelpText="The user's password. Please choose a password which is sufficiently secure." ResourceKey="Password"></Label>
</td>
<td>
<input type="password" class="form-control" @bind="@password" />
<input id="password" type="password" class="form-control" @bind="@password" />
</td>
</tr>
<tr>
<td>
<label class="control-label">@Localizer["Password.Confirm"] </label>
<Label For="confirm" HelpText="Please enter the password again to confirm it matches with the value above" ResourceKey="Confirm"></Label>
</td>
<td>
<input type="password" class="form-control" @bind="@confirm" />
<input id="confirm" type="password" class="form-control" @bind="@confirm" />
</td>
</tr>
<tr>
<td>
<label class="control-label">@SharedLocalizer["Email"] </label>
<Label For="email" HelpText="The email address where the user will receive notifications" ResourceKey="Email"></Label>
</td>
<td>
<input class="form-control" @bind="@email" />
<input id="email" class="form-control" @bind="@email" />
</td>
</tr>
<tr>
<td>
<label class="control-label">@SharedLocalizer["FullName"] </label>
<Label For="displayname" HelpText="The full name of the user" ResourceKey="DisplayName"></Label>
</td>
<td>
<input class="form-control" @bind="@displayname" />
<input id="displayname" class="form-control" @bind="@displayname" />
</td>
</tr>
<tr>
<td>
<label class="control-label">@Localizer["Photo"] </label>
<Label For="@photofileid.ToString()" HelpText="A photo of the user" ResourceKey="Photo"></Label>
</td>
<td>
<FileManager FileId="@photofileid" @ref="filemanager" />
@ -71,10 +71,10 @@ else
</tr>
<tr>
<td>
<label class="control-label">@Localizer["Confirm.Delete"] </label>
<Label For="isdeleted" HelpText="Indicate if the user is active" ResourceKey="IsDeleted"></Label>
</td>
<td>
<select class="form-control" @bind="@isdeleted">
<select id="isdeleted" class="form-select" @bind="@isdeleted">
<option value="True">@SharedLocalizer["Yes"]</option>
<option value="False">@SharedLocalizer["No"]</option>
</select>
@ -100,7 +100,7 @@ else
category = p.Category;
}
<tr>
<td>
<td width="30%">
<Label For="@p.Name" HelpText="@p.Description">@p.Title</Label>
</td>
<td>
@ -120,7 +120,7 @@ else
</TabPanel>
</TabStrip>
<button type="button" class="btn btn-primary" @onclick="SaveUser">@SharedLocalizer["Save"]</button>
<button type="button" class="btn btn-success" @onclick="SaveUser">@SharedLocalizer["Save"]</button>
<NavLink class="btn btn-secondary" href="@NavigateUrl()">@SharedLocalizer["Cancel"]</NavLink>
<br />
<br />