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="">
|
|
|
|
|
2017-10-27 16:54:01 +02:00
|
|
|
<title>MISP Live Dashboard</title>
|
2017-08-24 07:25:13 +02: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">
|
2017-10-30 09:29:18 +01:00
|
|
|
<!-- 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>
|
2019-02-22 10:41:54 +01:00
|
|
|
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery-ui.min.js') }}"></script>
|
2019-06-14 09:58:29 +02:00
|
|
|
<link href="{{ url_for('static', filename='css/jquery-ui.min.css') }}" type="text/css" rel="stylesheet">
|
2019-02-22 10:41:54 +01:00
|
|
|
|
2017-10-30 09:29:18 +01:00
|
|
|
<!-- Bootstrap Core JavaScript -->
|
|
|
|
<script src="{{ url_for('static', filename='js/bootstrap.js') }}"></script>
|
2017-08-24 07:25:13 +02:00
|
|
|
|
2019-02-22 10:41:54 +01:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/jquery.dataTables.min.css') }}">
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.dataTables.min.js') }}"></script>
|
|
|
|
|
|
|
|
<link href="{{ url_for('static', filename='css/font-awesome.min.css') }}" type="text/css" rel="stylesheet">
|
|
|
|
<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 src="{{ url_for('static', filename='js/doT.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/extendext.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/moment-with-locales.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/query-builder.js') }}"></script>
|
|
|
|
<link href="{{ url_for('static', filename='css/query-builder.default.css') }}" type="text/css" rel="stylesheet">
|
|
|
|
|
2017-08-24 07:25:13 +02:00
|
|
|
</head>
|
|
|
|
|
2017-09-12 11:56:01 +02:00
|
|
|
<style>
|
2018-01-15 14:31:51 +01:00
|
|
|
.leaflet-top {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 801;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2017-10-30 10:44:12 +01:00
|
|
|
|
|
|
|
.tagElem {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 2px 4px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 14px;
|
2019-02-22 10:41:54 +01:00
|
|
|
border-radius: 3px;
|
2017-10-30 10:44:12 +01:00
|
|
|
box-shadow: 3px 3px 3px #888888;
|
2019-02-22 10:41:54 +01:00
|
|
|
margin: 2px;
|
2017-10-30 10:44:12 +01:00
|
|
|
}
|
|
|
|
|
2017-09-12 11:56:01 +02:00
|
|
|
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-23 17:25:41 +02:00
|
|
|
.led_green {
|
|
|
|
margin: auto auto;
|
2017-10-25 10:41:46 +02:00
|
|
|
margin-top: 7.5px;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
2017-10-23 17:25:41 +02:00
|
|
|
background-color: #ABFF00;
|
|
|
|
border-radius: 50%;
|
2017-10-25 13:30:12 +02:00
|
|
|
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 9px, #89FF00 0 0px 6px;
|
2017-10-23 17:25:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.led_red {
|
|
|
|
margin: auto auto;
|
2017-10-25 10:41:46 +02:00
|
|
|
margin-top: 7.5px;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
2017-10-23 17:25:41 +02:00
|
|
|
background-color: #F82222;
|
|
|
|
border-radius: 50%;
|
2017-10-25 13:30:12 +02:00
|
|
|
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 9px, #FF0303 0 0px 6px;
|
2017-10-23 17:25:41 +02:00
|
|
|
}
|
|
|
|
|
2017-10-24 09:32:23 +02:00
|
|
|
.led_orange {
|
|
|
|
margin: auto auto;
|
2017-10-25 10:41:46 +02:00
|
|
|
margin-top: 7.5px;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
2017-10-24 09:32:23 +02:00
|
|
|
background-color: #FFB400;
|
|
|
|
border-radius: 50%;
|
2017-10-25 13:30:12 +02:00
|
|
|
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 9px, #FF9000 0 0px 6px;
|
2017-10-24 09:32:23 +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-24 17:35:08 +02:00
|
|
|
.panel-body {
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
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-23 16:56:25 +02:00
|
|
|
.leftSepa {
|
|
|
|
border-left-color: rgb(221, 221, 221);
|
|
|
|
border-left-style: solid;
|
|
|
|
border-left-width: 2px;
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
2017-10-20 15:09:53 +02:00
|
|
|
|
2017-10-25 10:41:46 +02:00
|
|
|
.textTopHeader {
|
2017-11-08 17:37:03 +01:00
|
|
|
height: 50px;
|
2017-10-25 10:41:46 +02:00
|
|
|
text-align: center;
|
|
|
|
margin-left: 8px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2017-10-11 11:24:59 +02:00
|
|
|
small {
|
|
|
|
font-size: 100%;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2019-02-22 10:41:54 +01:00
|
|
|
.led_green {
|
|
|
|
background-color: #ABFF00;
|
|
|
|
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 6px, #89FF00 0 0px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.led_red {
|
|
|
|
background-color: #F82222;
|
|
|
|
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 6px, #FF0303 0 0px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.led_orange {
|
|
|
|
background-color: #FFB400;
|
|
|
|
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 6px, #FF9000 0 0px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.led-small {
|
|
|
|
margin: auto auto;
|
|
|
|
margin-top: 6px;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.led-container {
|
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.led-container > span {
|
|
|
|
margin: auto 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.dataTables_scrollHead table.dataTable {
|
|
|
|
margin-top: 0px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dataTables_scrollBody thead tr {
|
|
|
|
visibility: collapse !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.liveLogFullScreen {
|
|
|
|
position: absolute !important;
|
|
|
|
top: 66px !important;
|
|
|
|
left: 15px !important;
|
|
|
|
right: 10px !important;
|
2019-08-30 11:59:50 +02:00
|
|
|
z-index: 990 !important;
|
2019-02-22 15:16:50 +01:00
|
|
|
bottom: -7px !important;
|
2019-02-22 10:41:54 +01:00
|
|
|
height: unset !important;
|
|
|
|
}
|
|
|
|
|
2019-08-30 11:59:50 +02:00
|
|
|
div.leaflet-bottom {
|
|
|
|
z-index: 900;
|
|
|
|
}
|
|
|
|
|
2019-02-22 15:16:50 +01:00
|
|
|
.rowTableIsObject {
|
|
|
|
position: absolute;
|
|
|
|
right: 15px;
|
|
|
|
top: 0px;
|
|
|
|
color: #3465a4;
|
|
|
|
}
|
|
|
|
|
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">
|
2017-10-27 22:19:51 +02:00
|
|
|
<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 Live Dashboard
|
2017-10-27 16:54:01 +02:00
|
|
|
<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>
|
2017-11-08 17:37:03 +01:00
|
|
|
<li><a href="{{ url_for('contrib') }}">MISP Contributors</a></li>
|
2017-11-17 15:58:21 +01:00
|
|
|
<li><a href="{{ url_for('users') }}">MISP Users</a></li>
|
|
|
|
<li><a href="{{ url_for('trendings') }}">MISP Trendings</a></li>
|
2017-10-27 16:54:01 +02:00
|
|
|
</ul>
|
|
|
|
|
2017-10-25 10:41:46 +02:00
|
|
|
<div id="ledsHolder" style="float: right; height: 50px;"></div>
|
2017-08-24 07:25:13 +02:00
|
|
|
</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-10-25 12:12:14 +02:00
|
|
|
<div class="col-lg-{{ size_dashboard_width[0] }}">
|
2017-11-08 17:37:03 +01:00
|
|
|
|
2017-10-24 14:31:11 +02:00
|
|
|
<div id="panelOpenMap" class="panel panel-default" style="margin-top: 15px; height: {{ pannelSize[0] }}vh;">
|
2017-10-23 16:34:14 +02:00
|
|
|
<div class="panel-heading bg-info" style="font-weight: bold;">
|
2017-10-24 14:31:11 +02:00
|
|
|
<b><a id="textMap1" href="#panelbody">No map </a></b>
|
2017-10-23 16:34:14 +02:00
|
|
|
<div style="float: right;">
|
2017-10-23 16:56:25 +02:00
|
|
|
<i class="leftSepa" id="txtMapNum">Rotation speed: </i>
|
2017-10-23 16:34:14 +02:00
|
|
|
<select id="rotation_wait_time_selector" style="margin-top: -7px;">
|
|
|
|
<option value="∞" selected>No rotation</option>
|
2017-10-23 16:56:25 +02:00
|
|
|
<option value="{{ rotation_wait_time }}" selected>{{ rotation_wait_time }} sec</option>
|
|
|
|
<option value="{{ rotation_wait_time * 2 }}">{{ rotation_wait_time * 2 }} sec</option>
|
|
|
|
<option value="{{ rotation_wait_time * 5}}">{{ rotation_wait_time * 5 }} sec</option>
|
|
|
|
</select>
|
|
|
|
<i class="leftSepa" id="txtMapNum">Zoom level: </i>
|
|
|
|
<select id="zoom_selector" style="margin-top: -7px;">
|
|
|
|
<option value="{{ zoomlevel + 3 }}">{{ zoomlevel + 3 }}</option>
|
|
|
|
<option value="{{ zoomlevel + 2 }}">{{ zoomlevel + 2 }}</option>
|
|
|
|
<option value="{{ zoomlevel }}" selected>{{ zoomlevel }}</option>
|
|
|
|
<option value="{{ zoomlevel - 2 }}">{{ zoomlevel - 2 }}</option>
|
|
|
|
<option value="{{ zoomlevel - 4 }}">{{ zoomlevel - 4 }}</option>
|
|
|
|
<option value="{{ zoomlevel - 6 }}">{{ zoomlevel - 6 }}</option>
|
|
|
|
<option value="{{ zoomlevel - 8 }}">{{ zoomlevel - 8 }}</option>
|
|
|
|
</select>
|
2017-10-23 16:34:14 +02:00
|
|
|
</div>
|
2017-10-13 16:48:03 +02:00
|
|
|
</div>
|
2017-10-24 17:35:08 +02:00
|
|
|
<div id="panelbody" class="panel-body" style="height: 93%;">
|
2017-10-24 14:31:11 +02:00
|
|
|
<div id="feedDivMap1" style="width:100%; height: calc({{ pannelSize[0] }}vh - 51px);"></div>
|
2017-09-11 14:53:06 +02:00
|
|
|
</div>
|
|
|
|
<!-- /.panel-body -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /.panel -->
|
2017-10-24 14:31:11 +02:00
|
|
|
<div id="panelLineChart" class="panel panel-default" style="margin-top: 15px; height: {{ pannelSize[1] }}vh;">
|
2017-08-24 07:25:13 +02:00
|
|
|
<div class="panel-heading">
|
2017-10-27 15:33:09 +02:00
|
|
|
<i class="fa fa-bar-chart-o fa-fw"></i> <strong>{{ itemToPlot }}</strong> overtime (hours)
|
2017-08-24 07:25:13 +02:00
|
|
|
</div>
|
2017-10-24 14:31:11 +02:00
|
|
|
<div id="panelbody" class="panel-body" style="width:100%; height: 100%;">
|
|
|
|
<div id="feedDiv3" style="width:100%; height: calc(100% - 46px); 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 -->
|
2019-02-22 10:41:54 +01:00
|
|
|
<div id="rightCol" class="col-lg-{{ size_dashboard_width[1] }}">
|
2017-11-08 17:37:03 +01:00
|
|
|
|
2017-10-24 09:32:23 +02:00
|
|
|
<div class="panel panel-default" style="margin-top: 15px; height: {{ pannelSize[2] }}vh;">
|
2017-10-24 17:35:08 +02:00
|
|
|
<div id="panelbody" class="panel-body" style="height: 100%;">
|
2017-10-24 09:32:23 +02:00
|
|
|
<div id="feedDiv2" style="width:100%; height: 100%; position: relative;"></div>
|
2017-09-12 09:11:20 +02:00
|
|
|
</div>
|
|
|
|
<!-- /.panel-body -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /.panel -->
|
|
|
|
|
2017-10-25 12:12:14 +02:00
|
|
|
<div id="panelLogTable" class="panel panel-default" style="height: {{ pannelSize[3] }}vh;">
|
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
|
2019-02-22 10:41:54 +01:00
|
|
|
<div style="display: inline-block; float: right;">
|
|
|
|
<button id="log-filter" data-toggle="modal" data-target="#modalFilters" class="btn btn-xs btn-default" ><i class="fa fa-filter"></i></button>
|
|
|
|
<button id="log-fullscreen" class="btn btn-xs btn-default"><i class="fa fa-expand"></i></button>
|
2017-10-13 15:03:09 +02:00
|
|
|
</div>
|
2017-09-12 11:56:01 +02:00
|
|
|
</div>
|
2019-02-22 10:41:54 +01:00
|
|
|
<div id="divLogTable" class="panel-body" style="height: calc(100% - 46px); padding: 0px; overflow: hidden">
|
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-11-08 17:37:03 +01:00
|
|
|
|
2017-08-24 07:25:13 +02:00
|
|
|
</div>
|
|
|
|
<!-- /.col-lg-12 -->
|
|
|
|
</div>
|
|
|
|
<!-- /.row LOGS -->
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /.container-fluid -->
|
|
|
|
</div>
|
|
|
|
<!-- /#page-wrapper -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /#wrapper -->
|
|
|
|
|
2019-02-22 10:41:54 +01:00
|
|
|
<!-- Modal -->
|
|
|
|
<div class="modal fade" id="modalFilters" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
|
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
|
|
<h4 class="modal-title" id="myModalLabel">Log filtering rules</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<div id="filteringQB"></div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
|
<button id="saveFilters" type="button" class="btn btn-primary">Save filters</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-08-24 11:43:23 +02:00
|
|
|
<!-- Index -->
|
2017-11-08 17:37:03 +01:00
|
|
|
<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-10-23 15:32:44 +02:00
|
|
|
|
|
|
|
/* DATA FROM CONF */
|
2017-10-27 15:33:09 +02:00
|
|
|
var itemToPlot = "{{ itemToPlot }}";
|
2017-09-11 15:05:12 +02:00
|
|
|
var graph_log_refresh_rate = {{ graph_log_refresh_rate }};
|
2017-10-24 15:17:52 +02:00
|
|
|
var char_separator = "{{ char_separator }}";
|
2017-10-23 15:32:44 +02:00
|
|
|
var rotation_wait_time = {{ rotation_wait_time }};
|
|
|
|
var max_img_rotation = {{ max_img_rotation }};
|
|
|
|
var hours_spanned = {{ hours_spanned }};
|
2017-10-23 16:56:25 +02:00
|
|
|
var zoomlevel = {{ zoomlevel}};
|
2017-10-23 15:32:44 +02:00
|
|
|
|
2017-10-24 14:31:11 +02:00
|
|
|
var flag_expanded = true;
|
|
|
|
|
|
|
|
$( "#textMap1" ).click(function() {
|
|
|
|
flag_expanded = !flag_expanded;
|
|
|
|
var panelOpenMap = $("#panelOpenMap");
|
|
|
|
var panelLineChart = $("#panelLineChart");
|
|
|
|
var feedDivMap1 = $("#feedDivMap1");
|
|
|
|
var default_openMapHeight = "{{ pannelSize[0] }}vh";
|
|
|
|
var default_lineChartHeight = "{{ pannelSize[1] }}vh";
|
|
|
|
var default_feedDivMap1Height = "{{ pannelSize[1] }}vh - 51px";
|
|
|
|
if(!flag_expanded) {
|
|
|
|
panelLineChart.height("82vh");
|
|
|
|
panelOpenMap.height("41px");
|
|
|
|
feedDivMap1.css('display', 'none');
|
|
|
|
} else {
|
|
|
|
panelLineChart.height(default_lineChartHeight);
|
|
|
|
panelOpenMap.height(default_openMapHeight);
|
|
|
|
feedDivMap1.css('display', '');
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
2017-10-23 15:32:44 +02:00
|
|
|
|
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
|
|
|
<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>
|