|
123
|
1 |
<!DOCTYPE html> |
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" > |
|
|
3 |
<head> |
|
|
4 |
<meta charset="utf-8"> |
|
|
5 |
<title>${objectName} List</title> |
|
|
6 |
</head> |
|
|
7 |
<body> |
|
|
8 |
<head> |
|
|
9 |
<title>Renkan Admin</title> |
|
|
10 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
|
|
11 |
<meta charset="utf-8"/> |
|
|
12 |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/> |
|
|
13 |
|
|
|
14 |
<link rel="shortcut icon" href="favicon.ico"/> |
|
|
15 |
|
|
125
|
16 |
<link href="../../../static/css/style.css" rel="stylesheet" th:href="@{/static/css/style.css}"/> |
|
|
17 |
<link href="../../../static/css/index.css" rel="stylesheet" th:href="@{/static/css/index.css}"/> |
|
|
18 |
|
|
|
19 |
<script th:remove="all" type="text/javascript" src="../../../static/lib/jquery.min.js"></script> |
|
|
20 |
<script th:remove="all" type="text/javascript" src="../../../static/js/thymol.js"></script> |
|
123
|
21 |
</head> |
|
|
22 |
<body> |
|
|
23 |
<div id="container"> |
|
|
24 |
<div id="wrapper"> |
|
|
25 |
<h1 th:text="#{renkanAdmin.renkan_admin}">Renkan administration</h1> |
|
|
26 |
<div id="inner"> |
|
|
27 |
<div id="label" class="translate" th:text="#{renkanAdmin.obj_create}">Create an object</div> |
|
|
28 |
<form action="#" onsubmit="go2Title();return false;"> |
|
|
29 |
<input type="text" id="renkantitle" autofocus="autofocus" x-webkit-speech="x-webkit-speech"/> |
|
|
30 |
<button type="submit">OK</button> |
|
|
31 |
</form> |
|
|
32 |
</div> |
|
|
33 |
<h2 th:text="#{renkanAdmin.object_list(${objectName})}" >List of objects</h2> |
|
|
34 |
<div th:include="fragment/paginationFragment :: paginationFragment" class="pagination-container"> |
|
|
35 |
<div> |
|
|
36 |
<a href="#?p.page=1"><<</a> |
|
|
37 |
<a href="#?p.page=3"><</a> |
|
|
38 |
<span>...</span> |
|
|
39 |
<a href="#?p.page=2">2</a> |
|
|
40 |
<a href="#?p.page=3">3</a> |
|
|
41 |
<span>4</span> |
|
|
42 |
<a href="#?p.page=5">5</a> |
|
|
43 |
<a href="#?p.page=6">6</a> |
|
|
44 |
<span>...</span> |
|
|
45 |
<a href="#?p.page=5">></a> |
|
|
46 |
<a href="#?p.page=7">>></a> |
|
|
47 |
</div> |
|
|
48 |
</div> |
|
|
49 |
|
|
|
50 |
<table> |
|
|
51 |
<thead> |
|
|
52 |
<tr> |
|
|
53 |
<th th:text="#{renkanAdmin.object_name}">Name</th> |
|
125
|
54 |
<th th:text="#{renkanAdmin.object_edit}">Edit</th> |
|
123
|
55 |
<th th:text="#{renkanAdmin.object_delete}">Delete</th> |
|
|
56 |
</tr> |
|
|
57 |
</thead> |
|
|
58 |
<tbody> |
|
|
59 |
<tr th:each="object: ${page.content}"> |
|
|
60 |
<th th:text="${object.title}">title</th> |
|
125
|
61 |
<td><a href="#" th:href="@{'/s/'+${object.id}}" th:text="#{renkanAdmin.object_edit_link}">Edit</a></td> |
|
|
62 |
<td><a href="#" th:href="@{'/s/'+${object.id}}" th:text="#{renkanAdmin.object_delete_link}">Delete</a></td> |
|
123
|
63 |
</tr> |
|
|
64 |
</tbody> |
|
|
65 |
</table> |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
</div> |
|
|
70 |
<div id="footer" th:include="fragment/pageFragment :: footerFragment"> |
|
|
71 |
<div id="version">© <span class="version-date">2013</span> <a href="http://www.iri.centrepompidou.fr" target="_blanck">IRI</a> - Version <span class="version-version">0.0</span></div> |
|
|
72 |
</div> |
|
|
73 |
</div> |
|
|
74 |
</body> |
|
|
75 |
</html> |