|
@ -5,7 +5,23 @@ |
|
|
<link type="text/css" rel="stylesheet" href="../../static/css/bookstore.css" /> |
|
|
<link type="text/css" rel="stylesheet" href="../../static/css/bookstore.css" /> |
|
|
<link type="text/css" rel="stylesheet" href="../../static/css/bootstrap.min.css" /> |
|
|
<link type="text/css" rel="stylesheet" href="../../static/css/bootstrap.min.css" /> |
|
|
</head> |
|
|
</head> |
|
|
<body> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--/* TODO: use proper and scalable fragment HTML replacement for this element */--> |
|
|
|
|
|
<body th:with=" |
|
|
|
|
|
indexpage = ${@environment.getProperty('page.url.index')}, |
|
|
|
|
|
listpage = ${@environment.getProperty('page.url.list')}, |
|
|
|
|
|
addpage = ${@environment.getProperty('page.url.add')}, |
|
|
|
|
|
deletepage = ${@environment.getProperty('page.url.delete')}, |
|
|
|
|
|
editpage = ${@environment.getProperty('page.url.edit')}, |
|
|
|
|
|
loginpage = ${@environment.getProperty('page.url.login')}, |
|
|
|
|
|
logoutpage = ${@environment.getProperty('page.url.logout')}, |
|
|
|
|
|
apirefpage = ${@environment.getProperty('page.url.apiref')}, |
|
|
|
|
|
jsonpage = ${@environment.getProperty('page.url.json')}, |
|
|
|
|
|
jsonbookpage = ${@environment.getProperty('page.url.json.book')}, |
|
|
|
|
|
jsonlistpage = ${@environment.getProperty('page.url.json.list')}, |
|
|
|
|
|
h2consolepage = ${@environment.getProperty('spring.h2.console.path')} |
|
|
|
|
|
"> |
|
|
|
|
|
|
|
|
<th:block th:fragment="loginout"> |
|
|
<th:block th:fragment="loginout"> |
|
|
<div id="bookstore-loginout"> |
|
|
<div id="bookstore-loginout"> |
|
|
|
|
|
|
|
@ -82,7 +98,9 @@ |
|
|
<!--/* |
|
|
<!--/* |
|
|
** END: login elements ** |
|
|
** END: login elements ** |
|
|
*/--> |
|
|
*/--> |
|
|
|
|
|
|
|
|
|
|
|
<div style="margin: 10px 0;"> |
|
|
|
|
|
<a th:href="@{__${h2consolepage}__}">H2 database console (dev phase only)</a> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</th:block> |
|
|
</th:block> |
|
|
</body> |
|
|
</body> |