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">
|
|
|
|
|
|
|
|
<title>Analysis Information Leak framework Dashboard</title>
|
|
|
|
|
|
|
|
<!-- 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>
|
2016-07-26 14:56:52 +00:00
|
|
|
<script src="{{ url_for('static', filename='js/jquery.flot.stack.js') }}"></script>
|
2016-07-25 14:38:57 +00:00
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="wrapper">
|
|
|
|
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
<li><a href="{{ url_for('index') }}"><i class="fa fa-dashboard fa-fw"></i> Dashboard</a></li>
|
|
|
|
<li class="active"><a href="{{ url_for('trending') }}"><i class="glyphicon glyphicon-stats"></i> Trending charts</a></li>
|
|
|
|
<li class="active"><a href="{{ url_for('moduletrending') }}"><i class="glyphicon glyphicon-stats"></i> Modules statistics</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<!-- /.navbar-top-links -->
|
|
|
|
<div class="navbar-default sidebar" role="navigation">
|
|
|
|
<div class="sidebar-collapse">
|
|
|
|
<ul class="nav" id="side-menu">
|
|
|
|
<li class="sidebar-search">
|
|
|
|
{% include 'searchbox.html' %}
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<!-- /#side-menu -->
|
|
|
|
</div>
|
|
|
|
<!-- /.sidebar-collapse -->
|
|
|
|
<a href="{{ url_for('index') }}"><img src="{{ url_for('static', filename='image/AIL.png') }}" /></a>
|
|
|
|
</div>
|
|
|
|
<!-- /.navbar-static-side -->
|
|
|
|
</nav>
|
|
|
|
<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(){
|
|
|
|
refreshPlot();
|
|
|
|
});
|
2016-07-26 14:56:52 +00:00
|
|
|
|
2016-07-27 09:26:56 +00:00
|
|
|
function refreshPlot(){
|
|
|
|
refreshAnimation();
|
2016-07-26 14:56:52 +00:00
|
|
|
|
2016-07-27 09:26:56 +00:00
|
|
|
plot_top_graph("credential");
|
|
|
|
plot_top_graph("mail");
|
|
|
|
plot_top_graph("size");
|
2016-07-27 09:55:57 +00:00
|
|
|
plot_top_graph("num");
|
2016-07-26 14:56:52 +00:00
|
|
|
|
2016-07-27 09:26:56 +00:00
|
|
|
setTimeout(refreshPlot, 10000);
|
|
|
|
}
|
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>
|
2016-07-27 09:26:56 +00:00
|
|
|
|
2016-07-25 14:38:57 +00:00
|
|
|
</div>
|
|
|
|
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|