2010-07-01 22:26:36 +00:00
|
|
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.visualization.personpubcount.VisVOContainer"%>
|
2010-07-01 16:45:02 +00:00
|
|
|
|
2010-07-01 15:54:11 +00:00
|
|
|
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
|
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
<c:set var="portalBean" value="${requestScope.portalBean}" />
|
|
|
|
<c:set var="themeDir"><c:out value="${portalBean.themeDir}" /></c:set>
|
2010-07-01 22:26:36 +00:00
|
|
|
<c:url var="visImageContextPath" value="/${themeDir}site_icons/visualization/" />
|
2010-07-02 01:06:46 +00:00
|
|
|
<c:url var="loadingImageLink" value="/${themeDir}site_icons/visualization/ajax-loader.gif"></c:url>
|
2010-07-01 15:54:11 +00:00
|
|
|
|
2010-07-01 22:26:36 +00:00
|
|
|
<c:set var='sparkline' value='${requestScope.sparklineVO}' />
|
|
|
|
|
|
|
|
<c:url var="egoSparklineDataURL" value="/admin/visQuery">
|
2010-07-01 15:54:11 +00:00
|
|
|
<c:param name="render_mode" value="data" />
|
2010-07-01 22:26:36 +00:00
|
|
|
<c:param name="vis" value="person_pub_count" />
|
2010-07-01 15:54:11 +00:00
|
|
|
<c:param name="uri" value="${requestScope.egoURIParam}" />
|
|
|
|
</c:url>
|
|
|
|
|
2010-07-01 22:26:36 +00:00
|
|
|
<c:url var="coAuthorshipDownloadFile" value="/admin/visQuery">
|
|
|
|
<c:param name="vis" value="person_level" />
|
|
|
|
<c:param name="render_mode" value="data" />
|
|
|
|
<c:param name="uri" value="${requestScope.egoURIParam}" />
|
2010-07-01 15:54:11 +00:00
|
|
|
</c:url>
|
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
<div id="body">
|
2010-07-01 15:54:11 +00:00
|
|
|
|
2010-07-01 22:26:36 +00:00
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
<style type="text/css">
|
2010-07-01 15:54:11 +00:00
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
#ego_profile {
|
2010-07-02 01:26:45 +00:00
|
|
|
padding: 10px;
|
|
|
|
height: 100px;
|
2010-07-02 01:06:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#ego_label {
|
|
|
|
font-size:1.1em;
|
|
|
|
margin-left:100px;
|
|
|
|
margin-top:9px;
|
|
|
|
position:absolute;
|
|
|
|
}
|
2010-07-01 22:26:36 +00:00
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
#ego_moniker {
|
|
|
|
margin-left:100px;
|
|
|
|
margin-top:27px;
|
|
|
|
position:absolute;
|
|
|
|
}
|
2010-07-01 22:26:36 +00:00
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
#ego_profile_image {
|
|
|
|
width: 100px;
|
|
|
|
}
|
2010-07-01 15:54:11 +00:00
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
#ego_sparkline {
|
|
|
|
cursor:pointer;
|
|
|
|
height:36px;
|
|
|
|
margin-left:10px;
|
|
|
|
margin-top:69px;
|
|
|
|
position:absolute;
|
|
|
|
width:471px;
|
|
|
|
}
|
2010-07-01 15:54:11 +00:00
|
|
|
|
2010-07-02 01:26:45 +00:00
|
|
|
.thumbnail {
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
</style>
|
2010-07-01 15:54:11 +00:00
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
<div id="ego_profile">
|
|
|
|
|
|
|
|
<%-- Label --%>
|
|
|
|
<span id="ego_label" class="author_name"></span>
|
|
|
|
|
|
|
|
<%-- Moniker--%>
|
|
|
|
<span id="ego_moniker" class="author_moniker"></span>
|
|
|
|
|
|
|
|
<%-- Image --%>
|
|
|
|
<span id="ego_profile_image" class="thumbnail"></span>
|
|
|
|
|
|
|
|
<%-- Sparkline --%>
|
|
|
|
<span id="ego_sparkline">${sparkline.sparklineContent}</span>
|
2010-07-01 15:54:11 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2010-07-01 22:26:36 +00:00
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
<div id="topShadow"></div>
|
|
|
|
<div id="bodyPannel" style="height: 900px;">
|
|
|
|
<br class="spacer" />
|
|
|
|
|
|
|
|
<div id="visPanel" style="float: left; width: 610px;">
|
|
|
|
<script language="JavaScript" type="text/javascript">
|
|
|
|
<!--
|
|
|
|
renderCoAuthorshipVisualization();
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="dataPanel" style="float: left; width: 150px;" style="visibility:hidden;" >
|
|
|
|
<br /><br /><br /><br /><br /><br />
|
|
|
|
|
|
|
|
<div id="profileImage"></div>
|
|
|
|
|
|
|
|
<div class="bold"><strong><span id="authorName" class="author_name"> </span></strong></div>
|
|
|
|
|
|
|
|
<div class="italicize"><span id="profileMoniker" class="author_moniker"></span></div>
|
|
|
|
<br />
|
|
|
|
<div class="works"><span class="numbers" style="width: 40px;" id="works"></span> <span class="title">Works</span></div>
|
|
|
|
<div class="works"><span class="numbers" style="width: 40px;" id="coAuthors"></span> <span>Co-author(s)</span></div>
|
|
|
|
|
|
|
|
<div class="works" id="fPub" style="visibility:hidden"><span class="numbers" style="width:40px;" id="firstPublication"></span> <span>First Publication</span></div>
|
|
|
|
<div class="works" id="lPub" style="visibility:hidden"><span class="numbers" style="width:40px;" id="lastPublication"></span> <span>Last Publication</span></div>
|
|
|
|
|
|
|
|
<br /><br />
|
|
|
|
|
|
|
|
<div><a href="#" id="profileUrl">VIVO profile</a></div>
|
|
|
|
<br />
|
|
|
|
<div><a href="#" id="coAuthorshipVisUrl">Co-author network of <span id="coAuthorName"></span></a></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<span class="no_href_styles"><a href="${coAuthorshipDownloadFile}">
|
|
|
|
<img src="${visImageContextPath}download_graphml.png" width="91" height="25" /></a>
|
|
|
|
</span>
|
2010-07-01 22:26:36 +00:00
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
<br class="spacer">
|
|
|
|
</div>
|
2010-07-01 22:26:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2010-07-01 15:54:11 +00:00
|
|
|
|
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
<div class="vis-stats">
|
|
|
|
|
|
|
|
<div class="vis-tables">
|
|
|
|
<p class="datatable">
|
|
|
|
${sparkline.table}
|
|
|
|
<a href="${egoSparklineDataURL}" class="no_href_styles">
|
|
|
|
<img src="${visImageContextPath}download_csv.png" width="91" height="25" />
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="vis-tables">
|
|
|
|
<p id="coauth_table_container" class="datatable"></p>
|
|
|
|
</div>
|
2010-07-01 15:54:11 +00:00
|
|
|
|
|
|
|
</div>
|
2010-07-02 01:06:46 +00:00
|
|
|
|
|
|
|
<script language="JavaScript" type="text/javascript">
|
2010-07-01 15:54:11 +00:00
|
|
|
$(document).ready(function(){
|
|
|
|
|
2010-07-02 01:06:46 +00:00
|
|
|
$("#coauth_table_container").empty().html('<img id="loadingData" with="auto" src="${loadingImageLink}" />');
|
|
|
|
|
2010-07-01 15:54:11 +00:00
|
|
|
processProfileInformation("ego_label",
|
|
|
|
"ego_moniker",
|
2010-07-01 16:45:02 +00:00
|
|
|
"ego_profile_image",
|
2010-07-01 15:54:11 +00:00
|
|
|
jQuery.parseJSON(getWellFormedURLs("${requestScope.egoURIParam}", "profile_info")));
|
|
|
|
|
|
|
|
});
|
2010-07-01 22:26:36 +00:00
|
|
|
</script>
|