Check in map of science's comparison view for 1.4 release testing

Remaining works:
- support csv download for sub-entity
- show sub-entity mapping results
This commit is contained in:
kongchinhua 2011-11-07 05:34:58 +00:00
parent 60a87403d1
commit be65655c7e
14 changed files with 895 additions and 316 deletions

View file

@ -36,18 +36,23 @@
<script language="JavaScript" type="text/javascript">
var contextPath = "${urls.base}";
var scienceMapDataPrefix = "${urls.base}${dataVisualizationURLRoot}?vis=${mapOfScienceVisParam}&output=json&uri=";
var scienceMapDataURL = scienceMapDataPrefix + "${entityURI}";
var scienceMapDataURL = "${entityMapOfScienceDataURL}";
var baseImageFolderPrefix = "${urls.images}/";
var infoIconUrl = "${urls.images}/iconInfo.png";
var imageFolderPrefix = "${urls.images}/visualization/";
var mapOfScienceImageFolderPrefix = imageFolderPrefix
+ "mapofscience/";
var disciplineLabelImageUrlPrefix = mapOfScienceImageFolderPrefix + "labels/";
var entityLabel = "${entityLabel}";
var entityLabel = '${entityLabel}';
var ENTITY_TYPE = '${entityType}';
<#if entityType == "PERSON" >
<#assign viewTypeFilterDisplay = "none">
<#else>
<#assign viewTypeFilterDisplay = "block">
</#if>
var loadingImageLink = contextPath + "/images/visualization/ajax-loader-indicator.gif";
var refreshPageImageLink = contextPath + "/images/visualization/refresh-green.png";
@ -81,6 +86,8 @@ ${scripts.add('<script type="text/javascript" src="http://maps.google.com/maps/a
'<script type="text/javascript" src="${urls.base}/js/visualization/mapofscience/MarkerManager.js"></script>',
'<script type="text/javascript" src="${urls.base}/js/visualization/mapofscience/ScimapWidget.js"></script>',
'<script type="text/javascript" src="${urls.base}/js/visualization/mapofscience/DataTableWidget.js"></script>',
'<script type="text/javascript" src="${urls.base}/js/visualization/mapofscience/ComparisonScimapWidget.js"></script>',
'<script type="text/javascript" src="${urls.base}/js/visualization/mapofscience/ComparisonDataTableWidget.js"></script>',
'<script type="text/javascript" src="${urls.base}/js/visualization/mapofscience/VisModeControllers.js"></script>',
'<script type="text/javascript" src="${urls.base}/js/visualization/mapofscience/VisCommonControl.js"></script>',
'<script type="text/javascript" src="${urls.base}/js/visualization/mapofscience/InitializeMap.js"></script>')}

View file

@ -39,26 +39,18 @@ corresponding changes in the included Templates. -->
<h1>&#035;{title}</h1>
<p>&#035;{text}</p>
</div>
</div>
<#-- VIEW TYPE FILTER -->
<div id="view-type-filter" style="display:${viewTypeFilterDisplay};">
<input type="radio" name="view-type" value="ENTITY"> Explore ${entityLabel} </input><br>
<input type="radio" name="view-type" value="COMPARISON"> Compare organizations (or people) </input><br><br>
</div>
<!-- <h3>What do you want to compare?</h3> -->
<div id="science-areas-filter">
<span id="discipline-filter" class="filter-option active-filter">13 Disciplines</span> |
<span id="subdisciplines-filter" class="filter-option">554 Sub-Disciplines</span>
<img class="filterInfoIcon" id="imageIconTwo" src="${urls.images}/iconInfo.png"
alt="information icon"
title="" />
</div>
<div id="main-science-areas-table-container"></div>
<hr class="subtle-hr"/>
<div id="main-science-areas-table-footer">
<a id="csv" href="${entityMapOfScienceDisciplineCSVURL}" class="map-of-science-links">Save All as CSV</a>
<#-- <a class="clear-selected-entities map-of-science-links" title="Clear all selected entities.">Clear</a> -->
</div>
</div>
<div id="right-column"><div id="map_area"></div>
@ -78,6 +70,9 @@ mapped <span id="percent-mapped"></span>% of <span id="total-publications"></spa
</div>
</div>
<#-- START TOOLTIP TEXT -->
<div id="toolTipOne" style="display:none;">
VIVO's Map of Science visualization shows the publication activity of any organization, person, or university in a VIVO instance,
overlaid on the map of science. This particular page shows the publication activity of ${entityLabel}.<br /> <br />
@ -144,9 +139,33 @@ concern.</div>
<div id="searchInfoTooltipText" style="display:none;">
<!-- Search for specific sub-discipline (or discipline) label in the first column of the table. -->
List only map of science areas whose names contain this text.
List only sub-disciplines (or disciplines) whose name contains this text.
</div>
<#-- COMPARISON TOOLTIP TEXT -->
<div id="comparisonToolTipTwo" style="display:none;">
The organizations or people listed below are only those which are directly beneath ${entityLabel} in the
organization hierarchy. You may 'drill down' to see the organizations or people below a given sub-organization
by selecting the chart icon next to a selected sub-organization's name below the graph on the right.
<br /><br />
The <b># of pubs.</b> column shows how many of the publications were mapped to each field.
This count can be fractional because some publication venues are associated with more than one field.
Each publication in such a venue contributes fractionally to all associated fields according to a weighting scheme.
<br /><br />
The <b>% activity</b> column shows what proportion of the publications were mapped to each field.
</div>
<div id="comparisonSearchInfoTooltipText" style="display:none;">
<!-- Search for specific sub-discipline (or discipline) label in the first column of the table. -->
List only organizations (or people) whose name contains this text.
</div>
<#-- END TOOLTIP TEXT -->
<div id="error-container">
<h1 id="noPublications-header">${entityLabel}</h1>