mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10300 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84 lines
4.0 KiB
Plaintext
Executable File
84 lines
4.0 KiB
Plaintext
Executable File
<%--
|
|
* Copyright (C) 2005-2008 Alfresco Software Limited.
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
* As a special exception to the terms and conditions of version 2.0 of
|
|
* the GPL, you may redistribute this Program in connection with Free/Libre
|
|
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
|
* FLOSS exception. You should have recieved a copy of the text describing
|
|
* the FLOSS exception, and it is also available here:
|
|
* http://www.alfresco.com/legal/licensing"
|
|
--%>
|
|
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
|
|
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
|
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
|
|
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
|
|
|
|
<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
|
|
|
|
<h:panelGrid columns="7">
|
|
<h:outputText id="sandbox-selection-description" value="#{msg.store_title}:" />
|
|
|
|
<h:selectOneMenu value="#{DialogManager.bean.userSpecifiedSnapshot}" onchange="document.forms['dialog'].submit(); return true;">
|
|
<f:selectItems value="#{DialogManager.bean.storesList}" />
|
|
</h:selectOneMenu>
|
|
|
|
<h:outputText id="version-selection-description" value="#{msg.version_title}:" />
|
|
|
|
<h:inputText id="version-value" size="5" value="#{DialogManager.bean.userSpecifiedVersion}" required="true">
|
|
<f:converter converterId="javax.faces.Integer" />
|
|
</h:inputText>
|
|
|
|
<h:commandButton id="increment-version-value-button" image="/images/icons/arrow_up.gif" title="#{msg.increment_button_hint}"
|
|
actionListener="#{DialogManager.bean.incrementVersion}" rendered="#{!DialogManager.bean.incrementVersionButtonDisabled}" />
|
|
|
|
<h:commandButton image="/images/icons/arrow_up_disabled.gif" title="#{msg.increment_button_hint}" rendered="#{DialogManager.bean.incrementVersionButtonDisabled}" disabled="true" />
|
|
|
|
<h:commandButton id="decrement-version-value-button" image="/images/icons/arrow_down.gif" title="#{msg.decrement_button_hint}"
|
|
actionListener="#{DialogManager.bean.decrementVersion}" rendered="#{!DialogManager.bean.decrementVersionButtonDisabled}" />
|
|
|
|
<h:commandButton image="/images/icons/arrow_down_disabled.gif" title="#{msg.decrement_button_hint}" rendered="#{DialogManager.bean.decrementVersionButtonDisabled}" disabled="true" />
|
|
|
|
<h:commandButton id="refresh-compare-panel" image="/images/icons/reset.gif" title="#{msg.refresh_button_hint}" actionListener="#{DialogManager.bean.refreshComparePanel}" />
|
|
|
|
<br />
|
|
<br />
|
|
</h:panelGrid>
|
|
|
|
<h:dataTable value="#{DialogManager.bean.comparedNodes}" var="row" width="100%" styleClass="selectedItems" headerClass="selectedItemsHeader" cellspacing="0"
|
|
cellpadding="4" style="margin-top: 4px; margin-bottom: 4px;">
|
|
<h:column>
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg.snapshot_name}" />
|
|
</f:facet>
|
|
<h:outputText value="#{row.name}" />
|
|
</h:column>
|
|
|
|
<h:column>
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg.snapshot_path}" />
|
|
</f:facet>
|
|
<h:outputText value="#{row.path}" />
|
|
</h:column>
|
|
|
|
<h:column>
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg.snapshot_status}" />
|
|
</f:facet>
|
|
<h:outputText value="#{row.status}" />
|
|
</h:column>
|
|
</h:dataTable> |