index.jsp 2.66 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
	<form method="post" action="<c:url value="/admin/refreshWiews" />">
16
		<input type="submit" class="btn btn-default" value="Refresh WIEWS data" />
17
18
	</form>
	<form method="post" action="<c:url value="/admin/updateSGSV" />">
19
		<input type="submit" class="btn btn-default" value="Update SGSV" />
20
	</form>
Matija Obreza's avatar
Matija Obreza committed
21
	<form method="post" action="<c:url value="/admin/importSGSV" />">
22
		<input type="submit" class="btn btn-default" value="Import SGSV" />
Matija Obreza's avatar
Matija Obreza committed
23
	</form>
24
	<form method="post" action="<c:url value="/admin/refreshCountries" />">
25
		<input type="submit" class="btn btn-default" value="Refresh country data" />
26
27
	</form>
	<form method="post" action="<c:url value="/admin/reindexEverything" />">
28
		<input type="submit" class="btn btn-default" class="btn btn-default" value="Reindex search indexes" />
29
30
	</form>
	<form method="post" action="<c:url value="/admin/updateAccessionCountryRefs" />">
31
32
		<input type="submit" class="btn btn-default" class="btn btn-default" value="Update accession country info" />
	</form>
Matija Obreza's avatar
Matija Obreza committed
33

34
35
	<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" />
36
37
38
	</form>

	<form method="post" action="<c:url value="/admin/updateAccessionInstituteRefs" />">
39
		<input type="submit" class="btn btn-default" value="Update accession institute info" />
40
41
	</form>

42
	<form method="post" action="<c:url value="/admin/sanitize" />">
43
		<input type="submit" class="btn btn-default" value="Sanitize HTML content" />
44
	</form>
Matija Obreza's avatar
Matija Obreza committed
45
46
47
	<form method="post" action="<c:url value="/admin/updateAlternateNames" />">
		<input type="submit" class="btn btn-default" value="Update alternate GEO names" />
	</form>
48

49
50
51
52
53
54
55
56
57

	<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>
58
		</select> <input type="submit" class="btn btn-default" value="Reindex search indexes" />
59
	</form>
Matija Obreza's avatar
Styling  
Matija Obreza committed
60

Matija Obreza's avatar
Matija Obreza committed
61
62
</body>
</html>