Forked from
DM / dm-docs
261 commits behind, 240 commits ahead of the upstream repository.
-
Barbara B. Frosik authored
No commit message
Barbara B. Frosik authoredNo commit message
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
view.xhtml 2.33 KiB
<?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"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<title>Experiment View</title>
<h:outputScript library="js/common" name="forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}"/>
<h:outputScript library="js/common" name="noBack.js" rendered="#{experimentController.notSelected()}" />
<ui:composition template="../../templates/dmViewTemplate.xhtml">
<ui:define name="middleCenter">
<h:form id="viewExperimentForm">
<div class="pageTitle">
<h1>Experiment #{experimentController.current.name}</h1>
</div>
<ui:param name="experimentObject" value="#{experimentController.current}"/>
<p:accordionPanel multiple="true" activeIndex="0,1,2" >
<p:tab title="Experiment Properties">
<div class="middleCenterLeftContent">
<ui:include src="private/experimentViewPanelGrid.xhtml"/>
</div>
</p:tab>
<p:tab title="Experiment Policies">
<ui:include src="private/experimentPoliciesViewListDataTable.xhtml"/>
</p:tab>
<p:tab title="Experiment Users">
<ui:include src="private/experimentUsersListDataTable.xhtml"/>
</p:tab>
</p:accordionPanel>
<p/>
<div class="actionButton">
<p:commandButton action="#{experimentController.prepareEdit(experimentObject)}" rendered="#{loginController.admin or experimentController.canEditExperiment(experimentObject.id)}" value="Edit" alt="Edit" icon="ui-icon-pencil"/>
<p:commandButton action="#{experimentController.prepareList()}" value="Return" alt="Return" icon="ui-icon-arrowreturnthick-1-w"/>
</div>
</h:form>
</ui:define>
</ui:composition>
</ui:composition>