From fa2f4be08784360bd26431527fe25142a576a2a4 Mon Sep 17 00:00:00 2001 From: cdtank Date: Thu, 20 Jan 2011 00:18:51 +0000 Subject: [PATCH] 1. Fixed a design bug for IE where the y-axis legen did not get the padding-top. 2. Reflected the changes for publication version of temporal-graphs into grants version. --- .../visualization/entitycomparison/layout.css | 2 +- ...entityComparisonGrantsStandaloneActivator.ftl | 16 ++++++---------- .../entityComparisonStandaloneActivator.ftl | 8 ++------ 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/productMods/css/visualization/entitycomparison/layout.css b/productMods/css/visualization/entitycomparison/layout.css index a48a85cb..48741d86 100644 --- a/productMods/css/visualization/entitycomparison/layout.css +++ b/productMods/css/visualization/entitycomparison/layout.css @@ -48,7 +48,7 @@ a.temporalGraphLinks { display: block; height: 150px; text-align: center; - padding-top: 50px; + margin-top: 50px; position: absolute !important; } diff --git a/productMods/templates/freemarker/visualization/entitycomparison/entityComparisonGrantsStandaloneActivator.ftl b/productMods/templates/freemarker/visualization/entitycomparison/entityComparisonGrantsStandaloneActivator.ftl index e997ace9..45d3a554 100644 --- a/productMods/templates/freemarker/visualization/entitycomparison/entityComparisonGrantsStandaloneActivator.ftl +++ b/productMods/templates/freemarker/visualization/entitycomparison/entityComparisonGrantsStandaloneActivator.ftl @@ -200,14 +200,6 @@ var organizationLabel = '${organizationLabel}'; prepareTableForDataTablePagination(jsonData); setEntityLevel(); - /* - calcMinandMaxYears(labelToEntityRecord, year); - yearRange = (year.max - year.min); - - setLineWidthAndTickSize(yearRange, FlotOptions); - setTickSizeOfYAxis(calcMaxOfComparisonParameter(labelToEntityRecord), FlotOptions); - */ - $(".disabled-checkbox-event-receiver").live("click", function () { if ($(this).next().is(':disabled')) { @@ -313,8 +305,9 @@ var organizationLabel = '${organizationLabel}';

Who do you want to compare?

-
+ <#--
@@ -337,7 +330,10 @@ var organizationLabel = '${organizationLabel}';

You have selected 0 of a maximum 10 schools to compare. - Clear

+ + Clear + +

diff --git a/productMods/templates/freemarker/visualization/entitycomparison/entityComparisonStandaloneActivator.ftl b/productMods/templates/freemarker/visualization/entitycomparison/entityComparisonStandaloneActivator.ftl index 1110b92e..2db6a04c 100644 --- a/productMods/templates/freemarker/visualization/entitycomparison/entityComparisonStandaloneActivator.ftl +++ b/productMods/templates/freemarker/visualization/entitycomparison/entityComparisonStandaloneActivator.ftl @@ -141,13 +141,9 @@ var organizationLabel = '${organizationLabel}'; } }); - //console.log("parse jaon", jQuery.parseJSON(jsonString)); - - //parse the json object and pass it to loadData + //parse the json object and pass it to loadData jsonObject.prepare(jQuery.parseJSON(jsonString)); - - //console.log(jsonObject); - + function performEntityCheckboxUnselectedActions(entity, checkboxValue, checkbox) { removeUsedColor(entity);