Fixed the style for co-pi network placeholder on the profile page.

This commit is contained in:
cdtank 2011-01-04 02:16:55 +00:00
parent 18bcfbd852
commit 854e28ea35

View file

@ -10,13 +10,37 @@
<#assign googleJSAPI = 'http://www.google.com/jsapi?autoload=%7B%22modules%22%3A%5B%7B%22name%22%3A%22visualization%22%2C%22version%22%3A%221%22%2C%22packages%22%3A%5B%22areachart%22%2C%22imagesparkline%22%5D%7D%5D%7D'> <#assign googleJSAPI = 'http://www.google.com/jsapi?autoload=%7B%22modules%22%3A%5B%7B%22name%22%3A%22visualization%22%2C%22version%22%3A%221%22%2C%22packages%22%3A%5B%22areachart%22%2C%22imagesparkline%22%5D%7D%5D%7D'>
<#assign CoInvestigatorURL = '${urls.base}${standardVisualizationURLRoot}?vis=person_level&uri=${individual.uri}&vis_mode=copi'> <#assign CoInvestigatorURL = '${urls.base}${standardVisualizationURLRoot}?vis=person_level&uri=${individual.uri}&vis_mode=copi'>
<style>
.collaboratorship-icon {
float: left;
padding-right: 5px;
}
.collaboratorship-link a {
font-size: 0.9em;
}
.collaboratorship-link h3 {
line-height: 1em;
font-size: 1em !important;
margin-bottom: 0px !important;
padding-top: 0px !important;
padding-right: 0px !important;
padding-left: 0px !important;
padding-bottom: 0px !important;
}
</style>
<div id="vis_container_coauthor">&nbsp;</div> <div id="vis_container_coauthor">&nbsp;</div>
<div id="vis_container_coinvestigator" style="clear:left;width: 100%;"> <div id="vis_container_coinvestigator">
<div style="width: 30%;float:left;margin-top: 5%;margin-right: 10px;"><img src="${coInvestigatorIcon}"/></div> <div class="collaboratorship-icon"><img src="${coInvestigatorIcon}" /></div>
<div><h3>Co-Investigator Network <br/><a class="view-all-style" href="${CoInvestigatorURL}">View <span class= "pictos-arrow-10">4</span></a></h3></div> <div class="collaboratorship-link"><h3>Co-Investigator Network </h3><a class="view-all-style" href="${CoInvestigatorURL}">View <span class= "pictos-arrow-10">4</span></a>
</div>
</div> </div>
${stylesheets.addFromTheme("/visualization/visualization.css")} ${stylesheets.addFromTheme("/visualization/visualization.css")}
${scripts.add(googleJSAPI)} ${scripts.add(googleJSAPI)}