fix: [Investigation] UI sidebar

This commit is contained in:
Terrtia 2022-03-07 16:37:26 +01:00
parent 68c96ef7a7
commit f1d637c2a4
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0
7 changed files with 10 additions and 9 deletions

View file

@ -21,8 +21,8 @@ class Updater(AIL_Updater):
super(Updater, self).__init__(version) super(Updater, self).__init__(version)
def update(self): def update(self):
r_tracking = redis.StrictRedis( host=localhost, r_tracking = redis.StrictRedis( host='localhost',
port=6382), port=6382,
db=2, db=2,
decode_responses=True ) decode_responses=True )

View file

@ -67,7 +67,7 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
{% include 'decoded/menu_sidebar.html' %} {% include 'sidebars/sidebar_objects.html' %}
<div class="col-12 col-lg-10" id="core_content"> <div class="col-12 col-lg-10" id="core_content">

View file

@ -67,7 +67,7 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
{% include 'decoded/menu_sidebar.html' %} {% include 'sidebars/sidebar_objects.html' %}
<div class="col-12 col-lg-10" id="core_content"> <div class="col-12 col-lg-10" id="core_content">

View file

@ -24,7 +24,7 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
{% include 'decoded/menu_sidebar.html' %} {% include 'sidebars/sidebar_objects.html' %}
<div class="col-12 col-lg-10" id="core_content"> <div class="col-12 col-lg-10" id="core_content">

View file

@ -27,7 +27,7 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
{% include 'decoded/menu_sidebar.html' %} {% include 'sidebars/sidebar_objects.html' %}
<div class="col-12 col-lg-10" id="core_content"> <div class="col-12 col-lg-10" id="core_content">

View file

@ -75,8 +75,9 @@
<script> <script>
$(document).ready(function(){ $(document).ready(function(){
$('#nav_sync').removeClass("text-muted"); $("#page-Decoded").addClass("active");
$("#navsync_queues").addClass("active"); $('#nav_investigation').removeClass("text-muted");
$("#nav_investigation_dashboard").addClass("active");
$('#table_investigation').DataTable({ $('#table_investigation').DataTable({
"aLengthMenu": [[5, 10, 15, -1], [5, 10, 15, "All"]], "aLengthMenu": [[5, 10, 15, -1], [5, 10, 15, "All"]],

View file

@ -25,7 +25,7 @@
<a class="nav-link" id="page-Crawler" href="{{ url_for('crawler_splash.crawlers_dashboard') }}" tabindex="-1" aria-disabled="true"><i class="fas fa-spider"></i> Crawlers</a> <a class="nav-link" id="page-Crawler" href="{{ url_for('crawler_splash.crawlers_dashboard') }}" tabindex="-1" aria-disabled="true"><i class="fas fa-spider"></i> Crawlers</a>
</li> </li>
<li class="nav-item mr-3"> <li class="nav-item mr-3">
<a class="nav-link" id="page-Decoded" href="{{ url_for('hashDecoded.hashDecoded_page') }}" aria-disabled="true"><i class="fas fa-cube"></i> Objects</a> <a class="nav-link" id="page-Decoded" href="{{ url_for('investigations_b.investigations_dashboard') }}" aria-disabled="true"><i class="fas fa-cube"></i> Objects</a>
</li> </li>
<li class="nav-item mr-3"> <li class="nav-item mr-3">
<a class="nav-link" href="{{ url_for('trendingmodules.moduletrending') }}" aria-disabled="true"><i class="fas fa-chart-bar"></i> Statistics</a> <a class="nav-link" href="{{ url_for('trendingmodules.moduletrending') }}" aria-disabled="true"><i class="fas fa-chart-bar"></i> Statistics</a>