2014-08-06 09:43:40 +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">
|
2014-12-22 20:51:05 +00:00
|
|
|
<link href="{{ url_for('static', filename='font-awesome/css/font-awesome.css') }}" rel="stylesheet">
|
2014-08-06 09:43:40 +00:00
|
|
|
<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" />
|
2016-08-17 11:46:01 +00:00
|
|
|
<link href="{{ url_for('static', filename='css/switch_checkbox.css') }}" rel="stylesheet" type="text/css" />
|
2014-08-06 09:43:40 +00:00
|
|
|
<!-- JS -->
|
|
|
|
<script type="text/javascript" src="{{ url_for('static', filename='js/dygraph-combined.js') }}"></script>
|
2016-07-13 13:57:33 +00:00
|
|
|
<script src="{{ url_for('static', filename='js/jquery.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.flot.js') }}"></script>
|
2014-08-12 12:00:00 +00:00
|
|
|
<script>
|
2016-07-15 07:47:00 +00:00
|
|
|
window.default_minute = {{ default_minute }};
|
2016-08-02 14:39:57 +00:00
|
|
|
window.glob_tabvar = []; // Avoid undefined
|
2016-11-25 10:54:16 +00:00
|
|
|
window.threshold_stucked_module = {{ threshold_stucked_module }}
|
2014-08-12 12:00:00 +00:00
|
|
|
function update_values() {
|
|
|
|
$SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
|
|
|
|
$.getJSON($SCRIPT_ROOT+"/_stuff",
|
|
|
|
function(data) {
|
|
|
|
window.glob_tabvar = data;
|
|
|
|
});
|
|
|
|
};
|
|
|
|
update_values();
|
|
|
|
</script>
|
|
|
|
|
2014-08-06 09:43:40 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="wrapper">
|
|
|
|
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
|
2016-08-11 08:55:51 +00:00
|
|
|
{% include 'header.html' %}
|
2014-08-06 09:43:40 +00:00
|
|
|
<!-- /.navbar-top-links -->
|
|
|
|
<div class="navbar-default sidebar" role="navigation">
|
|
|
|
<div class="sidebar-collapse">
|
|
|
|
<ul class="nav" id="side-menu">
|
|
|
|
<li class="sidebar-search">
|
2014-12-22 17:08:02 +00:00
|
|
|
<a href="{{ url_for('index') }}"><img src="{{ url_for('static', filename='image/AIL.png') }}" /></a>
|
2014-12-24 14:42:20 +00:00
|
|
|
{% include 'searchbox.html' %}
|
2014-08-06 09:43:40 +00:00
|
|
|
<!-- /input-group -->
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<!-- /#side-menu -->
|
|
|
|
</div>
|
|
|
|
<!-- /.sidebar-collapse -->
|
2016-07-13 13:57:33 +00:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
2016-12-23 14:44:46 +00:00
|
|
|
<i class="fa fa-dashboard fa-fw"></i> Total pastes since {{ default_minute }} min
|
2016-07-13 13:57:33 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2016-12-23 14:44:46 +00:00
|
|
|
<div id="global" style="height: 90px; padding: 0px; position: relative;"></div>
|
2016-07-13 13:57:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- <div id="Graph_paste_num" style="height:90px; width:100%;"></div> -->
|
2016-08-17 11:46:01 +00:00
|
|
|
<div class='pull_right'>
|
|
|
|
<label class="switch">
|
|
|
|
<input id="button-toggle-queues" class="switch-input" type="checkbox" checked>
|
|
|
|
<span class="switch-label" data-on="On" data-off="Off"></span>
|
|
|
|
<span class="switch-handle"></span>
|
|
|
|
</label>
|
|
|
|
<strong style="top: 3px; position: relative;">Display queues</strong>
|
|
|
|
<div>
|
2016-08-26 13:59:53 +00:00
|
|
|
<div>
|
|
|
|
<table id="queue-color-legend" class="table">
|
2016-08-26 13:27:37 +00:00
|
|
|
<thead>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-08-26 13:59:53 +00:00
|
|
|
<tr><td class="legendColorBox" style="vertical-align: ; "><div style="border:1px solid #ccc;padding:1px"><div style="width:100%;height:0;border:5px solid #d0e9c6;overflow:hidden"></div></div></td><td> Working queues</td></tr>
|
|
|
|
<tr><td class="legendColorBox" style="vertical-align: ;"><div style="border:1px solid #ccc;padding:1px"><div style="width:100%;height:0;border:5px solid #faf2cc;overflow:hidden"></div></div></td><td> Idling queues</td></tr>
|
2016-09-21 06:35:20 +00:00
|
|
|
<tr><td class="legendColorBox" style="vertical-align: ;"><div style="border:1px solid #ccc;padding:1px"><div style="width:100%;height:0;border:5px solid #ebcccc;overflow:hidden"></div></div></td><td> Stuck queues</td></tr>
|
2016-08-26 13:27:37 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="table-responsive", id="queueing" style="margin-top:10px; font-size: small;"></div>
|
2014-12-22 17:08:02 +00:00
|
|
|
<a href="{{ url_for('index') }}"><img src="{{ url_for('static', filename='image/AIL.png') }}" /></a>
|
2014-08-06 09:43:40 +00:00
|
|
|
</div>
|
|
|
|
<!-- /.navbar-static-side -->
|
|
|
|
</nav>
|
|
|
|
<div id="page-wrapper">
|
2014-08-11 11:41:58 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
|
|
|
</br>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-08-06 09:43:40 +00:00
|
|
|
<div class="row">
|
2016-12-23 14:44:46 +00:00
|
|
|
<div class="col-lg-8">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<i class="fa fa-bar-chart-o fa-fw"></i> <i class="fa fa-dashboard fa-fw"></i> <i class="fa fa-copy"></i>Feeder(s) Monitor: Processed pastes and filtered duplicated
|
|
|
|
</div>
|
|
|
|
<div id="panelbody" class="panel-body" style="height:489px;">
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /.panel-body -->
|
|
|
|
</div>
|
|
|
|
<!-- /.panel -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col-lg-6 -->
|
|
|
|
<div class="col-lg-4">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<i class="fa fa-bar-chart-o fa-fw"></i> Queues Monitor
|
|
|
|
</div>
|
2014-08-06 09:43:40 +00:00
|
|
|
<div class="panel-body">
|
2016-12-23 14:44:46 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-6" id="Graph" style="height:195px; width:88%;"></div>
|
|
|
|
<div style="height:10px;"></div>
|
|
|
|
<div class="col-lg-6" id="Graph2" style="height:195px; width:88%;"></div>
|
|
|
|
</div>
|
|
|
|
<!-- /.row -->
|
2014-08-06 09:43:40 +00:00
|
|
|
</div>
|
2016-12-23 14:44:46 +00:00
|
|
|
<!-- /.panel-body -->
|
|
|
|
</div>
|
|
|
|
<!-- /.panel -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col-lg-6 -->
|
2014-08-06 09:43:40 +00:00
|
|
|
<div class="col-lg-12">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<i class="fa fa-tasks fa-fw"></i> Logs
|
2014-08-11 13:07:55 +00:00
|
|
|
<div class="pull-right">
|
|
|
|
<label style="padding-bottom:2px;">
|
|
|
|
<select class="form-control input-sm" id="log_select">
|
|
|
|
<option value="10">10</option>
|
|
|
|
<option value="25">25</option>
|
|
|
|
<option value="50">50</option>
|
|
|
|
<option value="100">100</option>
|
|
|
|
</select>
|
|
|
|
</label>
|
2016-08-17 09:25:05 +00:00
|
|
|
<input id="checkbox_log_info" type="checkbox" value="info"> INFO
|
2014-08-11 13:30:44 +00:00
|
|
|
<input id="checkbox_log_warning" type="checkbox" value="warning" checked="true"> WARNING
|
|
|
|
<input id="checkbox_log_critical" type="checkbox" value="critical" checked="true"> CRITICAL
|
2016-07-19 16:07:29 +00:00
|
|
|
|
2014-08-11 13:07:55 +00:00
|
|
|
</div>
|
2014-08-06 09:43:40 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="row">
|
2014-08-13 15:32:24 +00:00
|
|
|
<div class="col-lg-12">
|
|
|
|
<table class="table table-bordered table-hover table-striped" id="table_log">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Time</th>
|
|
|
|
<th>Channel</th>
|
|
|
|
<th>Level</th>
|
|
|
|
<th>Script Name</th>
|
|
|
|
<th>Source</th>
|
|
|
|
<th>Date</th>
|
|
|
|
<th>Paste name</th>
|
|
|
|
<th>Message</th>
|
2016-10-27 09:27:26 +00:00
|
|
|
<th>Actions</th>
|
2014-08-13 15:32:24 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="tab_body">
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-08-06 09:43:40 +00:00
|
|
|
</div>
|
|
|
|
<!-- /.row -->
|
|
|
|
</div>
|
|
|
|
<!-- /#page-wrapper -->
|
|
|
|
|
|
|
|
</div>
|
2016-10-27 09:27:26 +00:00
|
|
|
<script> var url_showSavedPath = "{{ url_for('showsavedpaste') }}"; </script>
|
2014-08-06 09:43:40 +00:00
|
|
|
<script type="text/javascript" src="{{ url_for('static', filename='js/indexjavascript.js')}}"></script>
|
|
|
|
|
2016-08-11 08:55:51 +00:00
|
|
|
<script>
|
|
|
|
activePage = "page-index";
|
|
|
|
$("#"+activePage).addClass("active");
|
|
|
|
</script>
|
|
|
|
|
2014-08-06 09:43:40 +00:00
|
|
|
<script type="text/javascript">
|
2016-08-11 08:55:51 +00:00
|
|
|
initfunc( "{{ url_for('static', filename='csv/wordstrendingdata.csv') }}", {{ request.script_root|tojson|safe }} );
|
2014-08-06 09:43:40 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|