<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Spis treści</title>
    <link rel="stylesheet" type="text/css" th:href="@{/styl.css}" href="../static/styl.css">
</head>
<body>
<h1>Zabawy w H2</h1>

<form id="init-form" th:action="@{/init}">
	<button>Wgraj dane</button>
</form>

<form id="h2-console" th:action="@{/h2}" target="_blank">
	<button>Konsola H2</button>
</form>

<h2>Zapytania REST-owe</h2>
<ul>
	<li><a th:href="@{/rest/customers}">/rest/customers</a></li>
	<li><a th:href="@{/rest/customers/1}">/rest/customers/1</a></li>
	<li><a th:href="@{/rest/ogloszenia}">/rest/ogloszenia</a></li>
	<li><a th:href="@{/rest/ogloszenia/1}">/rest/ogloszenia/1</a></li>
</ul>

</body>
</html>
