mirror of https://github.com/CIRCL/AIL-framework
519 lines
30 KiB
HTML
519 lines
30 KiB
HTML
<!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">
|
|
<script language="javascript" src="{{ url_for('static', filename='js/jquery.js')}}"></script>
|
|
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='js/FlexGauge.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='js/jquery.sparkline.min.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='js/jquery.canvasjs.min.js') }}"></script>
|
|
|
|
<style>
|
|
|
|
.moodtable_worst {
|
|
background: rgba(255, 0, 0, 0.47);
|
|
font-size: unset;
|
|
}
|
|
|
|
.moodtable_best {
|
|
background: rgba(132, 255, 0, 0.5);
|
|
font-size: unset;
|
|
}
|
|
|
|
.jqstooltip{
|
|
box-sizing: content-box;
|
|
}
|
|
|
|
strong {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.table {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.sparkLineStats ul {
|
|
padding-left:0;
|
|
list-style:none
|
|
}
|
|
|
|
.sparkLineStats {
|
|
position: relative;
|
|
margin-bottom: -4px;
|
|
}
|
|
|
|
.sparkLineStats ul li {
|
|
margin-bottom: 8px;
|
|
line-height: 90px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.sparkLineStats ul li div {
|
|
float: left;
|
|
}
|
|
|
|
.sparkLineStats ul li div:first-child {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.panelInside {
|
|
padding: 5px;
|
|
}
|
|
|
|
.fg-dial-label {
|
|
font-size: 100%;
|
|
font-weight: bold;
|
|
left: 0;
|
|
position: relative;
|
|
text-align: center;
|
|
top: -60px;
|
|
margin-bottom: -10px;
|
|
width: 100%;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div id="wrapper">
|
|
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
|
|
{% include 'header.html' %}
|
|
<!-- /.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>
|
|
|
|
<div id="page-wrapper">
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<h1 class="page-header" data-page="page-sentiment" >Sentiment analysis: Trending</h1>
|
|
</div>
|
|
<!-- /.col-lg-12 -->
|
|
</div>
|
|
<!-- /.row -->
|
|
<div class="row">
|
|
|
|
<!-- Pannel TODAY -->
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div id="panel-today" class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<strong data-toggle="tooltip" data-placement="right" title="Providers displayed are in the top list in Module Statistics">Today's mood</strong>
|
|
</div>
|
|
<div class="panel-body">
|
|
<!-- left column -->
|
|
<div class="col-lg-9" style="padding-left: 0px;">
|
|
<!-- providers charts -->
|
|
<div class="col-lg-6">
|
|
<div class="sparkLineStats">
|
|
<div id="panel-today" class="panel panel-default pannelToday1">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsToday1t">Graph 1</strong>
|
|
<strong class="sparkLineStatsToday1s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday1"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday1b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="panel-today" class="panel panel-default pannelToday2">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsToday2t">Graph 2</strong>
|
|
<strong class="sparkLineStatsToday2s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday2"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday2b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="panel-today" class="panel panel-default pannelToday3">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsToday3t">Graph 3</strong>
|
|
<strong class="sparkLineStatsToday3s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday3"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday3b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="panel-today" class="panel panel-default pannelToday4">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsToday4t">Graph 4</strong>
|
|
<strong class="sparkLineStatsToday4s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday4"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday4b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-6">
|
|
<div class="sparkLineStats">
|
|
<div id="panel-today" class="panel panel-default pannelToday5">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsToday5t">Graph 5</strong>
|
|
<strong class="sparkLineStatsToday5s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday5"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday5b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="panel-today" class="panel panel-default pannelToday6">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsToday6t">Graph 6</strong>
|
|
<strong class="sparkLineStatsToday6s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday6"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday6b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="panel-today" class="panel panel-default pannelToday7">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsToday7t">Graph 7</strong>
|
|
<strong class="sparkLineStatsToday7s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday7"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday7b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="panel-today" class="panel panel-default pannelToday8">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsToday8t">Graph 8</strong>
|
|
<strong class="sparkLineStatsToday8s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday8"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsToday8b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- right column -->
|
|
<div class="col-lg-3">
|
|
<div class="well text-center" style="padding: 0px;">
|
|
<strong data-toggle="tooltip" data-placement="top" title="Percentage is computed over the last hour max value">Mood value</strong>
|
|
<div id="gauge_today_last_hour"></div>
|
|
<strong data-toggle="tooltip" data-placement="top" title="Average of the sentiments' intensity">Compound by mood</strong>
|
|
<div id="bar_today_last_hour" style="height: 70px; width: 100%;"></div>
|
|
</div>
|
|
<div class="well text-center" style="padding: 0px;">
|
|
<strong data-toggle="tooltip" data-placement="top" title="Percentage is computed over the today max value">Mood value</strong>
|
|
<div id="gauge_today_last_days"></div>
|
|
<strong data-toggle="tooltip" data-placement="top" title="Average of the of sentiments' intensity">Compound by mood</strong>
|
|
<div id="bar_today_last_days" style="height: 70px; width: 100%;"></div>
|
|
</div>
|
|
</div>
|
|
<!-- /.row -->
|
|
</div>
|
|
<!-- /.panel-body -->
|
|
</div>
|
|
</div>
|
|
<!-- /.panel -->
|
|
</div>
|
|
<!-- /.panel -->
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Pannel WEEK -->
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div id="panel-week" class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<strong>Week's mood</strong>
|
|
</div>
|
|
<div class="panel-body">
|
|
<!-- left column -->
|
|
<div class="col-lg-9" style="padding-left: 0px;">
|
|
<!-- providers charts -->
|
|
<div class="col-lg-6">
|
|
<div class="sparkLineStats">
|
|
<div id="panel-week" class="panel panel-default pannelWeek1">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsWeek1t">Graph 1</strong>
|
|
<strong class="sparkLineStatsWeek1s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek1"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek1b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="panel-week" class="panel panel-default pannelWeek2">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsWeek2t">Graph 2</strong>
|
|
<strong class="sparkLineStatsWeek2s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek2"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek2b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="panel-week" class="panel panel-default pannelWeek3">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsWeek3t">Graph 3</strong>
|
|
<strong class="sparkLineStatsWeek3s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek3"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek3b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="panel-week" class="panel panel-default pannelWeek4">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsWeek4t">Graph 4</strong>
|
|
<strong class="sparkLineStatsWeek4s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek4"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek4b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-6">
|
|
<div class="sparkLineStats">
|
|
<div id="panel-week" class="panel panel-default pannelWeek5">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsWeek5t">Graph 5</strong>
|
|
<strong class="sparkLineStatsWeek5s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek5"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek5b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="panel-week" class="panel panel-default pannelWeek6">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsWeek6t">Graph 6</strong>
|
|
<strong class="sparkLineStatsWeek6s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek6"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek6b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="panel-week" class="panel panel-default pannelWeek7">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsWeek7t">Graph 7</strong>
|
|
<strong class="sparkLineStatsWeek7s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek7"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek7b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div id="panel-week" class="panel panel-default pannelWeek8">
|
|
<div class="panel-heading">
|
|
<strong class="sparkLineStatsWeek8t">Graph 8</strong>
|
|
<strong class="sparkLineStatsWeek8s pull-right">Avg</strong>
|
|
</div>
|
|
<div class="panel-body panelInside">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek8"></div></td>
|
|
<td style="border-top: 0px solid #ddd;"><div class="sparkLineStatsWeek8b"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- right column -->
|
|
<div class="col-lg-3">
|
|
<div class="well text-center" style="padding: 0px;">
|
|
<strong data-toggle="tooltip" data-placement="top" title="Percentage is computed over the week max value">Mood value</strong>
|
|
<div id="gauge_week"></div>
|
|
</div>
|
|
<div class="well text-center" style="padding: 0px;">
|
|
<table class="table table-striped table-bordered table-hover" id="myTable">
|
|
<thead>
|
|
<tr>
|
|
<th>Worst mood</th>
|
|
<th>Best mood</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="worst1 moodtable_worst">worst1</td>
|
|
<td class="best1 moodtable_best">best1</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="worst2 moodtable_worst">worst2</td>
|
|
<td class="best2 moodtable_best">best2</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="worst3 moodtable_worst">worst3</td>
|
|
<td class="best3 moodtable_best">best3</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="worst4 moodtable_worst">worst4</td>
|
|
<td class="best4 moodtable_best">best4</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="worst5 moodtable_worst">worst5</td>
|
|
<td class="best5 moodtable_best">best5</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!-- /.row -->
|
|
</div>
|
|
<!-- /.panel-body -->
|
|
</div>
|
|
</div>
|
|
<!-- /.panel -->
|
|
</div>
|
|
<!-- /.panel -->
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- /.row -->
|
|
</div>
|
|
<!-- /#page-wrapper -->
|
|
</div>
|
|
|
|
|
|
<!-- import graph function -->
|
|
<script src="{{ url_for('static', filename='js/sentiment_trending.js') }}"></script>
|
|
<script>
|
|
|
|
$(document).ready(function(){
|
|
activePage = $('h1.page-header').attr('data-page');
|
|
$("#"+activePage).addClass("active");
|
|
$('[data-toggle="tooltip"]').tooltip();
|
|
|
|
|
|
// Reload every 30min
|
|
setTimeout(function(){ location.reload(); }, 30*60*1000);
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|