Browse Source

Update web forms; Ignore proxy server configurations for now

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.1-alpha
Pekka Helenius 4 years ago
parent
commit
f0610e5bd3
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      bookstore/src/main/resources/templates/bookadd.html
  2. +1
    -1
      bookstore/src/main/resources/templates/bookedit.html
  3. +2
    -2
      bookstore/src/main/resources/templates/booklist.html

+ 1
- 1
bookstore/src/main/resources/templates/bookadd.html View File

@ -2,7 +2,7 @@
<html lang="en" xmlns:th="http://www.thymeleaf.org"> <html lang="en" xmlns:th="http://www.thymeleaf.org">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css" th:href="@{css/bootstrap.min.css}" />
<link type="text/css" rel="stylesheet" th:href="@{../css/bootstrap.min.css}" />
<title>Add new book</title> <title>Add new book</title>
</head> </head>
<body> <body>


+ 1
- 1
bookstore/src/main/resources/templates/bookedit.html View File

@ -2,7 +2,7 @@
<html lang="en" xmlns:th="http://www.thymeleaf.org"> <html lang="en" xmlns:th="http://www.thymeleaf.org">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link type="text/css" rel="stylesheet" href="../css/bootstrap.min.css" th:href="@{../css/bootstrap.min.css}" />
<link type="text/css" rel="stylesheet" th:href="@{../css/bootstrap.min.css}" />
<title>Update existing book</title> <title>Update existing book</title>
</head> </head>
<body> <body>


+ 2
- 2
bookstore/src/main/resources/templates/booklist.html View File

@ -2,7 +2,7 @@
<html lang="en" xmlns:th="http://www.thymeleaf.org"> <html lang="en" xmlns:th="http://www.thymeleaf.org">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css" th:href="@{css/bootstrap.min.css}" />
<link type="text/css" rel="stylesheet" th:href="@{css/bootstrap.min.css}" />
<title>Bookstore page</title> <title>Bookstore page</title>
</head> </head>
<body> <body>
@ -26,7 +26,7 @@
<td th:text="${book.year}"></td> <td th:text="${book.year}"></td>
<td th:text="${#numbers.formatDecimal(book.price, 1, 2)}"></td> <td th:text="${#numbers.formatDecimal(book.price, 1, 2)}"></td>
<td><a class="btn btn-danger" <td><a class="btn btn-danger"
th:attr="onclick='return confirm(\'' + 'Delete book: ' + ${book.title} + '?' + '\');'"
th:attr="onclick='javascript:return confirm(\'' + 'Delete book: ' + ${book.title} + '?' + '\');'"
th:href="@{bookdelete/{id}(id=${book.id})}">Delete</a></td> th:href="@{bookdelete/{id}(id=${book.id})}">Delete</a></td>
<td><a class="btn btn-warning" <td><a class="btn btn-warning"
th:href="@{bookedit/{id}(id=${book.id})}">Edit</a></td> th:href="@{bookedit/{id}(id=${book.id})}">Edit</a></td>


Loading…
Cancel
Save