-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inclusão do CRUD do inventário e ajustes no CRUD de produtos
- Loading branch information
Sandro Mendes
committed
Jun 22, 2019
1 parent
250014b
commit ad8daa2
Showing
13 changed files
with
152 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
controle-estoque-web/src/main/resources/templates/estoque/editarEstoque.html
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
controle-estoque-web/src/main/resources/templates/estoque/incluirEstoque.html
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
controle-estoque-web/src/main/resources/templates/inventario/alterarEstoque.html
This file was deleted.
Oops, something went wrong.
68 changes: 68 additions & 0 deletions
68
controle-estoque-web/src/main/resources/templates/inventario/editarEstoque.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" | ||
xmlns:th="http://www.thymeleaf.org" | ||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" | ||
layout:decorator="default"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>Controle de Estoque</title> | ||
<link rel="stylesheet" type="text/css" href= "/css/bootstrap.min.css" /> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<div class="col-md-offset-2 col-md-7"> | ||
<h3 class="text-center">Formulário de cadastro de produtos</h3> | ||
<div class="panel panel-info"> | ||
<div class="panel-heading"> | ||
<div class="panel-title">Editar Estoque</div> | ||
</div> | ||
<div class="panel-body"> | ||
<form action="#" th:action="@{/inventarios/salvarEstoque}" class="form-horizontal" | ||
method="post" th:object="${estoque}"> | ||
|
||
<input type="hidden" th:field="*{id}"/> | ||
<div class="form-group"> | ||
<label for="lote" class="col-md-3 control-label">Lote</label> | ||
<div class="col-md-9"> | ||
<input th:field="*{lote}" class="form-control" /> | ||
</div> | ||
<label for="lote" class="col-md-3 control-label">Bloqueado</label> | ||
<div class="col-md-9"> | ||
<input type="checkbox" name="bloqueado" th:checked="${bloqueado}"/> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label for="quantidade" class="col-md-3 control-label">Quantidade</label> | ||
<div class="col-md-9"> | ||
<input th:field="*{quantidade}" class="form-control" /> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label for="minimo" class="col-md-3 control-label">Mínimo</label> | ||
<div class="col-md-9"> | ||
<input th:field="*{minimo}" class="form-control" /> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label for="maximo" class="col-md3 control-label">Máximo</label> | ||
<div class="col-md-9"> | ||
<input th:field="*{maximo}" class="form-control"/> | ||
</div> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<div class="col-md-offset-3 col-md-9"> | ||
<button class="btn btn-primary">Confirmar</button> | ||
</div> | ||
</div> | ||
|
||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script type="text/javascript" src="/js/jquery-3.4.1.min.js" /></script> | ||
<script type="text/javascript" src="/js/bootstrap.min.js" /></script> | ||
</body> | ||
</html> |
10 changes: 0 additions & 10 deletions
10
controle-estoque-web/src/main/resources/templates/inventario/exibirEstoque.html
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.