mirror of https://github.com/CIRCL/AIL-framework
fix: [sparkline] datatable drawing
parent
d41ee58a67
commit
a42676fbce
|
@ -166,6 +166,13 @@ $(document).ready(function(){
|
||||||
$("#page-Tracker").addClass("active");
|
$("#page-Tracker").addClass("active");
|
||||||
$("#nav_tracker_{{filter_type}}").addClass("active");
|
$("#nav_tracker_{{filter_type}}").addClass("active");
|
||||||
|
|
||||||
|
{% for dict_uuid in user_term %}
|
||||||
|
sparkline("sparklines_{{ dict_uuid['uuid'] }}", {{ dict_uuid['sparkline'] }}, {height: 40});
|
||||||
|
{% endfor %}
|
||||||
|
{% for dict_uuid in global_term %}
|
||||||
|
sparkline("sparklines_{{ dict_uuid['uuid'] }}", {{ dict_uuid['sparkline'] }}, {height: 40});
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
$('#table_user_trackers').DataTable({
|
$('#table_user_trackers').DataTable({
|
||||||
"aLengthMenu": [[5, 10, 15, -1], [5, 10, 15, "All"]],
|
"aLengthMenu": [[5, 10, 15, -1], [5, 10, 15, "All"]],
|
||||||
"iDisplayLength": 10,
|
"iDisplayLength": 10,
|
||||||
|
@ -178,13 +185,6 @@ $(document).ready(function(){
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
{% for dict_uuid in user_term %}
|
|
||||||
sparkline("sparklines_{{ dict_uuid['uuid'] }}", {{ dict_uuid['sparkline'] }}, {height: 40});
|
|
||||||
{% endfor %}
|
|
||||||
{% for dict_uuid in global_term %}
|
|
||||||
sparkline("sparklines_{{ dict_uuid['uuid'] }}", {{ dict_uuid['sparkline'] }}, {height: 40});
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function toggle_sidebar(){
|
function toggle_sidebar(){
|
||||||
|
|
Loading…
Reference in New Issue