view src/main/webapp/entry/components/codexPopups.xhtml @ 166:caf1aa768457

updated public_manifest_url in DIGITALIZATION form.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Tue, 29 May 2018 21:16:46 +0200
parents 764f47286679
children
line wrap: on
line source

<!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:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">
<body>
	<ui:composition>
	
		<!-- Unity Warning -->
		<h:panelGrid id="codexUnityWarningPP">
			<h:panelGrid 
				rendered="#{CurrentCodex.renderUnityCheckerDialog}">
				<div style="z-index: 100;" class="rf-pp-shade">
					<button class="rf-pp-btn" tabindex="-1" accesskey="" />
				</div>

				<h:panelGrid columns="1" class="rf-pp-cntr"
					style="height: 100px; left: 100px; position: fixed; top: 50px; width: 300px; z-index: 100;">

					<div class="rf-pp-shdw"
						style="height: 100px; left: 100px; left: 5px; top: 5px; bottom: -5px; opacity: 0.1;">
					</div>
					<div class="rf-pp-hdr " style="cursor: default;">
						<div class="rf-pp-hdr-cnt">Unity Warning</div>
					</div>

					<h:panelGrid columns="1" class="rf-pp-cnt-scrlr"
						style="width: 300px; height: 200px;">

                    <h:outputText value="#{CurrentCodex.unityCheckerMsg}"/>
                    <h:panelGrid>
                        <a4j:commandButton value="Load Entity" action="#{CurrentCodex.loadCloneEntity}"/>
                        <a4j:commandButton value="Continue Editing" action="#{CurrentCodex.hideUnityCheckerDialog}" />
                    </h:panelGrid>

					</h:panelGrid>
				</h:panelGrid>

			</h:panelGrid>
		</h:panelGrid>		
	
	
		<!-- Codex unknown -->
		<h:panelGrid id="witnessRelated2CodexPP">
			<h:panelGroup 
				rendered="#{CurrentCodex.showWitnessInCurrentCodex}">
				<div style="z-index: 100;" class="rf-pp-shade">
					<button class="rf-pp-btn" tabindex="-1" accesskey="" />
				</div>

				<h:panelGrid columns="1" class="rf-pp-cntr"
					style="height: 100px; left: 100px; position: fixed; top: 50px; width: 500px; z-index: 100;">

					<div class="rf-pp-shdw"
						style="height: 100px; left: 100px; left: 5px; top: 5px; bottom: -5px; opacity: 0.1;">
					</div>
					<div class="rf-pp-hdr " style="cursor: default;">
						<div class="rf-pp-hdr-cnt">Witness related to this Codex</div>
					</div>

					<h:panelGrid columns="1" class="rf-pp-cnt-scrlr"
						style="width: 500px; height: 329px;">

				<rich:dataTable value="#{CurrentCodex.witnessInCurrentCodex}"
					var="witness">
					<h:column>
						<h:outputText value="[#{witness.id}] #{witness.ownValue}" />
					</h:column>
					<h:column>
						<a4j:commandButton 
						    value="Edit this entity"
                            title="Edit this entity"
                            image="#{ApplicationBean1.editImage}"
							actionListener="#{CurrentCodex.actionEditThisWitness}"
							render="witnessRelated2CodexPP"/>
					</h:column>
				</rich:dataTable>		
				
				<a4j:commandButton value="Close"
					actionListener="#{CurrentCodex.actionCloseWitnessDialog}"
					render="witnessRelated2CodexPP"/>

					</h:panelGrid>
				</h:panelGrid>

			</h:panelGroup>
		</h:panelGrid>	


	</ui:composition>
</body>
</html>