Mercurial > hg > LGDataverses
comparison src/main/webapp/404.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 |
comparison
equal
deleted
inserted
replaced
| 9:5926d6419569 | 10:a50cf11e5178 |
|---|---|
| 1 <!DOCTYPE html> | |
| 2 <html xmlns="http://www.w3.org/1999/xhtml" | |
| 3 xmlns:h="http://java.sun.com/jsf/html" | |
| 4 xmlns:f="http://java.sun.com/jsf/core" | |
| 5 xmlns:ui="http://java.sun.com/jsf/facelets" | |
| 6 xmlns:p="http://primefaces.org/ui"> | |
| 7 | |
| 8 <h:head> | |
| 9 </h:head> | |
| 10 | |
| 11 <h:body> | |
| 12 <ui:composition template="/dataverse_template.xhtml"> | |
| 13 <ui:param name="pageTitle" value="#{bundle['error.404.page.title']} - #{dataverseServiceBean.findRootDataverse().name} #{bundle.dataverse}"/> | |
| 14 <ui:param name="showDataverseHeader" value="false"/> | |
| 15 <ui:param name="loginRedirectPage" value="dataverse.xhtml"/> | |
| 16 <ui:param name="showMessagePanel" value="#{true}"/> | |
| 17 <ui:define name="body"> | |
| 18 <div class="alert alert-danger" role="alert" style="margin-top:3em;"> | |
| 19 <h:outputText value="#{bundle['error.404.message']}" escape="false"/> | |
| 20 </div> | |
| 21 <div class="row text-center"> | |
| 22 <h:form> | |
| 23 <input id="search404" type="text" class="ui-inputfield ui-inputtext ui-widget ui-state-default ui-corner-all" size="28" value="" placeholder="#{bundle['header.search.title']}" | |
| 24 style="font-size:1em;margin-right:1em;" onkeypress="if (event.keyCode == 13) {window.location = '/?q=' + document.getElementById('search404').value; return false;}" /> | |
| 25 <a href="#" id="search404button" class="btn btn-default" onclick="window.location = '/?q=' + document.getElementById('search404').value; return false;"> | |
| 26 <span class="glyphicon glyphicon-search"/> #{bundle.find} | |
| 27 </a> | |
| 28 </h:form> | |
| 29 </div> | |
| 30 </ui:define> | |
| 31 </ui:composition> | |
| 32 </h:body> | |
| 33 </html> |
