2017-08-24 07:25:13 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="">
|
|
|
|
|
|
|
|
<title>Misp feed dashboard</title>
|
|
|
|
|
|
|
|
<!-- Bootstrap Core CSS -->
|
|
|
|
<link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet">
|
|
|
|
<!-- Custom CSS -->
|
|
|
|
<link href="{{ url_for('static', filename='css/sb-admin-2.css') }}" rel="stylesheet">
|
|
|
|
<!-- Custom Fonts -->
|
2017-10-20 14:31:10 +02:00
|
|
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.2.0/dist/leaflet.css"
|
|
|
|
integrity="sha512-M2wvCLH6DSRazYeZRIm1JnYyh22purTM+FDB5CsyxtQJYeKq83arPe5wgbNmcFXGqiSH2XR8dT/fJISVA1r/zQ=="
|
|
|
|
crossorigin=""/>
|
|
|
|
<script src="https://unpkg.com/leaflet@1.2.0/dist/leaflet.js"
|
|
|
|
integrity="sha512-lInM/apFSqyy1o6s89K4iQUKg6ppXEgsVxT35HbzUupEVRh2Eu9Wdl4tHj7dZO0s1uvplcYGmt3498TtHq+log=="
|
|
|
|
crossorigin=""></script>
|
2017-08-24 07:25:13 +02:00
|
|
|
|
|
|
|
</head>
|
|
|
|
|
2017-09-12 11:56:01 +02:00
|
|
|
<style>
|
|
|
|
table {
|
2017-09-12 16:32:00 +02:00
|
|
|
overflow-y: scroll;
|
2017-09-12 11:56:01 +02:00
|
|
|
}
|
2017-09-12 16:32:00 +02:00
|
|
|
|
2017-10-09 15:56:24 +02:00
|
|
|
.marker_animation {
|
|
|
|
stroke: darkred;
|
|
|
|
position: absolute;
|
|
|
|
opacity: 1;
|
|
|
|
border-radius: 80px;
|
|
|
|
-moz-border-radius: 80px;
|
|
|
|
/* 40px radius, move origin to center */
|
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
margin: 0px;
|
|
|
|
pointer-events: none; /* dont kill the hover event of markers */
|
|
|
|
-webkit-transform: translateZ(0); /* little trick to force GPU acceleration */
|
|
|
|
}
|
2017-09-12 16:32:00 +02:00
|
|
|
|
2017-10-13 16:48:03 +02:00
|
|
|
.center {
|
|
|
|
display:block;
|
|
|
|
margin-left:auto;
|
|
|
|
margin-right:auto;
|
2017-10-09 17:50:43 +02:00
|
|
|
}
|
|
|
|
|
2017-10-20 16:55:07 +02:00
|
|
|
/*
|
2017-10-20 15:09:53 +02:00
|
|
|
.panel-body {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
2017-10-20 16:55:07 +02:00
|
|
|
*/
|
2017-10-20 15:09:53 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
.panel-default {
|
|
|
|
border-color: #ddd;
|
|
|
|
border-top-color: rgb(221, 221, 221);
|
|
|
|
border-right-color: rgb(221, 221, 221);
|
|
|
|
border-bottom-color: #fff0;
|
|
|
|
border-left-color: rgb(221, 221, 221);
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
2017-10-11 11:24:59 +02:00
|
|
|
small {
|
|
|
|
font-size: 100%;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2017-09-12 11:56:01 +02:00
|
|
|
</style>
|
|
|
|
|
2017-08-24 07:25:13 +02:00
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="wrapper">
|
|
|
|
|
|
|
|
<!-- Navigation -->
|
2017-09-12 09:11:20 +02:00
|
|
|
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0; padding-left: 15px;">
|
2017-08-24 07:25:13 +02:00
|
|
|
<div class="navbar-header">
|
|
|
|
<a class="navbar-brand" href="{{ url_for('index') }}">Misp feed dashboard</a>
|
|
|
|
</div>
|
|
|
|
<!-- /.navbar-header -->
|
|
|
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<!-- Page Content -->
|
2017-09-12 09:11:20 +02:00
|
|
|
<div id="page-wrapper" style="margin: 0px; padding: 0px;">
|
2017-08-24 07:25:13 +02:00
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
2017-09-12 09:11:20 +02:00
|
|
|
<div class="col-lg-12">
|
2017-09-12 11:56:01 +02:00
|
|
|
<div class="col-lg-5">
|
2017-09-11 14:53:06 +02:00
|
|
|
|
2017-10-13 16:48:03 +02:00
|
|
|
<div class="panel panel-default" style="margin-top: 15px; height: 68vh;">
|
2017-10-09 17:50:43 +02:00
|
|
|
<!--<div class="panel-heading">
|
2017-09-12 11:56:01 +02:00
|
|
|
<i class="fa fa-bar-chart-o fa-fw"></i> Statistics
|
2017-10-09 17:50:43 +02:00
|
|
|
</div>-->
|
|
|
|
<!--<div id="panelbody" class="panel-body" style="height: 37vh; width:100%;">
|
2017-09-12 12:03:58 +02:00
|
|
|
<div id="feedDiv1A" style="width:50%; height: calc(100% - 30px); position: relative; float: left;"></div>
|
2017-10-09 17:50:43 +02:00
|
|
|
<div id="feedDiv1B" style="width:50%; height: calc(100% - 30px); position: relative; float: left;"></div>-->
|
2017-10-20 14:31:10 +02:00
|
|
|
<div id="textMap1" class="panel-heading bg-info"> No map
|
2017-10-13 16:48:03 +02:00
|
|
|
<i class="fa fa-bar-chart-o fa-fw"></i>
|
|
|
|
</div>
|
2017-10-20 14:31:10 +02:00
|
|
|
<div id="panelbody" class="panel-body" style="height: 93%; padding: 5px">
|
|
|
|
<div id="feedDivMap1" style="width:100%; height: 100%;">
|
2017-10-11 10:47:11 +02:00
|
|
|
</div>
|
2017-09-11 14:53:06 +02:00
|
|
|
</div>
|
|
|
|
<!-- /.panel-body -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /.panel -->
|
2017-10-13 16:48:03 +02:00
|
|
|
<div class="panel panel-default" style="margin-top: 15px; height: 20vh;">
|
2017-08-24 07:25:13 +02:00
|
|
|
<div class="panel-heading">
|
2017-10-13 15:03:09 +02:00
|
|
|
<i class="fa fa-bar-chart-o fa-fw"></i> Log feed
|
2017-08-24 07:25:13 +02:00
|
|
|
</div>
|
2017-10-13 15:03:09 +02:00
|
|
|
<div id="panelbody" class="panel-body" style="width:100%; height: calc(100% - 30px);">
|
|
|
|
<div id="feedDiv3" style="width:100%; height: calc(100% - 30px); position: relative;"></div>
|
2017-08-24 07:25:13 +02:00
|
|
|
</div>
|
2017-09-12 09:11:20 +02:00
|
|
|
</div>
|
2017-10-13 15:03:09 +02:00
|
|
|
|
|
|
|
|
2017-09-12 09:11:20 +02:00
|
|
|
</div>
|
|
|
|
<!-- /.col-lg-6 -->
|
|
|
|
<!-- /.col-lg-6 -->
|
2017-09-12 11:56:01 +02:00
|
|
|
<!-- vh sum = 87 -->
|
2017-09-12 09:11:20 +02:00
|
|
|
<div class="col-lg-7">
|
|
|
|
|
2017-09-12 11:56:01 +02:00
|
|
|
<div class="panel panel-default" style="margin-top: 15px; height: 59vh;">
|
2017-09-12 09:11:20 +02:00
|
|
|
<!--<div class="panel-heading">
|
|
|
|
<i class="fa fa-bar-chart-o fa-fw"></i> Feed
|
|
|
|
</div>-->
|
2017-09-12 11:56:01 +02:00
|
|
|
<div id="panelbody" class="panel-body" style="height: 100%;">
|
|
|
|
<div id="feedDiv2" style="width:100%; height: calc(100% - 30px); position: relative;"></div>
|
2017-09-12 09:11:20 +02:00
|
|
|
</div>
|
|
|
|
<!-- /.panel-body -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /.panel -->
|
|
|
|
|
2017-10-13 15:03:09 +02:00
|
|
|
<div class="panel panel-default" style="height: 29vh;">
|
2017-09-12 11:56:01 +02:00
|
|
|
<div class="panel-heading">
|
2017-10-13 15:03:09 +02:00
|
|
|
<i class="fa fa-tasks fa-fw"></i> Logs
|
|
|
|
<div class="pull-right">
|
|
|
|
<input id="checkbox_log_info" type="checkbox" value="info"> INFO
|
|
|
|
<input id="checkbox_log_warning" type="checkbox" value="warning" checked="true"> WARNING
|
|
|
|
<input id="checkbox_log_critical" type="checkbox" value="critical" checked="true"> CRITICAL
|
|
|
|
</div>
|
2017-09-12 11:56:01 +02:00
|
|
|
</div>
|
2017-10-13 15:03:09 +02:00
|
|
|
<div id="divLogTable" class="panel-body" style="height: 98%;">
|
|
|
|
<div class="row" style="height: 100%;">
|
|
|
|
<div class="col-lg-12" style="height: 100%;">
|
|
|
|
<table class="table table-bordered table-hover table-striped" id="table_log">
|
|
|
|
<thead id="table_log_head">
|
|
|
|
</thead>
|
|
|
|
<tbody id="table_log_body">
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-09-12 11:56:01 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-09-12 09:11:20 +02:00
|
|
|
</div>
|
|
|
|
<!-- /.col-lg-6 -->
|
|
|
|
</div>
|
|
|
|
<!-- /.row CHART -->
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
|
|
|
|
2017-08-24 07:25:13 +02:00
|
|
|
</div>
|
|
|
|
<!-- /.col-lg-12 -->
|
|
|
|
</div>
|
|
|
|
<!-- /.row LOGS -->
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /.container-fluid -->
|
|
|
|
</div>
|
|
|
|
<!-- /#page-wrapper -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /#wrapper -->
|
|
|
|
|
|
|
|
<!-- jQuery -->
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>
|
2017-08-24 11:43:23 +02:00
|
|
|
<!-- jQuery flot -->
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.flot.js') }}"></script>
|
2017-09-12 11:56:01 +02:00
|
|
|
<script src="{{ url_for('static', filename='js/jquery.flot.pie.min.js') }}"></script>
|
2017-08-24 07:25:13 +02:00
|
|
|
<!-- Bootstrap Core JavaScript -->
|
|
|
|
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
|
2017-08-24 11:43:23 +02:00
|
|
|
<!-- Index -->
|
|
|
|
<script>
|
2017-09-11 15:05:12 +02:00
|
|
|
/* URL */
|
2017-08-24 11:43:23 +02:00
|
|
|
var urlForLogs = "{{ url_for('logs') }}";
|
|
|
|
var urlForHead = "{{ url_for('getLogHead') }}";
|
2017-10-11 10:47:11 +02:00
|
|
|
var urlForMaps = "{{ url_for('maps') }}";
|
|
|
|
var linkForDefaultMap = "{{ url_for('static', filename='maps/default.png') }}";
|
2017-09-11 15:05:12 +02:00
|
|
|
/* DATA */
|
|
|
|
var graph_log_refresh_rate = {{ graph_log_refresh_rate }};
|
2017-10-09 17:50:43 +02:00
|
|
|
setTimeout(function(){
|
|
|
|
}, 3000);
|
2017-08-24 11:43:23 +02:00
|
|
|
</script>
|
2017-10-20 15:09:53 +02:00
|
|
|
<script src="{{ url_for('static', filename='js/index/index.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/index/index_lineChart.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/index/index_map.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/index/index_pie.js') }}"></script>
|
2017-08-24 07:25:13 +02:00
|
|
|
|
2017-09-12 09:11:20 +02:00
|
|
|
|
2017-10-20 14:31:10 +02:00
|
|
|
<link href="{{ url_for('static', filename='css/font-awesome.min.css') }}" rel="text/css">
|
2017-09-12 09:11:20 +02:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/jquery-jvectormap-2.0.3.css') }}" type="text/css" media="screen"/>
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery-jvectormap-2.0.3.min.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery-jvectormap-world-mill.js') }}"></script>
|
|
|
|
<script type="text/javascript">
|
2017-09-12 16:32:00 +02:00
|
|
|
|
2017-09-12 09:11:20 +02:00
|
|
|
</script>
|
|
|
|
|
2017-08-24 07:25:13 +02:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|