1. Added fix for inappropriate display of tables.
2. Minor styling changes. 3. Code cleanup
This commit is contained in:
parent
48d27df80d
commit
eae82a00b4
3 changed files with 29 additions and 25 deletions
|
@ -149,9 +149,12 @@ public class VisualizationCodeGenerator {
|
|||
" border-spacing: 0;" +
|
||||
" vertical-align: inherit;" +
|
||||
"}" +
|
||||
/*".sparkline_wrapper_table table{" +
|
||||
" vertical-align: bottom;" +
|
||||
"}" +*/
|
||||
"table.sparkline_wrapper_table td, th {" +
|
||||
" vertical-align: bottom;" +
|
||||
"}" +
|
||||
".vis_link {" +
|
||||
" padding-top: 5px;" +
|
||||
"}" +
|
||||
"td.sparkline_number { text-align:right; padding-right:5px; }" +
|
||||
"td.sparkline_text {text-align:left;}" +
|
||||
/*"#sparkline_data_table {" +
|
||||
|
@ -557,20 +560,6 @@ public class VisualizationCodeGenerator {
|
|||
|
||||
String fullTimelineLink;
|
||||
if (yearToPublicationCount.size() > 0) {
|
||||
// String fullTimelineNetworkURL = uri.toString() + "?" +
|
||||
// VisualizationFrameworkConstants.INDIVIDUAL_URI_URL_HANDLE +
|
||||
// "=" + URLEncoder.encode(individualURI,
|
||||
// VisualizationController.URL_ENCODING_SCHEME).toString() +
|
||||
// "&" +
|
||||
// "vis" +
|
||||
// "=" + URLEncoder.encode(VisualizationController
|
||||
// .PERSON_PUBLICATION_COUNT_VIS_URL_VALUE,
|
||||
// VisualizationController.URL_ENCODING_SCHEME).toString() +
|
||||
// "&" +
|
||||
// VisualizationFrameworkConstants.RENDER_MODE_URL_HANDLE +
|
||||
// "=" + URLEncoder.encode(VisualizationFrameworkConstants.STANDALONE_RENDER_MODE_URL_VALUE,
|
||||
// VisualizationController.URL_ENCODING_SCHEME).toString();
|
||||
|
||||
|
||||
String fullTimelineNetworkURL = contextPath
|
||||
+ "/admin/visQuery"
|
||||
|
@ -599,7 +588,7 @@ public class VisualizationCodeGenerator {
|
|||
|
||||
}
|
||||
|
||||
divContextCode.append("<p>" + fullTimelineLink + "</p>");
|
||||
divContextCode.append("<p class=\"vis_link\">" + fullTimelineLink + "</p>");
|
||||
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
@ -83,8 +83,20 @@
|
|||
position:absolute;
|
||||
/*width:380px;*/
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<!--[if IE]>
|
||||
<style type="text/css">
|
||||
|
||||
#vis_container {
|
||||
padding-bottom:15px;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
<![endif]-->
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
|
|
|
@ -59,7 +59,8 @@
|
|||
|
||||
.sub_headings {
|
||||
color: #121b3c;
|
||||
padding-top: 5px;
|
||||
padding-top: 10px;
|
||||
margin-bottom: 0.3em;
|
||||
}
|
||||
|
||||
.sub_headings a {
|
||||
|
@ -67,6 +68,9 @@
|
|||
font-weight:normal;
|
||||
}
|
||||
|
||||
table.sparkline_wrapper_table td, th {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.inline_href {
|
||||
}
|
||||
|
@ -167,7 +171,8 @@
|
|||
<c:set var='authorsText' value='multi-author' />
|
||||
</c:if>
|
||||
|
||||
<span id="no_coauthorships">Currently there are no ${authorsText} papers for <span id="no_coauthorships_person" class="author_name">this author</span> in the VIVO database.</span>
|
||||
<span id="no_coauthorships">Currently there are no ${authorsText} papers for
|
||||
<span id="no_coauthorships_person" class="author_name">this author</span> in the VIVO database.</span>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
|
@ -195,6 +200,7 @@
|
|||
<div class="bold"><strong><span id="authorName" class="neutral_author_name"> </span></strong></div>
|
||||
|
||||
<div class="italicize"><span id="profileMoniker" class="author_moniker"></span></div>
|
||||
<div><a href="#" id="profileUrl">VIVO profile</a> | <a href="#" id="coAuthorshipVisUrl">Co-author network</a></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>
|
||||
|
@ -202,11 +208,6 @@
|
|||
<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>
|
||||
|
||||
</div>
|
||||
|
@ -233,6 +234,8 @@
|
|||
|
||||
</c:if>
|
||||
|
||||
<div style="clear:both;"></div>
|
||||
|
||||
</div>
|
||||
</c:if>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue