Commit a504bb40 authored by Matija Obreza's avatar Matija Obreza
Browse files

Admin actions cleanup

parent 8de755c1
......@@ -19,6 +19,12 @@
<a class="" href="<c:url value="/admin/ds2/" />"><spring:message code="menu.admin.ds2" /></a>
</div>
</div>
<form method="post" action="<c:url value="/admin/cache/clearTilesCache" />">
<input type="submit" class="btn btn-default" value="Clear Tiles cache" />
<!-- CSRF protection -->
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
</form>
<form method="post" action="<c:url value="/admin/cache/clearCaches" />">
<input type="submit" class="btn btn-default" value="Clear all caches" />
......
......@@ -20,20 +20,7 @@
</div>
</div>
<h3>worldclim.org</h3>
<form method="post" action="<c:url value="/admin/worldClim" />">
<input type="submit" class="btn btn-default" value="Update world clim" />
<!-- CSRF protection -->
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
</form>
<h3>Full-text Search</h3>
<form method="post" action="<c:url value="/admin/cache/clearTilesCache" />">
<input type="submit" class="btn btn-default" value="Clear Tiles cache" />
<!-- CSRF protection -->
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
</form>
<form method="post" action="<c:url value="/admin/reindex-elastic" />">
<input type="text" name="startAt" disabled="true" />
<input type="text" name="filter" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment