LayoutPadrao.html
3.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="pt" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Brewer</title>
<link rel="stylesheet" type="text/css" th:href="@{/layout/stylesheets/vendors.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/layout/stylesheets/dipla.min.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/layout/stylesheets/application.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/stylesheets/protocolo.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/stylesheets/vendors/jAlert.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/stylesheets/vendors/bootstrap-datepicker.standalone.min.css}" />
<link rel="shortcut icon" th:href="@{/images/favicon.png}" />
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<input type="hidden" name="_csrf" th:value="${_csrf.token}" />
<input type="hidden" name="_csrf_header" th:value="${_csrf.headerName}" />
<div class="aw-layout-page">
<div th:replace="layout/fragments/BarraNavegacao :: navbar"></div>
<div th:if="${#authentication.principal.usuario.temPerfilAdministrador}">
<div th:replace="layout/fragments/MenuLateral :: layout-sidebar"></div>
</div>
<div th:unless="${#authentication.principal.usuario.temPerfilAdministrador}">
<div th:replace="layout/fragments/MenuLateralProtocolista :: layout-sidebar"></div>
</div>
<section class="aw-layout-content js-content" layout:fragment="conteudo"></section>
<div th:replace="layout/fragments/Footer :: layout-footer"></div>
</div>
<script th:src="@{/layout/javascripts/vendors.min.js}"></script>
<script th:src="@{/layout/javascripts/dipla.min.js}"></script>
<script th:src="@{/javascripts/vendors/jquery.maskMoney.min.js}"></script>
<script th:src="@{/javascripts/vendors/jquery.mask.min.js}"></script>
<script th:src="@{/javascripts/vendors/bootstrap-datepicker.min.js}"></script>
<script th:src="@{/javascripts/vendors/bootstrap-datepicker.pt-BR.min.js}"></script>
<script th:src="@{/javascripts/vendors/numeral.min.js}"></script>
<script th:src="@{/javascripts/vendors/pt-br.min.js}"></script>
<script th:src="@{/javascripts/vendors/jAlert.min.js}"></script>
<script th:src="@{/javascripts/protocolo.js}"></script>
<script th:src="@{/javascripts/protocolo.dialogo-excluir.js}"></script>
<th:block layout:fragment="javascript-extra"></th:block>
</body>
</html>