1. Added temporal graph link for the highest organization code for "organizations" page.
2. Cleaned up some query runners. 3. Made GenericQueryRunner to accept sparql queries that does not depend on URIs. 4. Adde style for temporal graph link to wilma.css
This commit is contained in:
parent
f5e6fbf409
commit
3d8f5d921c
7 changed files with 161 additions and 90 deletions
|
@ -1,7 +1,37 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
<#assign visualizationLink>
|
||||
<#-- Chintan...place your markup for the visualization link here -->
|
||||
<a class="visualiztionMenupage" href="${urls.base}/vis/temporalGraph" title="Compare this organization">Temporal Graph</a>
|
||||
|
||||
<#assign temporalGraphIcon = '${urls.images}/visualization/temporal_vis_small_icon.jpg'>
|
||||
|
||||
<div id="temporal-graph-link-container">
|
||||
<div class="collaboratorship-icon">
|
||||
<a class="temporal-graph-link" href="#"><img src="${temporalGraphIcon}" alt="Temporal Graph"/></a>
|
||||
</div>
|
||||
<div class="collaboratorship-link">
|
||||
<h3><a class="temporal-graph-link" href="#">Temporal Graph</a></h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
${stylesheets.add("css/visualization/visualization.css")}
|
||||
|
||||
<script type="text/javascript">
|
||||
var contextPath = '${contextPath}';
|
||||
|
||||
$.ajax({
|
||||
url: contextPath + "/visualizationAjax",
|
||||
data: ({vis: "utilities", vis_mode: "HIGHEST_LEVEL_ORGANIZATION"}),
|
||||
dataType: "text",
|
||||
success:function(data){
|
||||
if (data != null && data != "") {
|
||||
$("#temporal-graph-link-container .temporal-graph-link").attr("href", data);
|
||||
$("#temporal-graph-link-container").show();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</#assign>
|
||||
|
||||
<#include "menupage.ftl">
|
Loading…
Add table
Add a link
Reference in a new issue