NIHVIVO-1315: Refactoring generic individual pages
This commit is contained in:
parent
67ca8332ec
commit
8c03f249d1
4 changed files with 11 additions and 10 deletions
|
@ -6,9 +6,10 @@
|
||||||
|
|
||||||
<#assign individualProductExtension>
|
<#assign individualProductExtension>
|
||||||
<#include "individual-overview.ftl">
|
<#include "individual-overview.ftl">
|
||||||
</section> <!-- #individual-info -->
|
|
||||||
</section> <!-- #individual-intro -->
|
|
||||||
<#include "individual-visualization.ftl">
|
<#include "individual-visualization.ftl">
|
||||||
|
</section> <!-- #individual-info -->
|
||||||
|
</section> <!-- #individual-intro -->
|
||||||
</#assign>
|
</#assign>
|
||||||
|
|
||||||
<#include "individual-vitro.ftl">
|
<#include "individual-vitro.ftl">
|
|
@ -3,6 +3,7 @@
|
||||||
<#-- Template for sparkline visualization on individual profile page -->
|
<#-- Template for sparkline visualization on individual profile page -->
|
||||||
|
|
||||||
<#if individual.visualizationUrl??>
|
<#if individual.visualizationUrl??>
|
||||||
|
<section id="sparklines-publications" role="region">
|
||||||
|
|
||||||
<#assign coAuthorIcon = '${urls.images}/visualization/co_author_icon.png'>
|
<#assign coAuthorIcon = '${urls.images}/visualization/co_author_icon.png'>
|
||||||
<#assign coInvestigatorIcon = '${urls.images}/visualization/co_investigator_icon.png'>
|
<#assign coInvestigatorIcon = '${urls.images}/visualization/co_investigator_icon.png'>
|
||||||
|
@ -64,5 +65,6 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
</section>
|
||||||
|
|
||||||
</#if>
|
</#if>
|
|
@ -5,11 +5,8 @@
|
||||||
<#if individual.organization >
|
<#if individual.organization >
|
||||||
<#-- Logically we only need section#temporal-graph, but css may depend on the outer sections. Leaving here for UI
|
<#-- Logically we only need section#temporal-graph, but css may depend on the outer sections. Leaving here for UI
|
||||||
team to check. -->
|
team to check. -->
|
||||||
<section id="visualization" role="region">
|
<section id="temporal-graph" role="region">
|
||||||
<section id="sparklines-publications" role="region">
|
<h3><img src="${urls.images}/visualization/temporal_vis_icon.jpg" width="25px" height="25px" /><a href="${urls.base}/visualization?vis=entity_comparison&uri=${individual.uri}">Temporal Graph</a></h3>
|
||||||
<section id="temporal-graph" role="region">
|
|
||||||
<h3><img src="${urls.images}/visualization/temporal_vis_icon.jpg" width="25px" height="25px" /><a href="${urls.base}/visualization?vis=entity_comparison&uri=${individual.uri}">Temporal Graph</a></h3>
|
|
||||||
</section>
|
|
||||||
</section>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</#if>
|
</#if>
|
|
@ -1122,13 +1122,14 @@ ul#individual-tools{
|
||||||
}
|
}
|
||||||
/* INDIVIDUAL INTRO FOR PERSON ------> */
|
/* INDIVIDUAL INTRO FOR PERSON ------> */
|
||||||
#individual-intro-person{
|
#individual-intro-person{
|
||||||
border-right: 1px solid #edf0ed;
|
/*border-right: 1px solid #edf0ed;*/
|
||||||
}
|
}
|
||||||
/* INDIVIDUAL INTRO - LEFT SIDE CONTENT ------> */
|
/* INDIVIDUAL INTRO - LEFT SIDE CONTENT ------> */
|
||||||
img.individual-photo{
|
img.individual-photo{
|
||||||
border: 7px solid #ebebeb;
|
border: 7px solid #ebebeb;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
ul#individual-tools-people{
|
ul#individual-tools-people{
|
||||||
border-bottom: 1px solid #e8ece9;
|
border-bottom: 1px solid #e8ece9;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue