index.jsp 730 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 11 12 13 14 15 16 17 18
</head>
<body>

		<sec:authorize access="hasRole('ADMINISTRATOR')">
		<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>
19 20 21
		<form method="post" action="<c:url value="/admin/reindexEverything" />">
			<input type="submit" value="Reindex search indexes" />
		</form>
Matija Obreza's avatar
Matija Obreza committed
22 23 24 25
		</sec:authorize>
	
</body>
</html>