index.jsp 597 Bytes
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>

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

<html>
<head>
<title><spring:message code="sample.message.index.title" /></title>
</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>
		</sec:authorize>
	
</body>
</html>