diff --git a/web/src/main/webapp/WEB-INF/components/map/submapPanel.xhtml b/web/src/main/webapp/WEB-INF/components/map/submapPanel.xhtml index c586e22bb27eb641a756351450bed4f9a76dceec..c20c70b3797b48511a26a88ae255a1f5ef3d76a4 100644 --- a/web/src/main/webapp/WEB-INF/components/map/submapPanel.xhtml +++ b/web/src/main/webapp/WEB-INF/components/map/submapPanel.xhtml @@ -6,38 +6,14 @@ xmlns:cc="http://java.sun.com/jsf/composite/pfcomp" xmlns:p="http://primefaces.org/ui"> -<h:outputStylesheet library="css" name="submap.css" /> - -<h:form id="submapForm" class="submapPanel"> - <cc:helpButton helpText="The Submaps tab summarizes all the submap networks uploaded together and linked to the main network of <b>'#{mapMB.currentProject.name}'</b> project." style="float:right;margin-top:-12px;margin-right:-13px;"/> - -<h:outputText value="SUBMAPS" style="font-size:13px; font-weight:900; padding-bottom:10px;"/> - - - <p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" /> - - <h:panelGroup layout="block" > - <p:dataTable id="submapDataTable" var="submap" value="#{mapMB.mapDataList}"> - - <p:column sortBy="name" headerText="Name"> - <h:outputText id="name" value="#{submap.mapConfig.name}" /> - </p:column> - - <p:column headerText=""> - <p:commandLink actionListener="#{mapMB.createSubmodelDialog}" - oncomplete="GuiConnector.openDialog(#{submap.mapConfig.idObject});" id="opener" ajax="true" icon="ui-icon-document" title="View"> - <f:param name="submodelId" value="#{submap.mapConfig.idObject}"/> - <p:graphicImage height="24" - width="24" - library="images" name="icons/search.png" - /> - </p:commandLink> - </p:column> - - </p:dataTable> - </h:panelGroup> -</h:form> - + <h:outputStylesheet library="css" name="global.css" /> + +<div id="submapTab"> + <div name="submapDiv" class="searchPanel"> + <h5>SUBMAPS:</h5> + <table cellpadding="4" name="submapTable" class="table table-bordered" style="width:100%"/> + </div> + +</div> </html> -