From 0524fdb984830c981da2c975ee30e0e3019626c7 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Mon, 14 Sep 2020 02:21:27 +0300 Subject: [PATCH] Prefer relative hrefs (for proxy server configurations) Signed-off-by: Pekka Helenius --- bookstore/src/main/resources/templates/bookadd.html | 10 +++++----- .../src/main/resources/templates/bookedit.html | 8 ++++---- .../src/main/resources/templates/booklist.html | 13 ++++++------- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/bookstore/src/main/resources/templates/bookadd.html b/bookstore/src/main/resources/templates/bookadd.html index 0b83f67..540d1ca 100644 --- a/bookstore/src/main/resources/templates/bookadd.html +++ b/bookstore/src/main/resources/templates/bookadd.html @@ -2,13 +2,13 @@ - + Add new book

Add new book

- +
@@ -49,12 +49,12 @@ - +
-
+
- +
diff --git a/bookstore/src/main/resources/templates/bookedit.html b/bookstore/src/main/resources/templates/bookedit.html index 6ed382a..5476259 100644 --- a/bookstore/src/main/resources/templates/bookedit.html +++ b/bookstore/src/main/resources/templates/bookedit.html @@ -2,14 +2,14 @@ - + Update existing book

Update existing book

-
+

@@ -46,11 +46,11 @@ Set book price
Invalid price
- +

-
+
diff --git a/bookstore/src/main/resources/templates/booklist.html b/bookstore/src/main/resources/templates/booklist.html index 5c98a19..874381d 100644 --- a/bookstore/src/main/resources/templates/booklist.html +++ b/bookstore/src/main/resources/templates/booklist.html @@ -1,10 +1,9 @@ - - -Bookstore page + + + Bookstore page
@@ -28,13 +27,13 @@ Delete + th:href="@{bookdelete/{id}(id=${book.id})}">Delete Edit + th:href="@{bookedit/{id}(id=${book.id})}">Edit