mirror of
https://github.com/guilhermewerner/gerencia-projetos
synced 2025-06-16 23:15:05 +00:00
Fix Bugs
This commit is contained in:
@ -24,10 +24,14 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Criador</label>
|
||||
<select asp-for="CriadorId" class="form-control" asp-items="ViewBag.Desenvolvedores">
|
||||
<option></option>
|
||||
</select>
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" id="admin" asp-for="FoiResolvido">
|
||||
<label class="custom-control-label" for="admin">Foi Resolvido?</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Descrição</label>
|
||||
<textarea class="form-control" rows="5" asp-for="Descricao"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Prioridade</label>
|
||||
|
@ -26,7 +26,8 @@
|
||||
<thead class="border-bottom">
|
||||
<tr>
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Criador</th>
|
||||
<th scope="col">Descrição</th>
|
||||
<th scope="col">Foi Resolvido</th>
|
||||
<th scope="col">Data de Cadastro</th>
|
||||
<th scope="col">Prioridade</th>
|
||||
<th scope="col">Opções</th>
|
||||
@ -37,7 +38,8 @@
|
||||
{
|
||||
<tr>
|
||||
<td>@b.Id</td>
|
||||
<td>@b.CriadorId</td>
|
||||
<td>@b.Descricao</td>
|
||||
<td>@b.FoiResolvido</td>
|
||||
<td>@b.DataCadastro</td>
|
||||
<td>@b.Prioridade</td>
|
||||
<td>
|
||||
|
@ -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">
|
||||
|
@ -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>
|
||||
|
@ -26,7 +26,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>
|
||||
@ -37,16 +37,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>
|
||||
@ -133,6 +124,7 @@
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Descrição</th>
|
||||
<th scope="col">Observações</th>
|
||||
<th scope="col">É Funcional</th>
|
||||
<th scope="col">Data de Cadastro</th>
|
||||
<th scope="col">Data de Entrega</th>
|
||||
<th scope="col">Opções</th>
|
||||
@ -145,6 +137,7 @@
|
||||
<td>@r.Id</td>
|
||||
<td>@r.Descricao</td>
|
||||
<td>@r.Observacoes</td>
|
||||
<td>@r.EFuncional</td>
|
||||
<td>@r.DataCadastro</td>
|
||||
<td>@r.DataEntrega</td>
|
||||
<td>
|
||||
@ -182,7 +175,8 @@
|
||||
<thead class="border-bottom">
|
||||
<tr>
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Criador</th>
|
||||
<th scope="col">Descrição</th>
|
||||
<th scope="col">Foi Resolvido</th>
|
||||
<th scope="col">Data de Cadastro</th>
|
||||
<th scope="col">Prioridade</th>
|
||||
<th scope="col">Opções</th>
|
||||
@ -193,7 +187,8 @@
|
||||
{
|
||||
<tr>
|
||||
<td>@b.Id</td>
|
||||
<td>@b.CriadorId</td>
|
||||
<td>@b.Descricao</td>
|
||||
<td>@b.FoiResolvido</td>
|
||||
<td>@b.DataCadastro</td>
|
||||
<td>@b.Prioridade</td>
|
||||
<td>
|
||||
|
@ -11,6 +11,18 @@
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<form method="post">
|
||||
<div class="form-group">
|
||||
<label>Projeto</label>
|
||||
<select asp-for="ProjetoId" class="form-control" asp-items="ViewBag.Projetos">
|
||||
<option></option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" id="admin" asp-for="EFuncional">
|
||||
<label class="custom-control-label" for="admin">É Fucional?</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Descrição</label>
|
||||
<textarea class="form-control" rows="5" asp-for="Descricao"></textarea>
|
||||
@ -19,12 +31,6 @@
|
||||
<label>Observações</label>
|
||||
<textarea class="form-control" rows="5" asp-for="Observacoes"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Projeto</label>
|
||||
<select asp-for="ProjetoId" class="form-control" asp-items="ViewBag.Projetos">
|
||||
<option></option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Data de Entrega</label>
|
||||
<input type="date" class="form-control" asp-for="DataEntrega">
|
||||
|
@ -28,6 +28,7 @@
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Descrição</th>
|
||||
<th scope="col">Observações</th>
|
||||
<th scope="col">É Funcional</th>
|
||||
<th scope="col">Data de Cadastro</th>
|
||||
<th scope="col">Data de Entrega</th>
|
||||
<th scope="col">Opções</th>
|
||||
@ -40,6 +41,7 @@
|
||||
<td>@r.Id</td>
|
||||
<td>@r.Descricao</td>
|
||||
<td>@r.Observacoes</td>
|
||||
<td>@r.EFuncional</td>
|
||||
<td>@r.DataCadastro</td>
|
||||
<td>@r.DataEntrega</td>
|
||||
<td>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"] - GerenciaProjetos</title>
|
||||
<title>@ViewData["Title"] - TribuFu</title>
|
||||
|
||||
<environment include="Development">
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
|
||||
|
Reference in New Issue
Block a user