fix:[UI v0.3] fix index loading time

pull/23/head
Terrtia 2019-04-03 14:36:50 +02:00
parent 9144cd8af1
commit 580b2bd7d8
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@
<link href="{{ url_for('static', filename='font-awesome/css/font-awesome.css') }}" rel="stylesheet">
<!-- JS -->
<script src="{{ url_for('static', filename='js/jquery.js')}}"></script>
<script src="{{ url_for('static', filename='js/bootstrap.min.js')}}"></script>
<script src="{{ url_for('static', filename='js/d3.min.js')}}"></script>
@ -107,6 +108,7 @@
</body>
<script>
////
//http://bl.ocks.org/charlesdguthrie/11356441, updated and modified
//updating BarChart
@ -274,9 +276,11 @@ json_url_type = "{{ url_for('_json_daily_type_stats') }}"
//setup
var settings = setup('#chart_uuid');
redraw(json_url_uuid,settings)
redraw(json_url_uuid,settings)
var settings_type = setup('#chart_type');
redraw(json_url_type,settings_type)
redraw(json_url_type,settings_type)
//Interval
setInterval(function(){