This commit is contained in:
Guilherme
2019-09-24 10:46:39 -03:00
parent 2802ef55b1
commit 34ab942f91
57 changed files with 1044 additions and 896 deletions

View File

@ -19,6 +19,12 @@
<label>Email</label>
<input type="email" class="form-control" asp-for="Email">
</div>
<div class="form-group">
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="admin" asp-for="EAdmin">
<label class="custom-control-label" for="admin">É Administrador?</label>
</div>
</div>
<div class="form-group">
<label>Senha</label>
<input type="password" class="form-control" asp-for="Senha">

View File

@ -28,7 +28,7 @@
<th scope="col">#</th>
<th scope="col">Nome</th>
<th scope="col">Email</th>
<th scope="col">Admin</th>
<th scope="col">É Admin</th>
<th scope="col">Opções</th>
</tr>
</thead>
@ -39,16 +39,7 @@
<td>@d.Id</td>
<td>@d.Nome</td>
<td>@d.Email</td>
<td>
@if (d.EAdmin == true)
{
<span>Sim</span>
}
else
{
<span>Não</span>
}
</td>
<td>@d.EAdmin</td>
<td>
<a asp-area="" asp-controller="Desenvolvedores" asp-action="Edit" asp-route-id="@d.Id">
<i class="fas fa-edit"></i>