Commit 34d44897 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

link to external header file removed

parent 9bb9cb84
<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:cc="http://java.sun.com/jsf/composite/pfcomp"
xmlns:p="http://primefaces.org/ui">
<h:outputStylesheet library="css" name="info.css" />
<h:form id="infoForm" class="infoPanel">
<div style="top:0px; width:100%; display: block;">
<p:messages style="top:0px; width:100%;" id="loginMessages" showDetail="true" autoUpdate="true" closable="true" />
</div>
<h:outputText value="PROJECT INFO" styleClass="headerText"/>
<h:panelGrid columns="2" cellpadding="1" styleClass="infoPanelData">
<h:outputText value="Name: " />
<h:outputText value="#{mapMB.currentProject.name}"/>
<h:outputText value="Version: " />
<h:outputText value="#{mapMB.currentProjectView.version}"/>
<h:outputText value="Description: " />
<h:outputText value="#{mapMB.currentProjectView.description}"/>
<h:outputText value="Associated disease: " />
<h:panelGroup>
<h:outputText value="#{mapMB.currentProjectView.diseaseName}"/>
<cc:annotation element="#{mapMB.currentProjectView.projectDiseaseLink}" rendered='#{mapMB.currentProjectView.diseaseName!="N/A" &amp;&amp; not empty mapMB.currentProjectView.diseaseName}'/>
</h:panelGroup>
<h:outputText value="Publications: " />
<h:panelGroup>
<h:outputText value="#{exportMB.pubmedModelSummary.size()}"/>
<br/>
<p:commandButton icon="ui-icon-document" oncomplete="infoPublications.show()" value="Show" title="Show"/>
</h:panelGroup>
<h:outputText value="Original file: " />
<h:panelGroup>
<p:commandButton id="downloadProjectButton" actionListener="#{projectMB.downloadInputData(mapMB.currentProjectView)}" icon="ui-icon-arrowthickstop-1-s" disabled="#{not mapMB.currentProjectView.inputDataAvailable}" ajax="false" rendered='#{mapMB.currentProjectView.inputDataAvailable}'/>
<h:outputText value="N/A" rendered='#{not mapMB.currentProjectView.inputDataAvailable}'/>
</h:panelGroup>
</h:panelGrid >
</h:form>
<h:form id="infoForm2">
<p:dialog header="Publications" widgetVar="infoPublications" resizable="true" id="publicationsDlg"
showEffect="fade" modal="true">
<p:dataTable id="pubmedDataTable" var="row" value="#{exportMB.pubmedModelSummary}" paginator="true" rows="20" styleClass="paginated" paginatorAlwaysVisible="false">
<p:column headerText="PubMed ID">
<a href="#{row.article.link}" target="_pubmed_#{row.article.id}">#{row.article.id}</a>
</p:column>
<p:column sortBy="article.title" headerText="Title">
<h:outputLabel value="#{row.article.title}" />
</p:column>
<p:column headerText="Authors">
<ui:repeat value="#{row.article.authors}" var="author">
<h:outputText value="#{author}"/>,
</ui:repeat>
</p:column>
<p:column sortBy="article.year" headerText="Year">
<h:outputLabel value="#{row.article.year}" />
</p:column>
<p:column sortBy="article.journal" headerText="Journal">
<h:outputLabel value="#{row.article.journal}" />
</p:column>
<p:column headerText="Elements on map">
<ui:repeat value="#{row.elements}" var="element">
<a href="#{request.contextPath}/?id=#{mapMB.currentMapId}&amp;search=#{element.right}" >#{element.left}</a>,
</ui:repeat>
</p:column>
</p:dataTable>
</p:dialog>
</h:form>
</html>
......@@ -76,7 +76,7 @@ function initMap(){
<h:outputScript library="primefaces" name="jquery/jquery.js" target="head" />
<div class = "containerClass">
<div id="leftPanel" class ="leftPanelClass">
<ui:include src="/WEB-INF/components/admin/header.xhtml" />
<div><a href="#{request.contextPath}/?id=#{mapMB.currentMapId}" class="mainTitle"><i class="fa fa-home" style="font-size:17px"></i> #{mapMB.currentProject.name}</a></div>
<p:tabView id="tabView" widgetVar="_tabViewVar" activeIndex="0" >
<p:tab id="searchTab" title="&lt;div class='tngContainer'&gt;&lt;div class='tng'&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='maintabdiv'&gt;&lt;i class='fa fa-search maintab'&gt;&lt;/i&gt;&lt;br&gt;SEARCH&lt;/div&gt;" styleClass="leftTab">
......@@ -190,3 +190,4 @@ function initMap(){
</h:body>
</f:view>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment