Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • DM/dm-docs
  • hammonds/dm-docs
  • hparraga/dm-docs
3 results
Show changes
Showing
with 409 additions and 0 deletions
src/java/DmWebPortal/web/resources/images/AnlLogo167x75.png

11.2 KiB

src/java/DmWebPortal/web/resources/images/ApsStorageRing.png

184 KiB

window.location = "login.xhtml";
window.location = "/dm/views/home.xhtml";
window.location = "list.xhtml";
window.location = "/dm/views/login.xhtml";
window.history.forward();
jQuery(document).ready(function() {
PF('experimentListWidget').filter();
});
jQuery(document).ready(function() {
PF('experimentStationListWidget').filter();
});
jQuery(document).ready(function() {
PF('experimentTypeListWidget').filter();
});
jQuery(document).ready(function() {
PF('userInfoListWidget').filter();
});
<!--<?xml version='1.0' encoding='UTF-8' ?>-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="/dm/resources/css/portal.css" rel="stylesheet" type="text/css" />
</h:head>
<h:body>
<div id="top" class="topContent">
<div id="topLeft" class="topLeftContent">
<ui:insert name="topLeft">
<h:graphicImage alt="ANL Logo" url="/resources/images/AnlLogo167x75.png"/>
</ui:insert>
</div>
<div>
<div id="topRight" class="topRightContent">
<ui:insert name="topRight">
<h:outputText value="Username: #{loginController.displayUsername()}"/>
<br/>
<h:outputText value="Role: #{loginController.displayRole()}"/>
</ui:insert>
</div>
<div id="topCenter" class="topCenterContent">
<ui:insert name="topCenter">
<h1>Data Management Portal</h1>
</ui:insert>
</div>
</div>
</div>
<ui:fragment>
<div id="menu" class="menuContent">
<div id="menuLeft" class="menuLeftContent">
<ui:insert name="menuLeft">
<p:menubar/>
</ui:insert>
</div>
<div>
<div id="menuRight" class="menuRightContent">
<ui:insert name="menuRight">
</ui:insert>
</div>
<div id="menuCenter" class="menuCenterContent">
<ui:insert name="menuCenter">
<h:form prependId="false">
<ui:include src="/templates/menubarTemplate.xhtml"/>
</h:form>
</ui:insert>
</div>
</div>
</div>
<div id="middle" class="middleContent">
<div id="middleLeft" class="middleLeftContent">
<ui:insert name="middleLeft">
</ui:insert>
</div>
<div id="middleRight" class="middleRightContent">
<ui:insert name="middleRight">
</ui:insert>
</div>
<div id="middleCenter" class="middleCenterContent">
<ui:insert name="middleCenter">
</ui:insert>
</div>
</div>
</ui:fragment>
<ui:fragment>
<div id="bottom" class="bottomContent">
<ui:insert name="bottom">
<h:form prependId="false">
<p:growl id="messages" showDetail="true" autoUpdate="true"/>
</h:form>
</ui:insert>
</div>
</ui:fragment>
<h:form id="loginForm">
<p:dialog id="loginDialog" styleClass="dialog" header="Login" widgetVar="loginDialog">
<h:panelGrid styleClass="loginInput">
<div class="dialog">
<div>
<p:inputText id="username" value="#{loginController.username}" title="Username"/>
<p:watermark for="username" value="Username"/>
<p:password id="password" value="#{loginController.password}" title="Password"/>
<p:watermark for="password" value="Password"/>
</div>
<f:facet name="footer">
<p:commandButton id="loginButton" value="Login" action="#{loginController.login}" oncomplete="loginDialog.hide()"/>
</f:facet>
</div>
</h:panelGrid>
</p:dialog>
</h:form>
</h:body>
</html>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.org/ui">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<h:outputStylesheet name="portal.css" library="css" />
<link rel="icon" type="image/png" href="../../resources/images/anl.ico" />
<title>Data Management System Portal<ui:insert name="pageTitle"></ui:insert></title>
</h:head>
<h:body>
<div id="contentContainer">
<div id="top" class="topContent">
<div id="topLeft" class="topLeftContent">
<ui:insert name="topLeft">
<h:graphicImage alt="ANL Logo" url="/resources/images/AnlLogo167x75.png"/>
</ui:insert>
</div>
<div>
<div id="topRight" class="topRightContent">
<ui:insert name="topRight">
<h:outputText value="Username: #{loginController.displayUsername()}"/>
<br/>
<h:outputText value="Role: #{loginController.displayRole()}"/>
</ui:insert>
</div>
<div id="topCenter" class="topCenterContent">
<ui:insert name="topCenter">
<h1 class="title">Data Management System Portal</h1>
</ui:insert>
</div>
</div>
</div>
<ui:fragment>
<div id="menu" class="menuContent">
<div id="menuLeft" class="menuLeftContent">
<ui:insert name="menuLeft">
<p:menubar/>
</ui:insert>
</div>
<div>
<div id="menuRight" class="menuRightContent">
<ui:insert name="menuRight">
</ui:insert>
</div>
<div id="menuCenter" class="menuCenterContent">
<ui:insert name="menuCenter">
<h:form prependId="false">
<ui:include src="/templates/menubarTemplate.xhtml"/>
</h:form>
</ui:insert>
</div>
</div>
</div>
<div id="middle" class="middleContent">
<div id="middleLeft" class="middleLeftContent">
<ui:insert name="middleLeft">
</ui:insert>
</div>
<div>
<div id="middleRight" class="middleRightContent">
<ui:insert name="middleRight">
</ui:insert>
</div>
<div id="middleCenter" class="middleCenterContent">
<ui:insert name="middleCenter">
</ui:insert>
<div class="actionButton">
<p:button id="okButton" href="/views/home.xhtml" alt="OK" value="OK"/>
<p:tooltip for="okButton" value="Return to home page"/>
</div>
</div>
</div>
</div>
</ui:fragment>
</div>
<h:form id="loginForm">
<p:dialog id="loginDialog" styleClass="dialog" header="Login" widgetVar="loginDialogWidget">
<h:panelGrid styleClass="loginInput">
<p:inputText id="username" value="#{loginController.username}" title="Username"/>
<p:watermark for="username" value="Username"/>
<p:password id="password" value="#{loginController.password}" title="Password"/>
<p:watermark for="password" value="Password"/>
<f:facet name="footer">
<p:commandButton id="loginButton" value="Login" action="#{loginController.login}" oncomplete="PF('loginDialogWidget').hide()"/>
</f:facet>
</h:panelGrid>
</p:dialog>
</h:form>
</h:body>
</html>
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<p:menubar>
<p:menuitem value="Home" url="/views/home.xhtml" icon="ui-icon-home"/>
<p:menuitem value="Experiments" url="/views/experiment/list.xhtml"/>
<p:menuitem value="Experiment Stations" url="/views/experimentStation/list.xhtml"/>
<p:menuitem value="Experiment Types" url="/views/experimentType/list.xhtml"/>
<p:menuitem value="Role Types" url="/views/roleType/list.xhtml"/>
<p:menuitem value="Users" url="/views/userInfo/list.xhtml"/>
<p:menuitem value="Logout" action="#{loginController.logout()}" icon="ui-icon-close"/>
</p:menubar>
</ui:composition>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:param name="entityTypeName" value="#{entityController.entityTypeName}"/>
<div class="actionButton">
<p:commandButton id="#{entityTypeName}AddButton" action="#{entityController.prepareCreate()}" rendered="#{loginController.admin}" value="Add" alt="Add new #{entityTypeName}" icon="ui-icon-plus">
<p:tooltip for="#{entityTypeName}AddButton" value="Create new #{entityController.displayEntityTypeName}."/>
</p:commandButton>
<p:commandButton id="#{entityTypeName}ResetFiltersButton" action="#{entityController.resetList()}" alt="Clear Filters" icon="ui-icon-refresh" styleClass="actionButtonRight">
<p:tooltip for="#{entityTypeName}ResetFiltersButton" value="Reset list filters."/>
</p:commandButton>
<p:commandButton id="#{entityTypeName}NoOp" style="visibility:hidden" value="NoOp"/>
<p:defaultCommand target="#{entityTypeName}NoOp"/>
</div>
</ui:composition>
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
template="../../templates/errorViewTemplate.xhtml">
<ui:define name="pageTitle">: Access Denied</ui:define>
<ui:define name="middleCenter">
<div class="userNotification">
<h3>Error: Access Denied</h3>
</div>
</ui:define>
</ui:composition>
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
template="../../templates/errorViewTemplate.xhtml">
<ui:define name="pageTitle">: Invalid Request</ui:define>
<ui:define name="middleCenter">
<div class="userNotification">
<h3>Invalid Request: #{errorBean.error}</h3>
</div>
</ui:define>
</ui:composition>
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
template="../../templates/errorViewTemplate.xhtml">
<ui:define name="pageTitle">: Page Not Found</ui:define>
<ui:define name="middleCenter">
<div class="userNotification">
<h3>Error: Page Not Found</h3>
</div>
</ui:define>
</ui:composition>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<title>Experiment Create</title>
<ui:composition template="../../templates/dmViewTemplate.xhtml">
<ui:define name="middleCenter">
<div class="pageTitle">
<h1>Add Experiment</h1>
</div>
<h:form id="addExperimentForm">
<ui:include src="private/experimentCreatePanelGrid.xhtml"/>
<p/>
<div class="actionButton">
<p:commandButton action="#{experimentController.create()}" value="Save" alt="Save" icon="ui-icon-check" update="@form"/>
<p:commandButton action="#{experimentController.prepareList()}" immediate="true" value="Cancel" alt="Cancel" icon="ui-icon-cancel"/>
</div>
</h:form>
<h:outputScript library="js" name="common/forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}"/>
<h:outputScript library="js" name="common/forwardNotAuthorized.js" rendered="#{!loginController.canCreateExperiment()}"/>
</ui:define>
</ui:composition>
</ui:composition>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<title>Experiment Edit</title>
<ui:composition template="../../templates/dmViewTemplate.xhtml" >
<ui:define name="middleCenter" >
<h:form id="editExperimentForm">
<div class="pageTitle">
<h1>Edit Experiment #{experimentController.current.name}</h1>
</div>
<ui:param name="experimentObject" value="#{experimentController.current}"/>
<p:accordionPanel multiple="true" dynamic="true" cache="false" activeIndex="0,1,2" >
<p:tab title="Experiment Data" id="detailsTab" >
<div class="middleCenterLeftContent">
<ui:include src="private/experimentEditPanelGrid.xhtml"/>
<p/>
<div class="actionButton">
<p:commandButton action="#{experimentController.update()}" actionListener="#{experimentController.updateRemovedExperimentRoles()}" value="Save" alt="Save" icon="ui-icon-check"/>
<p:commandButton action="#{experimentController.followBreadcrumbOrPrepareList()}" immediate="true" value="Return" alt="Return" icon="ui-icon-arrowreturnthick-1-w"/>
</div>
</div>
</p:tab>
<p:tab title="Experiment Users">
<div class="middleCenterLeftContent">
<ui:include src="private/experimentUserListDataTable.xhtml"/>
</div>
</p:tab>
</p:accordionPanel>
<p/>
<div class="actionButton">
<p:commandButton action="#{experimentController.followBreadcrumbOrPrepareList()}" immediate="true" value="Return" alt="Return" icon="ui-icon-arrowreturnthick-1-w"/>
</div>
</h:form>
<h:outputScript library="js" name="common/forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}"/>
<h:outputScript library="js" name="common/forwardNotAuthorized.js" rendered="#{!loginController.canManageExperiment(experimentController.current)}"/>
<h:outputScript library="js" name="common/forwardHome.js" rendered="#{!experimentController.entitySelected}"/>
</ui:define>
</ui:composition>
</ui:composition>