Skip to content
Snippets Groups Projects
Commit 81ffa152 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

missing connection dialog removed

parent b052e6c6
No related branches found
No related tags found
1 merge request!5Frontend refactor
<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:c="http://java.sun.com/jsp/jstl/core"
xmlns:p="http://primefaces.org/ui">
<h:form id="missingConnectionForm">
<h:inputHidden id="connectionId" />
<p:dialog id="removeConnectionDialog" header="Why do you want to remove this candidate:" widgetVar="dlg4" modal="true">
<h:panelGrid columns="1" cellpadding="5">
<p:inputTextarea id="removeContent" label="content" />
<f:facet name="footer">
<p:commandButton id="removeConnectionButton" value="Remove" actionListener="#{searchMB.removeConnection}" onsuccess="dlg4.hide()"/>
<p:commandButton id="cancelRemoveButton" value="Cancel" onclick="dlg4.hide()" />
</f:facet>
</h:panelGrid>
</p:dialog>
<h:inputHidden id="commentId" />
<p:dialog id="removeCommentDialog" header="Why do you want to this comment:" widgetVar="dlg5" modal="true">
<h:panelGrid columns="1" cellpadding="5">
<p:inputTextarea id="removeCommentContent" label="content" />
<f:facet name="footer">
<p:commandButton id="removeCommentButton" value="Remove" actionListener="#{feedbackMB.removeComment}" onsuccess="dlg5.hide()"/>
<p:commandButton id="cancelRemoveCommentButton" value="Cancel" onclick="dlg5.hide()" />
</f:facet>
</h:panelGrid>
</p:dialog>
</h:form>
<h:form id="_dataMiningConnector">
<p:remoteCommand name="_refreshMissingConnectionOverlayCollection" actionListener="#{missingConnectionMB.refreshOverlayCollection}"/>
<p:remoteCommand name="_registerMissingConnectionOverlayCollection" actionListener="#{missingConnectionMB.registerOverlayCollection}"/>
<p:remoteCommand name="_clearMissingConnectionOverlayCollection" actionListener="#{missingConnectionMB.clear}"/>
</h:form>
</html>
......@@ -75,7 +75,7 @@ function initMap(){
<h:outputScript library="primefaces" name="jquery/jquery.js" target="head" />
<div class = "containerClass">
<div id="leftPanel" class ="leftPanelClass" style="float: left;">
<div id="leftPanel" class ="leftPanelClass">
<ui:include src="/WEB-INF/components/admin/header.xhtml" />
......@@ -178,7 +178,6 @@ function initMap(){
<!--<ui:include src="/WEB-INF/components/map/footer.xhtml" />-->
<ui:include src="/WEB-INF/components/map/feedbackDialog.xhtml" />
<ui:include src="/WEB-INF/components/map/missingConnectionDialog.xhtml" />
<div name="dialogs">
......
......@@ -139,6 +139,7 @@
.leftPanelClass {
display: table-cell;
float: left;
border: none;
background-color: #ffffff;
width: 357px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment