2016-07-25 14:38:57 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
2018-08-02 08:44:47 +00:00
|
|
|
<title>Modules Statistics - AIL</title>
|
|
|
|
<link rel="icon" href="{{ url_for('static', filename='image/ail-icon.png') }}">
|
2016-07-25 14:38:57 +00:00
|
|
|
|
|
|
|
<!-- Core CSS -->
|
|
|
|
<link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet">
|
|
|
|
<link href="{{ url_for('static', filename='font-awesome/css/font-awesome.css') }}" rel="stylesheet">
|
|
|
|
<link href="{{ url_for('static', filename='css/sb-admin-2.css') }}" rel="stylesheet">
|
|
|
|
<link href="{{ url_for('static', filename='css/dygraph_gallery.css') }}" rel="stylesheet" type="text/css" />
|
|
|
|
<!-- JS -->
|
|
|
|
<script type="text/javascript" src="{{ url_for('static', filename='js/dygraph-combined.js') }}"></script>
|
|
|
|
<script language="javascript" src="{{ url_for('static', filename='js/jquery.js')}}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.flot.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.flot.pie.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.flot.time.js') }}"></script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2017-04-19 13:14:20 +00:00
|
|
|
{% include 'navbar.html' %}
|
|
|
|
|
2016-07-25 14:38:57 +00:00
|
|
|
<div id="page-wrapper">
|
|
|
|
</br>
|
|
|
|
{% include 'trending_graphs/Moduletrending.html' %}
|
|
|
|
</div>
|
|
|
|
<!-- /#page-wrapper -->
|
|
|
|
|
|
|
|
<script>
|
|
|
|
var chart_1_num_day = 5;
|
|
|
|
var chart_2_num_day = 15;
|
|
|
|
$SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
|
2016-07-27 09:26:56 +00:00
|
|
|
</script>
|
2016-07-25 14:38:57 +00:00
|
|
|
|
2016-07-27 09:26:56 +00:00
|
|
|
<script src="{{ url_for('static', filename='js/moduleTrending.js') }}"></script>
|
|
|
|
<script>
|
|
|
|
$(document).ready(function(){
|
2016-08-11 08:55:51 +00:00
|
|
|
activePage = "page-modulestats"
|
|
|
|
$("#"+activePage).addClass("active");
|
|
|
|
|
2016-08-02 14:00:31 +00:00
|
|
|
$("[align]").css({padding: "2px", width: 'auto', 'background': "rgba(102, 102, 102, 0.15)" , 'border': "3px solid rgb(102, 102, 102)"})
|
|
|
|
|
2018-08-02 08:44:47 +00:00
|
|
|
refreshPlot(true);
|
2016-07-27 09:26:56 +00:00
|
|
|
});
|
2016-07-26 14:56:52 +00:00
|
|
|
|
2016-07-28 07:52:07 +00:00
|
|
|
function refreshPlot(init){
|
2016-07-27 09:26:56 +00:00
|
|
|
refreshAnimation();
|
2016-07-26 14:56:52 +00:00
|
|
|
|
2016-07-28 07:52:07 +00:00
|
|
|
plot_top_graph("credential", init);
|
|
|
|
plot_top_graph("mail", init);
|
|
|
|
plot_top_graph("size", init);
|
|
|
|
plot_top_graph("num", init);
|
2016-07-26 14:56:52 +00:00
|
|
|
|
2016-07-28 07:52:07 +00:00
|
|
|
setTimeout(function(){ refreshPlot(false); }, 10000);
|
2016-07-27 09:26:56 +00:00
|
|
|
}
|
2016-07-26 14:56:52 +00:00
|
|
|
|
2016-07-27 09:26:56 +00:00
|
|
|
function refreshAnimation(){
|
|
|
|
$("[flash]").css('color', '#fece00');
|
|
|
|
setTimeout(function() { $("[flash]").css('color', 'black'); }, 1000);
|
|
|
|
}
|
2016-07-25 14:38:57 +00:00
|
|
|
</script>
|
2018-08-02 08:44:47 +00:00
|
|
|
|
2016-07-25 14:38:57 +00:00
|
|
|
</div>
|
|
|
|
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|