diff src/main/webapp/superuser.xhtml @ 10:a50cf11e5178

Rewrite LGDataverse completely upgrading to dataverse4.0
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 08 Sep 2015 17:00:21 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/webapp/superuser.xhtml	Tue Sep 08 17:00:21 2015 +0200
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:jsf="http://xmlns.jcp.org/jsf"
+      xmlns:p="http://primefaces.org/ui">
+
+  <h:head>
+  </h:head>
+
+  <h:body>
+    <ui:composition template="/dataverse_template.xhtml">
+      <ui:param name="pageTitle" value="Superuser - #{dataverseServiceBean.findRootDataverse().name} #{bundle.dataverse}"/>
+      <ui:param name="showDataverseHeader" value="false"/>
+      <ui:define name="body">
+        <h:form id="indexAllForm">
+          <div>
+            <button class="btn btn-default" jsf:action="#{SuperUserPage.startIndexAll()}">
+              Index All
+            </button>
+            <button class="btn btn-default" jsf:action="#{SuperUserPage.updateIndexAllStatus()}">
+              Check Status of Index All
+            </button>
+            <br/>
+            ${SuperUserPage.indexAllStatus}
+          </div>
+        </h:form>
+      </ui:define>
+    </ui:composition>
+  </h:body>
+</html>