Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
9ffd9cb8
Commit
9ffd9cb8
authored
Apr 23, 2015
by
Matija Obreza
Browse files
Final PCDI layout
parent
e1bb7d98
Changes
3
Hide whitespace changes
Inline
Side-by-side
TODO.md
View file @
9ffd9cb8
...
@@ -13,9 +13,7 @@
...
@@ -13,9 +13,7 @@
# TODO PDCI #
# TODO PDCI #
-
Use DS to hold results of calculation, similar to worldclim DS
-
Use DS to hold results of calculation, similar to worldclim DS
-
Start by calculating and displaying PDCI with accession details
-
Re-calculation needs to happen after any update to Accession or AccessionRelated (same as ES update)
-
Re-calculation needs to happen after any update to Accession or AccessionRelated (same as ES update)
-
Need a PDCI "component" that will either return cached result or schedule calculation of PDCI for the accession
-
PDCI dataset is downloadable as Excel (for selected accessions)
-
PDCI dataset is downloadable as Excel (for selected accessions)
-
WorldClim dataset is downloadable as Excel (for selected accessions)
-
WorldClim dataset is downloadable as Excel (for selected accessions)
src/main/resources/content/language.properties
View file @
9ffd9cb8
...
@@ -621,7 +621,7 @@ admin.kpi.execution.page=KPI Execution
...
@@ -621,7 +621,7 @@ admin.kpi.execution.page=KPI Execution
admin.kpi.executionrun.page
=
Execution run details
admin.kpi.executionrun.page
=
Execution run details
accession.pdci
=
Passport Data Completeness Index
accession.pdci
=
Passport Data Completeness Index
accession.pdci.jumbo
=
PDCI Score {0} of 10.0
accession.pdci.jumbo
=
PDCI Score
:
{0} of 10.0
accession.pdci.about-link
=
Read about Passport Data Completeness Index
accession.pdci.about-link
=
Read about Passport Data Completeness Index
accession.pdci.independent-items
=
Independent of the population type
accession.pdci.independent-items
=
Independent of the population type
accession.pdci.dependent-items
=
Depending on the population type
accession.pdci.dependent-items
=
Depending on the population type
...
...
src/main/webapp/WEB-INF/tags/pdci.tag
View file @
9ffd9cb8
...
@@ -6,33 +6,34 @@
...
@@ -6,33 +6,34 @@
<%
<%
%>
%>
<h3>
<div class="crop-details">
<h4>
<spring:message code="accession.pdci" />
<spring:message code="accession.pdci" />
</h
3
>
</h
4
>
<div class="jumbotron pdci-score">
<div class="jumbotron pdci-score">
<div>
<div>
<h
4
>
<h
3
>
<spring:message code="accession.pdci.jumbo" arguments="${value.score}" />
<spring:message code="accession.pdci.jumbo" arguments="${value.score}" />
</h
4
>
</h
3
>
<small><a href="<c:url value="/content/passport-data-completeness-index" />"><spring:message
<small><a href="<c:url value="/content/passport-data-completeness-index" />"><spring:message
code="accession.pdci.about-link"
code="accession.pdci.about-link"
/></a></small>
/></a></small>
</div>
</div>
</div>
</div>
<div class="crop-details">
<%-- <h5>
<h4>
<spring:message code="accession.pdci.independent-items" />
<spring:message code="accession.pdci.independent-items" />
</h
4
>
</h
5> --%
>
<div class="row">
<div class="row">
<c:forEach items="${pdci.independentItems}" var="item">
<c:forEach items="${pdci.independentItems}" var="item">
<div class="col-sm-3 col-xs-5 ${pdci[item] == 0 ? 'pdci-improve' : ''}">${item.toUpperCase()}</div>
<div class="col-sm-3 col-xs-5 ${pdci[item] == 0 ? 'pdci-improve' : ''}">${item.toUpperCase()}</div>
<div class="col-sm-1 col-xs-1">${pdci[item]}</div>
<div class="col-sm-1 col-xs-1">${pdci[item]}</div>
</c:forEach>
</c:forEach>
</div>
</div>
<h
4
>
<h
5
>
<spring:message code="accession.pdci.dependent-items" />
<spring:message code="accession.pdci.dependent-items" />
</h
4
>
</h
5
>
<div class="row">
<div class="row">
<c:forEach items="${pdci.dependentItems}" var="item">
<c:forEach items="${pdci.dependentItems}" var="item">
<div class="col-sm-3 col-xs-5 ${pdci[item] == 0 ? 'pdci-improve' : ''}">${item.toUpperCase()}</div>
<div class="col-sm-3 col-xs-5 ${pdci[item] == 0 ? 'pdci-improve' : ''}">${item.toUpperCase()}</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment