fix: [tag auto push] fix navbar

pull/594/head
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>
</li>
</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>
</h5>
<ul class="nav flex-md-column flex-row navbar-nav justify-content-between w-100">
<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>
MISP and Hive, auto push
</a>

View File

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