2017-11-16 12:23:02 +01: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="">
|
|
|
|
|
2017-11-21 15:29:56 +01:00
|
|
|
<title>MISP Trendings</title>
|
2017-11-16 12:23:02 +01:00
|
|
|
|
|
|
|
<!-- 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">
|
|
|
|
<!-- LeafLet -->
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/leaflet.css') }}">
|
|
|
|
<script src="{{ url_for('static', filename='js/leaflet.js') }}"></script>
|
|
|
|
|
|
|
|
<!-- jQuery -->
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>
|
|
|
|
<!-- jQuery flot -->
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.flot.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.flot.pie.min.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.flot.resize.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.flot.time.js') }}"></script>
|
|
|
|
<!-- Bootstrap Core JavaScript -->
|
|
|
|
<script src="{{ url_for('static', filename='js/bootstrap.js') }}"></script>
|
2017-11-20 17:42:25 +01:00
|
|
|
<script src="{{ url_for('static', filename='js/bootstrap3-typeahead.min.js') }}"></script>
|
2017-11-16 12:23:02 +01:00
|
|
|
<link href="{{ url_for('static', filename='css/font-awesome.min.css') }}" rel="text/css">
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<link href="{{ url_for('static', filename='css/jquery-ui.min.css') }}" rel="stylesheet" type="text/css" />
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery-ui.min.js') }}"></script>
|
|
|
|
|
2017-12-11 12:19:11 +01:00
|
|
|
<link href="{{ url_for('static', filename='css/vis.min.css') }}" rel="stylesheet" type="text/css" />
|
|
|
|
<script src="{{ url_for('static', filename='js/vis.min.js') }}"></script>
|
|
|
|
|
2017-11-16 12:23:02 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
.highlightDay {
|
|
|
|
background-color: #edc240;
|
|
|
|
box-shadow: black 0px 0px 2px;
|
|
|
|
}
|
|
|
|
|
2017-11-16 16:57:48 +01:00
|
|
|
.tagElem {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 2px 4px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 14px;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 3px 3px 3px #888888;
|
|
|
|
}
|
|
|
|
|
2017-11-16 12:23:02 +01:00
|
|
|
.panel {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2017-11-17 09:13:18 +01:00
|
|
|
.panel-body {
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
2017-11-16 12:23:02 +01:00
|
|
|
.col-lg-6 {
|
|
|
|
padding-right: 5px;
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.leftSepa {
|
|
|
|
border-left-color: rgb(221, 221, 221);
|
|
|
|
border-left-style: solid;
|
|
|
|
border-left-width: 2px;
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.textTopHeader {
|
|
|
|
height: 50px;
|
|
|
|
text-align: center;
|
|
|
|
margin-left: 8px;
|
|
|
|
float: left;
|
|
|
|
padding-top: 9px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center {
|
|
|
|
display:block;
|
|
|
|
margin-left:auto;
|
|
|
|
margin-right:auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
small {
|
|
|
|
font-size: 100%;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="wrapper">
|
|
|
|
|
|
|
|
<!-- Navigation -->
|
|
|
|
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0; padding-left: 15px;">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<img src="{{ url_for('static', filename='pics/MISP.png') }}" alt="MISP" style="float: left; height: 40px; margin-top: 5px;"><a class="navbar-brand dropdown-toggle" data-toggle="dropdown" href="#">MISP Trendings
|
|
|
|
<span class="caret"></span></a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a href="{{ url_for('index') }}">MISP Live Dashboard</a></li>
|
|
|
|
<li><a href="{{ url_for('geo') }}">MISP Geolocalisation</a></li>
|
|
|
|
<li><a href="{{ url_for('contrib') }}">MISP Contributors</a></li>
|
|
|
|
<li><a href="{{ url_for('users') }}">MISP Users</a></li>
|
|
|
|
<li><a href="{{ url_for('trendings') }}">MISP Trendings</a></li>
|
|
|
|
</ul>
|
2017-11-21 15:20:07 +01:00
|
|
|
<div class='leftSepa textTopHeader'>
|
|
|
|
<strong>Max display:
|
|
|
|
<select id="num_selector">
|
|
|
|
<option value="1" {% if maxNum == 1 %}selected=""{% endif %}>1</option>
|
|
|
|
<option value="3" {% if maxNum == 3 %}selected=""{% endif %}>3</option>
|
|
|
|
<option value="5" {% if maxNum == 5 %}selected=""{% endif %}>5</option>
|
|
|
|
<option value="10" {% if maxNum == 10 %}selected=""{% endif %}>10</option>
|
|
|
|
<option value="15" {% if maxNum == 15 %}selected=""{% endif %}>15</option>
|
|
|
|
<option value="20" {% if maxNum == 20 %}selected=""{% endif %}>20</option>
|
|
|
|
</select>
|
|
|
|
</strong>
|
|
|
|
</div>
|
2017-11-16 12:23:02 +01:00
|
|
|
<div class='leftSepa textTopHeader'>
|
2017-11-17 09:13:18 +01:00
|
|
|
<strong>Date:
|
|
|
|
<input type="text" id="datepickerStart" size="30" style="margin-bottom: 5px;">
|
|
|
|
<strong> to </strong>
|
|
|
|
<input type="text" id="datepickerEnd" size="30" style="margin-bottom: 5px;">
|
|
|
|
</strong>
|
2017-11-16 12:23:02 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- /.navbar-header -->
|
|
|
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<!-- Page Content -->
|
|
|
|
<div id="page-wrapper" style="margin: 0px; padding: 0px;">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
|
|
|
<div style="height: 10px;"></div>
|
|
|
|
|
|
|
|
<div class="col-lg-12">
|
2017-11-21 12:09:17 +01:00
|
|
|
<div class="col-lg-4">
|
2017-11-16 12:23:02 +01:00
|
|
|
<div class="panel panel-default" style="">
|
|
|
|
<div class="panel-heading bg-info" style="font-weight: bold;">
|
|
|
|
<b>Most active events</b>
|
2017-11-20 17:42:25 +01:00
|
|
|
<input type="text" id="typeaheadEvent" data-provide="typeahead" size="20" style="margin-bottom: 5px; float:right;" placeholder="Enter an event">
|
2017-11-16 12:23:02 +01:00
|
|
|
</div>
|
|
|
|
<div id="panelbody" class="panel-body" style="">
|
2017-11-17 14:45:20 +01:00
|
|
|
<div id="eventPie" style="width:100%; height: 34vh;"></div>
|
|
|
|
<div id="eventLine" style="width:100%; height: 27vh;"></div>
|
2017-11-16 12:23:02 +01:00
|
|
|
</div>
|
|
|
|
</div><!-- /.panel-body -->
|
|
|
|
</div>
|
|
|
|
|
2017-11-17 11:57:32 +01:00
|
|
|
<div class="col-lg-3">
|
2017-11-16 12:23:02 +01:00
|
|
|
<div class="panel panel-default" style="">
|
|
|
|
<div class="panel-heading bg-info" style="font-weight: bold;">
|
|
|
|
<b>Most active categories</b>
|
2017-11-20 17:42:25 +01:00
|
|
|
<input type="text" id="typeaheadCateg" data-provide="typeahead" size="20" style="margin-bottom: 5px; float:right;" placeholder="Enter a category">
|
2017-11-16 12:23:02 +01:00
|
|
|
</div>
|
|
|
|
<div id="panelbody" class="panel-body" style="">
|
2017-11-17 14:45:20 +01:00
|
|
|
<div id="categPie" style="width:100%; height: 34vh;"></div>
|
|
|
|
<div id="categLine" style="width:100%; height: 27vh;"></div>
|
2017-11-16 12:23:02 +01:00
|
|
|
</div>
|
|
|
|
</div><!-- /.panel-body -->
|
|
|
|
</div>
|
|
|
|
|
2017-11-21 12:09:17 +01:00
|
|
|
<div class="col-lg-5">
|
2017-11-16 12:23:02 +01:00
|
|
|
<div class="panel panel-default" style="">
|
|
|
|
<div class="panel-heading bg-info" style="font-weight: bold;">
|
2017-11-16 15:08:14 +01:00
|
|
|
<b>Most popular tags</b>
|
2017-11-20 17:42:25 +01:00
|
|
|
<input type="text" id="typeaheadTag" data-provide="typeahead" size="20" style="margin-bottom: 5px; float:right;" placeholder="Enter a tag">
|
2017-11-16 12:23:02 +01:00
|
|
|
</div>
|
|
|
|
<div id="panelbody" class="panel-body" style="">
|
2017-11-17 14:45:20 +01:00
|
|
|
<div id="tagPie" style="width:100%; height: 34vh;"></div>
|
|
|
|
<div id="tagLine" style="width:100%; height: 27vh;"></div>
|
2017-11-16 12:23:02 +01:00
|
|
|
</div>
|
|
|
|
</div><!-- /.panel-body -->
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div><!-- /.col-lg-12 -->
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<div class="col-lg-6">
|
|
|
|
<div class="panel panel-default" style="">
|
|
|
|
<div class="panel-heading bg-info" style="font-weight: bold;">
|
|
|
|
<b>Sightings</b>
|
|
|
|
</div>
|
|
|
|
<div id="panelbody" class="panel-body" style="">
|
2017-11-17 14:45:20 +01:00
|
|
|
<div id="sightingLine" style="width:100%; height: 20vh;"></div>
|
2017-11-16 12:23:02 +01:00
|
|
|
</div>
|
|
|
|
</div><!-- /.panel-body -->
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
|
|
<div class="panel panel-default" style="">
|
|
|
|
<div class="panel-heading bg-info" style="font-weight: bold;">
|
2017-11-17 16:50:04 +01:00
|
|
|
<b>Discussion</b>
|
2017-11-16 12:23:02 +01:00
|
|
|
</div>
|
|
|
|
<div id="panelbody" class="panel-body" style="">
|
2017-11-17 16:50:04 +01:00
|
|
|
<div id="discussionLine" style="width:100%; height: 20vh;"></div>
|
2017-11-16 12:23:02 +01:00
|
|
|
</div>
|
|
|
|
</div><!-- /.panel-body -->
|
|
|
|
</div>
|
|
|
|
</div><!-- /.col-lg-12 -->
|
|
|
|
|
2017-12-11 12:19:11 +01:00
|
|
|
<div class="col-lg-12">
|
|
|
|
<div class="panel panel-default" style="">
|
|
|
|
<div class="panel-heading" style="font-weight: bold;">
|
2017-12-11 14:54:22 +01:00
|
|
|
<b>Timeline:</b>
|
|
|
|
<select id="timeline_selector">
|
|
|
|
<option value="events" selected="">Events</option>
|
2017-12-18 15:31:22 +01:00
|
|
|
<option value="categs">Categories</option>
|
2017-12-11 14:54:22 +01:00
|
|
|
<option value="tags">Tags</option>
|
|
|
|
</select>
|
2017-12-11 12:19:11 +01:00
|
|
|
</div>
|
|
|
|
<div class="panel-body" style="">
|
|
|
|
<div id="timeline" style="width:100%; height: 100%;"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div><!-- /.col-lg-12 -->
|
|
|
|
|
2017-11-16 12:23:02 +01:00
|
|
|
</div><!-- /.row -->
|
|
|
|
|
|
|
|
</div> <!-- /.container-fluid -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /#page-wrapper -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /#wrapper -->
|
|
|
|
|
|
|
|
<!-- Index -->
|
|
|
|
<script>
|
|
|
|
/* URL */
|
|
|
|
var urlIconCalendar = "{{ url_for('static', filename='pics/calendar.gif') }}";
|
2017-11-21 15:20:07 +01:00
|
|
|
var url_currentPage = "{{ url_for('trendings') }}";
|
2017-11-16 15:08:14 +01:00
|
|
|
var url_getTrendingEvent = "{{ url_for('getTrendingEvents') }}";
|
|
|
|
var url_getTrendingCateg = "{{ url_for('getTrendingCategs') }}";
|
|
|
|
var url_getTrendingTag = "{{ url_for('getTrendingTags') }}";
|
2017-11-17 14:45:20 +01:00
|
|
|
var url_getTrendingSightings = "{{ url_for('getTrendingSightings') }}";
|
2017-11-17 16:50:04 +01:00
|
|
|
var url_getTrendingDisc = "{{ url_for('getTrendingDisc') }}";
|
2017-12-11 12:19:11 +01:00
|
|
|
var url_getGenericTrendingOvertime = "{{ url_for('getGenericTrendingOvertime') }}";
|
2017-11-16 12:23:02 +01:00
|
|
|
|
2017-11-20 17:42:25 +01:00
|
|
|
var url_getTypeaheadData = "{{ url_for('getTypeaheadData') }}";
|
|
|
|
|
2017-11-16 12:23:02 +01:00
|
|
|
/* DATA FROM CONF */
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script src="{{ url_for('static', filename='js/trendings.js') }}"></script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|