Forked from
DM / dm-docs
261 commits behind, 110 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.
edit.xhtml 2.59 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 Edit</title>
<h:outputScript library="js/common" name="forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}" />
<h:outputScript library="js/common" name="noBack.js" rendered="#{experimentController.notSelected()}" />
<h:outputScript library="js/common" name="forwardNotAuthorized.js" rendered="#{!loginController.admin and experimentController.isRestricted()}"/>
<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>
<p:accordionPanel multiple="true" dynamic="true" cache="false" activeIndex="0,1,2" >
<p:tab title="Experiment Properties" id="detailsTab" >
<div class="middleCenterLeftContent">
<ui:include src="experimentEditPanelGrid.xhtml"/>
</div>
</p:tab>
<p:tab title="Experiment Policies">
<ui:include src="experimentPoliciesEditSelection.xhtml"/>
</p:tab>
<p:tab title="Experiment Users" id="usersTab">
<ui:include src="experimentUsersEditDataTable.xhtml"/>
</p:tab>
</p:accordionPanel>
<p/>
<div class="actionButton">
<p:commandButton action="#{experimentController.update()}" actionListener="#{experimentController.updateRemovedExperimentRoles()}" value="Save" alt="Save" icon="ui-icon-check"/>
<p:commandButton action="#{experimentController.prepareList()}" immediate="true" value="Return" alt="Return" icon="ui-icon-arrowreturnthick-1-w"/>
</div>
<ui:include src="experimentUserRemoveDialog.xhtml" />
<ui:include src="experimentPolicyRemoveDialog.xhtml" />
</h:form>
</ui:define>
</ui:composition>
</ui:composition>