Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Fix Template issue if you start the app with java -jar.
Browse files Browse the repository at this point in the history
  • Loading branch information
opensource21 committed Oct 13, 2015
1 parent ddfd55a commit e2ff127
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="de-DE" xmlns:th="http://www.thymeleaf.org" xmlns:bs="http://www.ppi.de/thymeleaf/bootstrap2">
<head >
<title th:text="#{App.Title} + ' - ' + #{login.title}"></title>
<th:block th:include="/example/main::head"/>
<th:block th:include="example/main::head"/>
</head>
<body >
<div class="well">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<html lang="de-DE" xmlns:th="http://www.thymeleaf.org">
<head >
<title th:text="#{App.Title} + ' - ' + #{post.list.title}"></title>
<th:block th:include="/example/main::head"/>
<th:block th:include="example/main::head"/>
</head>

<body>
<div th:replace="/example/main::.navbar"></div>
<div th:replace="/example/main::info"></div>
<div th:replace="example/main::.navbar"></div>
<div th:replace="example/main::info"></div>

<h3 th:text="#{post.list.title}">List of posts</h3>
<a class="btn" id="homeBtn" href="/" th:href="@{/}"><i class="icon-home"></i>Home</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<head >
<title th:text="#{App.Title} + ' - ' + #{post.form.title}">
SpringMVC-Sample - Form of posts</title>
<th:block th:include="/example/main::head"/>
<th:block th:include="example/main::head"/>
<script th:inline="javascript">
$(function() {
$('.datepicker').each(function(index) {
Expand Down Expand Up @@ -62,13 +62,13 @@

</head>
<body>
<div th:replace="/example/main::.navbar"></div>
<div th:replace="/example/main::info"></div>
<div th:replace="example/main::.navbar"></div>
<div th:replace="example/main::info"></div>
<h3 th:text="#{post.form.title}">Form of posts</h3>
<a class="btn" href="/" th:href="@{/}"><i class="icon-home"></i>Home</a>
<a class="btn" th:href="@{__#{purl.post.list}__}">Goto list</a>
<form th:action="@{${url}}" class="well form-horizontal" method="post" th:object="${post}">
<div th:replace="/example/main::error"></div>
<div th:replace="example/main::error"></div>

<input id="id" type="hidden" th:value="*{id}" name="id"/>
<input id="version" type="hidden" th:value="*{version}" name="version"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<head >
<title th:text="#{App.Title} + ' - ' + #{post.form.title}">
SpringMVC-Sample - Form of posts</title>
<th:block th:include="/example/main::head"/>
<th:block th:include="example/main::head"/>
<script th:inline="javascript">
$(function() {
$('.datepicker').each(function(index) {
Expand Down Expand Up @@ -61,13 +61,13 @@

</head>
<body>
<div th:replace="/example/main::.navbar"></div>
<div th:replace="/example/main::info"></div>
<div th:replace="example/main::.navbar"></div>
<div th:replace="example/main::info"></div>
<h3 th:text="#{post.form.title}">Form of posts</h3>
<a class="btn" href="/" th:href="@{/}"><i class="icon-home"></i>Home</a>
<a class="btn" th:href="@{__#{purl.post.list}__}">Goto list</a>
<form th:action="@{${url}}" class="well form-horizontal" method="post" th:object="${post}">
<div th:replace="/example/main::error"></div>
<div th:replace="example/main::error"></div>

<input id="id" type="hidden" th:value="*{id}" name="id"/>
<input id="version" type="hidden" th:value="*{version}" name="version"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head >
<title th:text="#{App.Title} + ' - ' + #{tag.list.title}"></title>
<th:block th:include="/example/main::head"/>
<th:block th:include="example/main::head"/>
</head>

<body>
<div th:replace="/example/main::.navbar"></div>
<div th:replace="/example/main::info"></div>
<div th:replace="example/main::.navbar"></div>
<div th:replace="example/main::info"></div>

<h3 th:text="#{tag.list.title}">List of tags</h3>
<a class="btn" href="/" th:href="@{/}"><i class="icon-home"></i>Home</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head >
<title th:text="#{App.Title} + ' - ' + #{tag.form.title}"></title>
<th:block th:include="/example/main::head"/>
<th:block th:include="example/main::head"/>
</head>

<body>
<div th:replace="/example/main::.navbar"></div>
<div th:replace="/example/main::info"></div>
<div th:replace="example/main::.navbar"></div>
<div th:replace="example/main::info"></div>

<h3 th:text="#{tag.form.title}">Form of tags</h3>
<a class="btn" href="/" th:href="@{/}"><i class="icon-home"></i>Home</a>
<a class="btn" th:href="@{__#{purl.tag.list}__}">Goto list</a>
<form th:action="@{${url}}" class="well form-horizontal" method="post" th:object="${tag}">
<div th:replace="/example/main::error"></div>
<div th:replace="example/main::error"></div>
<input id="id" type="hidden" th:value="*{id}" name="id"/>
<input id="version" type="hidden" th:value="*{version}" name="version"/>
<!-- Standard include -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="de-DE" xmlns:th="http://www.thymeleaf.org" xmlns:bs="http://www.ppi.de/thymeleaf/bootstrap2">
<head >
<title th:text="UNAUTHORIZED"></title>
<th:block th:include="/example/main::head"/>
<th:block th:include="example/main::head"/>
</head>
<body >
<div class="well">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head >
<title th:text="#{App.Title} + ' - ' + #{user.list.title}"></title>
<th:block th:include="/example/main::head"/>
<th:block th:include="example/main::head"/>
</head>

<body>
<div th:replace="/example/main::.navbar"></div>
<div th:replace="/example/main::info"></div>
<div th:replace="example/main::.navbar"></div>
<div th:replace="example/main::info"></div>

<h3 th:text="#{user.list.title}">List of users</h3>
<a class="btn" href="/" th:href="@{/}"><i class="icon-home"></i>Home</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head >
<title th:text="#{App.Title} + ' - ' + #{user.form.title}"></title>
<th:block th:include="/example/main::head"/>
<th:block th:include="example/main::head"/>
</head>

<body>
<div th:replace="/example/main::.navbar"></div>
<div th:replace="/example/main::info"></div>
<div th:replace="example/main::.navbar"></div>
<div th:replace="example/main::info"></div>

<h3 th:text="#{user.form.title}">Form of users</h3>
<a class="btn" href="/" th:href="@{/}"><i class="icon-home"></i>Home</a>
<a class="btn" th:href="@{__#{purl.user.list}__}">Goto list</a>
<form th:action="@{${url}}" class="well form-horizontal" method="post" th:object="${user}">
<div th:replace="/example/main::error"></div>
<div th:replace="example/main::error"></div>
<input id="id" type="hidden" th:value="*{id}" name="id"/>
<input id="version" type="hidden" th:value="*{version}" name="version"/>
<!-- Standard include -->
Expand Down

0 comments on commit e2ff127

Please sign in to comment.