index.jsp 3.21 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>
14
15
16
17
18
19
20
21
	
	<h3>Country data</h3>
	<form method="post" action="<c:url value="/admin/refreshCountries" />">
		<input type="submit" class="btn btn-default" value="Refresh country data" />
	</form>
	<form method="post" action="<c:url value="/admin/updateAlternateNames" />">
		<input type="submit" class="btn btn-default" value="Update alternate GEO names" />
	</form>
22
23
24
25
26
	<form method="post" action="<c:url value="/admin/updateITPGRFA" />">
		<input type="submit" class="btn btn-default" class="btn btn-default" value="Update country ITPGRFA status" />
	</form>

	
27
28
	
	<h3>WIEWS</h3>
29
	<form method="post" action="<c:url value="/admin/refreshWiews" />">
30
		<input type="submit" class="btn btn-default" value="Refresh WIEWS data" />
31
	</form>
32
33
	
	<h3>Svalbard Global Seed Vault</h3>
34
	<form method="post" action="<c:url value="/admin/updateSGSV" />">
35
		<input type="submit" class="btn btn-default" value="Update SGSV" />
36
	</form>
Matija Obreza's avatar
Matija Obreza committed
37
	<form method="post" action="<c:url value="/admin/importSGSV" />">
38
		<input type="submit" class="btn btn-default" value="Import SGSV" />
Matija Obreza's avatar
Matija Obreza committed
39
	</form>
40
41
	
	<h3>Accession</h3>
42
	<form method="post" action="<c:url value="/admin/updateAccessionCountryRefs" />">
43
44
45
46
		<input type="submit" class="btn btn-default" class="btn btn-default" value="Update accession country info" />
	</form>
	<form method="post" action="<c:url value="/admin/updateInstituteCountryRefs" />">
		<input type="submit" class="btn btn-default" class="btn btn-default" value="Update WIEWS country info" />
47
48
	</form>
	<form method="post" action="<c:url value="/admin/updateAccessionInstituteRefs" />">
49
		<input type="submit" class="btn btn-default" value="Update accession institute info" />
50
	</form>
51
	
52
53
54
55
56
	<h3>C&E</h3>
	<form method="post" action="<c:url value="/admin/refreshMetadataMethods" />">
		<input type="submit" class="btn btn-default" class="btn btn-default" value="Recalculate metadata methods" />
	</form>
	
57
	<h3>Content</h3>
58
	<form method="post" action="<c:url value="/admin/sanitize" />">
59
		<input type="submit" class="btn btn-default" value="Sanitize HTML content" />
60
	</form>
61
62
63
64
	
	<h3>Full-text Search</h3>
	<form method="post" action="<c:url value="/admin/reindexEverything" />">
		<input type="submit" class="btn btn-default" class="btn btn-default" value="Reindex search indexes" />
Matija Obreza's avatar
Matija Obreza committed
65
	</form>
66

67
68
69
70
71
72
73
74
	<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>
75
		</select> <input type="submit" class="btn btn-default" value="Reindex search indexes" />
76
	</form>
Matija Obreza's avatar
Styling  
Matija Obreza committed
77

Matija Obreza's avatar
Matija Obreza committed
78
79
</body>
</html>