-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inclusão de gráfico de fator de impacto JCR
- Loading branch information
1 parent
5f5ab9e
commit d20e18d
Showing
8 changed files
with
266 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
analytics/templates/website/bibliometrics_journal_jcr_impact_factor.mako
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## coding: utf-8 | ||
<div id="jcr_impact_factor_chart" style="width:100%; height:400px;"> | ||
<span id="loading_jcr_impact_factor_chart"> | ||
<img src="/static/images/loading.gif" /> | ||
<h5>${_(u'loading')}</h5> | ||
</span> | ||
</div> | ||
<script language="javascript"> | ||
$("#loading_jcr_impact_factor_chart").show(); | ||
$(document).ready(function() { | ||
var url = "${request.route_url('bibliometrics_journal_jcr_impact_factor_chart')}?journal=${selected_code}&callback=?"; | ||
$.getJSON(url, function(data) { | ||
% if selected_journal: | ||
data['options']['subtitle'] = {'text': '${selected_journal}'}; | ||
% endif | ||
data.options.plotOptions.series = { | ||
'cursor': 'pointer', | ||
'point': { | ||
'events': { | ||
'click': function() { | ||
window.open(this.ownURL); | ||
} | ||
} | ||
} | ||
}; | ||
$('#jcr_impact_factor_chart').highcharts(data['options']); | ||
$("#loading_jcr_impact_factor_chart").hide(); | ||
}); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
|
||
setup( | ||
name="analytics", | ||
version='1.27.0', | ||
version='1.28.0', | ||
description="A analytics frontend for SciELO usage and publication statistics", | ||
author="SciELO", | ||
author_email="[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters