-
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.
Criação da tela de detalhar informações de produto
- Loading branch information
Sandro Mendes
committed
Jul 1, 2019
1 parent
bfe4c37
commit 1d5d2ca
Showing
3 changed files
with
74 additions
and
0 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
62 changes: 62 additions & 0 deletions
62
controle-estoque-web/src/main/resources/templates/produto/detalharProduto.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,62 @@ | ||
<!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">Detalhes do Produto</div> | ||
</div> | ||
<div class="panel-body"> | ||
<form action="#" th:action="@{/produtos/listar}" class="form-horizontal" | ||
method="get" th:object="${produto}"> | ||
|
||
<div class="form-group"> | ||
<label for="nome" class="col-md-3 control-label">Nome</label> | ||
<div class="col-md-9"> | ||
<input th:field="*{nome}" class="form-control" readonly/> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label for="preco" class="col-md-3 control-label">Preço</label> | ||
<div class="col-md-9"> | ||
<input th:field="*{preco}" class="form-control" readonly/> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label for="categoria" class="col-md-3 control-label">Categoria</label> | ||
<div class="col-md-9"> | ||
<input th:field="*{categoria.nome}" class="form-control" readonly/> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label for="fornecedor" class="col-md3 control-label">Fornecedor</label> | ||
<div class="col-md-9"> | ||
<input th:field="*{fornecedor.nome}" class="form-control" readonly/> | ||
</div> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<div class="col-md-offset-3 col-md-9"> | ||
<button class="btn btn-primary">Retornar</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> |
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