From 9bb0592e4e1ffdc3abd6f92e7dde4d2d08ef0907 Mon Sep 17 00:00:00 2001 From: mb863 Date: Tue, 4 Jan 2011 22:19:45 +0000 Subject: [PATCH] NIHVIVO-1315: Done a lot of clean up work on styles for properly render individual display pages. --- webapp/web/css/individual/individual.css | 16 +++-- .../freemarker/body/individual/individual.ftl | 62 +++++++++---------- 2 files changed, 38 insertions(+), 40 deletions(-) diff --git a/webapp/web/css/individual/individual.css b/webapp/web/css/individual/individual.css index c3e0dcbd8..c48b07740 100644 --- a/webapp/web/css/individual/individual.css +++ b/webapp/web/css/individual/individual.css @@ -65,10 +65,10 @@ div.bottom{ } /* <------ INDIVIDUAL INTRO FOR ANY CLASS*/ #individual-intro{ - width: 920px; - margin: 0 auto; + float: left; + width: 75%; margin-top: 35px; - margin-bottom: 30px; + margin-bottom: 45px; } #individual-intro h1{ padding-bottom: 24px; @@ -94,6 +94,7 @@ div.bottom{ #left-side img.individual-photo2{ width: 160px; height: 160px; + float: left; } ul#individual-tools-people{ margin-top: 5px; @@ -138,7 +139,7 @@ ul#individual-tools li{ .icon-rdf{ position: absolute; font-size: 1.125em; - top: 16px; + top: 13px; } .picto-email{ font-size: 1.375em; @@ -186,10 +187,10 @@ ul#individual-urls-people li{ #individual-info{ width: 65%; float: left; - padding: 60px 0 0 10px; + padding: 10px 0 0 10px; } #individual-info h1.fn{ - padding-bottom: 24px; + padding-bottom: 12px; } h1.fn .preferred-title { padding-left: 10px; @@ -229,9 +230,6 @@ ul#individual-areas li{ padding-right: 10px; padding-left: 10px; } -ul#individual-areas li a{ - color: #2485ae; -} /* <------ INDIVIDUAL VISUALIZATION */ #publications-visualization{ margin-top: 35px; diff --git a/webapp/web/templates/freemarker/body/individual/individual.ftl b/webapp/web/templates/freemarker/body/individual/individual.ftl index 7bb07a1b6..65f765257 100644 --- a/webapp/web/templates/freemarker/body/individual/individual.ftl +++ b/webapp/web/templates/freemarker/body/individual/individual.ftl @@ -15,35 +15,17 @@ <#assign propertyGroups = individual.propertyList> - -
+ +
<#-- Thumbnail --> <#if individual.thumbUrl??> ${individual.name} - <#elseif individual.person> - placeholder image + <#--<#elseif individual.person> + placeholder image--> - - - - <#-- Links --> -
- +
<#if relatedSubject??> @@ -60,6 +42,7 @@ +
<#-- Overview --> <#assign overview = propertyGroups.getPropertyAndRemoveFromList("${core}overview")!> @@ -68,23 +51,40 @@

${statement.value}

- + + + + <#-- Links --> +
<#include "individual-sparklineVisualization.ftl"> - + <#-- RY Will we have an individual--foaf-organization.ftl template? If so, move this there and remove from here. Also remove the method IndividualTemplateModel.isOrganization(). --> <#if individual.organization > -
-
-

Temporal Graph
View 4

-
- <#--
VISMODE: ${individual.moniker}
--> - +
+
+

Temporal Graph
View 4

+
+ <#--
VISMODE: ${individual.moniker}
--> +