Skip to content

Commit 60061d1

Browse files
author
a_total_another_bla
committed
frontend template
1 parent ffe8ad6 commit 60061d1

File tree

11 files changed

+39
-25
lines changed

11 files changed

+39
-25
lines changed

pom.xml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,20 @@
155155
<artifactId>spring-restdocs-mockmvc</artifactId>
156156
<scope>test</scope>
157157
</dependency>
158+
159+
<dependency>
160+
<groupId>org.thymeleaf</groupId>
161+
<artifactId>thymeleaf-spring5</artifactId>
162+
</dependency>
163+
<dependency>
164+
<groupId>org.thymeleaf.extras</groupId>
165+
<artifactId>thymeleaf-extras-java8time</artifactId>
166+
</dependency>
167+
158168
<dependency>
159-
<groupId>io.github.jpenren</groupId>
160-
<artifactId>thymeleaf-spring-data-dialect</artifactId>
161-
<version>2.1.1</version>
169+
<groupId>org.springframework</groupId>
170+
<artifactId>spring-webmvc</artifactId>
171+
<scope>compile</scope>
162172
</dependency>
163173
</dependencies>
164174

@@ -172,6 +182,10 @@
172182
<groupId>org.apache.maven.plugins</groupId>
173183
<artifactId>maven-dependency-plugin</artifactId>
174184
</plugin>
185+
<plugin>
186+
<groupId>pl.project13.maven</groupId>
187+
<artifactId>git-commit-id-plugin</artifactId>
188+
</plugin>
175189
</plugins>
176190
</build>
177191

src/main/resources/templates/db/portinfo/all.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!doctype html>
22
<html xmlns:th="http://www.thymeleaf.org" lang="en">
3-
<head th:insert="template :: tw_head">
3+
<head th:include="template :: tw_head">
44
<title th:replace="${title}">Nodes</title>
55
</head>
6-
<body th:insert="template :: tw_body">
6+
<body th:include="template :: tw_body">
77
<div class="container" th:replace="template :: tw_main_app">
88
<!-- Example row of columns -->
99
<div class="row">
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!doctype html>
22
<html xmlns:th="http://www.thymeleaf.org" lang="en">
3-
<head th:insert="template :: tw_head">
3+
<head th:include="template :: tw_head">
44
<title th:replace="${title}">Home</title>
55
</head>
6-
<body th:insert="template :: tw_body">
6+
<body th:include="template :: tw_body">
77

88
</body>
99
</html>

src/main/resources/templates/node/category/all.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title th:replace="${title}">Nodes</title>
55
</head>
66
<body th:include="template :: tw_body">
7-
<main role="main" th:insert="template :: tw_main">
7+
<main role="main" th:include="template :: tw_main">
88
<div class="container" th:replace="template :: tw_main_app">
99
<!-- Example row of columns -->
1010
<div class="row">

src/main/resources/templates/node/license/all.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!doctype html>
22
<html xmlns:th="http://www.thymeleaf.org" lang="en">
3-
<head th:insert="template :: tw_head">
3+
<head th:include="template :: tw_head">
44
<title th:replace="${title}">Nodes</title>
55
</head>
6-
<body th:insert="template :: tw_body">
7-
<main role="main" th:insert="template :: tw_main">
6+
<body th:include="template :: tw_body">
7+
<main role="main" th:include="template :: tw_main">
88
<div class="container" th:replace="template :: tw_main_app">
99
<!-- Example row of columns -->
1010
<div class="row">

src/main/resources/templates/node/maintainer/all.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!doctype html>
22
<html xmlns:th="http://www.thymeleaf.org" lang="en">
3-
<head th:insert="template :: tw_head">
3+
<head th:include="template :: tw_head">
44
<title th:replace="${title}">Nodes</title>
55
</head>
6-
<body th:insert="template :: tw_body">
6+
<body th:include="template :: tw_body">
77

88
<div class="container" th:replace="template :: tw_main_app">
99
<!-- Example row of columns -->

src/main/resources/templates/node/platform/all.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!doctype html>
22
<html xmlns:th="http://www.thymeleaf.org" lang="en">
3-
<head th:insert="template :: tw_head">
3+
<head th:include="template :: tw_head">
44
<title th:replace="${title}">Nodes</title>
55
</head>
6-
<body th:insert="template :: tw_body">
6+
<body th:include="template :: tw_body">
77

88
<div class="container" th:replace="template :: tw_main_app">
99
<!-- Example row of columns -->

src/main/resources/templates/node/port/all.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!doctype html>
22
<html xmlns:th="http://www.thymeleaf.org" lang="en">
3-
<head th:insert="template :: tw_head">
3+
<head th:include="template :: tw_head">
44
<title th:replace="${title}">Nodes</title>
55
</head>
6-
<body th:insert="template :: tw_body">
7-
<main role="main" th:insert="template :: tw_main">
6+
<body th:include="template :: tw_body">
7+
<main role="main" th:include="template :: tw_main">
88
<div class="container" th:replace="template :: tw_main_app">
99
<!-- Example row of columns -->
1010
<div class="row">

src/main/resources/templates/node/variant/all.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!doctype html>
22
<html xmlns:th="http://www.thymeleaf.org" lang="en">
3-
<head th:insert="template :: tw_head">
3+
<head th:include="template :: tw_head">
44
<title th:replace="${title}">Nodes</title>
55
</head>
6-
<body th:insert="template :: tw_body">
7-
<main role="main" th:insert="template :: tw_main">
6+
<body th:include="template :: tw_body">
7+
<main role="main" th:include="template :: tw_main">
88
<div class="container" th:replace="template :: tw_main_app">
99
<!-- Example row of columns -->
1010
<div class="row">

src/main/resources/templates/terminal/port/available/all.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!doctype html>
22
<html xmlns:th="http://www.thymeleaf.org" lang="en">
3-
<head th:insert="template :: tw_head">
3+
<head th:include="template :: tw_head">
44
<title th:replace="${title}">get all available ports</title>
55
</head>
6-
<body th:insert="template :: tw_body">
6+
<body th:include="template :: tw_body">
77

88
<div class="container" th:replace="template :: tw_main_app">
99
<!-- Example row of columns -->

0 commit comments

Comments
 (0)