index.jsp 785 Bytes
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
4
5
6
7
<!DOCTYPE html>

<%@include file="/WEB-INF/jsp/init.jsp"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>

<html>
<head>
Matija Obreza's avatar
Matija Obreza committed
8
<title><spring:message code="admin.page.title" /></title>
Matija Obreza's avatar
Matija Obreza committed
9
10
</head>
<body>
Matija Obreza's avatar
Styling  
Matija Obreza committed
11
12
13
	<h1>
		<spring:message code="admin.page.title" />
	</h1>
Matija Obreza's avatar
Matija Obreza committed
14

Matija Obreza's avatar
Styling  
Matija Obreza committed
15
	<sec:authorize access="hasRole('ADMINISTRATOR')">
Matija Obreza's avatar
Matija Obreza committed
16
17
18
19
20
21
		<form method="post" action="<c:url value="/admin/refreshWiews" />">
			<input type="submit" value="Refresh WIEWS data" />
		</form>
		<form method="post" action="<c:url value="/admin/refreshCountries" />">
			<input type="submit" value="Refresh country data" />
		</form>
22
23
24
		<form method="post" action="<c:url value="/admin/reindexEverything" />">
			<input type="submit" value="Reindex search indexes" />
		</form>
Matija Obreza's avatar
Styling  
Matija Obreza committed
25
26
	</sec:authorize>

Matija Obreza's avatar
Matija Obreza committed
27
28
</body>
</html>