index.jsp 1.79 KB
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

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
	<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/updateSGSV" />">
		<input type="submit" value="Update SGSV" />
	</form>
	<form method="post" action="<c:url value="/admin/refreshCountries" />">
		<input type="submit" value="Refresh country data" />
	</form>
	<form method="post" action="<c:url value="/admin/reindexEverything" />">
		<input type="submit" value="Reindex search indexes" />
	</form>
	<form method="post" action="<c:url value="/admin/updateAccessionCountryRefs" />">
		<input type="submit" value="Update accession country info" />
	</form>

	<form method="post" action="<c:url value="/admin/updateAccessionInstituteRefs" />">
		<input type="submit" value="Update accession institute info" />
	</form>


	<form method="post" action="<c:url value="/admin/reindexEntity" />">
		<select name="entity">
			<option value="org.genesys2.rest.common.model.impl.Country">Countries</option>
			<option value="org.genesys2.rest.common.model.impl.FaoInstitute">WIEWS Institutes</option>
			<option value="org.genesys2.rest.common.model.impl.ActivityPost">Posts</option>
			<option value="org.genesys2.rest.common.model.impl.Article">Articles</option>
			<option value="org.genesys2.rest.common.model.impl.Organization">Organizations</option>
			<option value="org.genesys2.rest.common.model.genesys.Accession">Accessions</option>
		</select> <input type="submit" value="Reindex search indexes" />
	</form>
Matija Obreza's avatar
Styling  
Matija Obreza committed
46

Matija Obreza's avatar
Matija Obreza committed
47
48
</body>
</html>