mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-02-09 12:29:13 +00:00
añadidor los ficheros que faltaban en el commit anterior
This commit is contained in:
42
src/main/resources/templates/imprimelibros/layout.html
Normal file
42
src/main/resources/templates/imprimelibros/layout.html
Normal file
@ -0,0 +1,42 @@
|
||||
<html th:lang="${#locale.language}"
|
||||
th:with="isAuth=${#authorization.expression('isAuthenticated()')}"
|
||||
th:attrappend="data-layout=${isAuth} ? 'semibox' : 'horizontal'"
|
||||
data-sidebar-visibility="show"
|
||||
data-topbar="light"
|
||||
data-sidebar="light"
|
||||
data-sidebar-size="lg"
|
||||
data-sidebar-image="none"
|
||||
data-preloader="disable"
|
||||
xmlns:th="http://www.thymeleaf.org"
|
||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
||||
|
||||
<head>
|
||||
<th:block layout:fragment="pagetitle" />
|
||||
<th:block th:replace="~{imprimelibros/partials/head-css :: head-css}" />
|
||||
<th:block layout:fragment="pagecss" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div th:replace="~{imprimelibros/partials/topbar :: topbar}" />
|
||||
<div th:if="${#authorization.expression('isAuthenticated()')}">
|
||||
<div th:replace="~{imprimelibros/partials/sidebar :: sidebar}" />
|
||||
</div>
|
||||
|
||||
<section class="main-content">
|
||||
<div class="page-content">
|
||||
<div class="container-fluid">
|
||||
<section layout:fragment="content" th:remove="tag"></section>
|
||||
</div>
|
||||
</div>
|
||||
<div th:replace="~{imprimelibros/partials/footer :: footer}" />
|
||||
</section>
|
||||
|
||||
<th:block layout:fragment="modal" />
|
||||
<!-- de momento comenta vendor-scripts si no lo usas -->
|
||||
<th:block th:replace="~{theme/partials/vendor-scripts :: scripts}" />
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<th:block layout:fragment="pagejs" />
|
||||
<script th:src="@{/assets/js/app.js}"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user