fix: [tag auto push] fix navbar

This commit is contained in:
Terrtia 2023-05-16 16:41:36 +02:00
parent 5ef29d8abb
commit dea270f914
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0
2 changed files with 6 additions and 3 deletions

View file

@ -52,12 +52,12 @@
</a> </a>
</li> </li>
</ul> </ul>
<h5 class="d-flex text-muted w-100"> <h5 class="d-flex text-muted w-100" id="nav_tags_export">
<span>Tags Export </span> <span>Tags Export </span>
</h5> </h5>
<ul class="nav flex-md-column flex-row navbar-nav justify-content-between w-100"> <ul class="nav flex-md-column flex-row navbar-nav justify-content-between w-100">
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="{{url_for('tags_ui.auto_push')}}" id="nav_regular_edit_tag_export"> <a class="nav-link" href="{{url_for('tags_ui.auto_push')}}" id="nav_auto_push">
<i class="fas fa-cogs"></i> <i class="fas fa-cogs"></i>
MISP and Hive, auto push MISP and Hive, auto push
</a> </a>

View file

@ -26,7 +26,7 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
{% include 'hunter/menu_sidebar.html' %} {% include 'tags/menu_sidebar.html' %}
<div class="col-12 col-lg-10" id="core_content"> <div class="col-12 col-lg-10" id="core_content">
@ -222,6 +222,9 @@
var table_misp var table_misp
var table_hive var table_hive
$(document).ready(function(){ $(document).ready(function(){
$("#navbar-tags").addClass("active");
$("#nav_tags_export").removeClass("text-muted");
$("#nav_auto_push").addClass("active");
table_misp = $('#myTable_misp').DataTable( table_misp = $('#myTable_misp').DataTable(
{ {