initial version
This commit is contained in:
43
src/main/resources/templates/template.html
Normal file
43
src/main/resources/templates/template.html
Normal file
@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" th:data-bs-theme="${theme}">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<title>JFileCloud</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" th:href="@{/webjars/bootstrap/5.3.3/css/bootstrap.min.css}" />
|
||||
<link rel="stylesheet" type="text/css" th:href="@{/webjars/datatables/2.1.8/css/dataTables.dataTables.min.css}" />
|
||||
<link rel="stylesheet" type="text/css" th:href="@{/webjars/font-awesome/6.7.2/css/all.min.css}" />
|
||||
<link rel="stylesheet" type="text/css" th:href="@{/css/style.css}" />
|
||||
|
||||
<script th:src="@{/webjars/jquery/3.7.1/jquery.min.js}"></script>
|
||||
<script th:src="@{/webjars/bootstrap/5.3.3/js/bootstrap.bundle.min.js}"></script>
|
||||
<script th:src="@{/webjars/datatables/2.1.8/js/dataTables.dataTables.min.js}"></script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-fluid header">
|
||||
<button class="btn btn-outline-secondary me-2 mb-2" data-bs-toggle="offcanvas" href="#sidebar" role="button">
|
||||
<i class="fas fa-wrench"></i>
|
||||
</button>
|
||||
<div layout:fragment="headline"></div>
|
||||
</div>
|
||||
<div id="sidebar" class="offcanvas offcanvas-start" tabindex="-1" aria-labelledby="sidebarLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="sidebarLabel">Navigation</h5>
|
||||
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Schließen"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="navbar-light">
|
||||
<ul class="navbar-nav">
|
||||
<li><a class="nav-link active" th:href="@{/dashboard}">Startseite</a></li>
|
||||
<li layout:fragment="left" class="left">TODO: left menu integration</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div layout:fragment="body" class="body m-2">body</div>
|
||||
<div layout:fragment="footer" class="footer">footer</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user