Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
minerva
core
Commits
34d44897
Commit
34d44897
authored
7 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
link to external header file removed
parent
9bb9cb84
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!5
Frontend refactor
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
web/src/main/webapp/WEB-INF/components/map/infoPanel.xhtml
+0
-79
0 additions, 79 deletions
web/src/main/webapp/WEB-INF/components/map/infoPanel.xhtml
web/src/main/webapp/index.xhtml
+2
-1
2 additions, 1 deletion
web/src/main/webapp/index.xhtml
with
2 additions
and
80 deletions
web/src/main/webapp/WEB-INF/components/map/infoPanel.xhtml
deleted
100644 → 0
+
0
−
79
View file @
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" && 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}&search=#{element.right}"
>
#{element.left}
</a>
,
</ui:repeat>
</p:column>
</p:dataTable>
</p:dialog>
</h:form>
</html>
This diff is collapsed.
Click to expand it.
web/src/main/webapp/index.xhtml
+
2
−
1
View file @
34d44897
...
...
@@ -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=
"<div class='tngContainer'><div class='tng'></div></div><div class='maintabdiv'><i class='fa fa-search maintab'></i><br>SEARCH</div>"
styleClass=
"leftTab"
>
...
...
@@ -190,3 +190,4 @@ function initMap(){
</h:body>
</f:view>
</html>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment