From fbcb99f16366a1306e2a59d1c87b4f3ecd9610e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 23 Jan 2023 16:24:01 +0100 Subject: [PATCH] chg: Move notification button to vertical menu --- website/web/sri.txt | 2 +- website/web/static/tree.css | 1 - website/web/templates/tree.html | 12 +++++++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/website/web/sri.txt b/website/web/sri.txt index 64c7038f..b4a0a161 100644 --- a/website/web/sri.txt +++ b/website/web/sri.txt @@ -34,7 +34,7 @@ "secure.svg": "H8ni7t0d60nCJDVGuZpuxC+RBy/ipAjWT627D12HlZGg6LUmjSwPTQTUekm3UJupEP7TUkhXyq6WHc5gy7QBjg==", "stats.css": "/kY943FwWBTne4IIyf7iBROSfbGd82TeBicEXqKkRwawMVRIvM/Pk5MRa7okUyGIxaDjFQGmV/U1vy+PhN6Jbw==", "stats_graph.js": "0OEouA6NAxLG2wMd7D2vtGoMrXKna7My98Euc6ecyfdO4/6mIJS87vzISOS4zSZ8u4ehpa+p7E0nWhsXXE7H/Q==", - "tree.css": "THJ9LnnSJ91DSTvrYoOCxRrenGgwsgG5zKo+eZLH2rRFHn6lpX9UpmRhRic4th9ZYuM9/NJUS7LqYBDRPPnB1Q==", + "tree.css": "R/pWQnE8kMacDrzGy/NpA1tJoHAZpOjFiX6dqtBe+PqAnhYMn1CIQzODh8Ifvh6hBTPLRWX3bsabfEvfaI7Z6A==", "tree.js": "N7JU+dJ+8pVPZSzw4zGxO+kzukGBC2BmQYpzfIP4fiENch9cbIJc8lu+7Pwomp8DxbA5RDDvfHauUKHb14JqRQ==", "up.jpg": "d1ljZJ9f5JekyM6RLFFH2Ua44j6neiQBdUIXOenRTjGppQr3JaeglpQIH6BjPCJL177+TH52U3UIRNS5YAyKIg==", "up_right.jpg": "OMmz+n+MxR34P8/fn5t4DkqKqdJRzQbXQ7fAi2lhkZIJGhVs2vIyY1f2hpYoBxDAX1OcYsSE2lqIR2vXNDGZsA==", diff --git a/website/web/static/tree.css b/website/web/static/tree.css index 27238996..feea8382 100644 --- a/website/web/static/tree.css +++ b/website/web/static/tree.css @@ -80,7 +80,6 @@ hr { } #menu_container_vertical ul li a:hover { - background: #fff; } /* menu horizontal */ diff --git a/website/web/templates/tree.html b/website/web/templates/tree.html index 3bf932c0..1e2413ca 100644 --- a/website/web/templates/tree.html +++ b/website/web/templates/tree.html @@ -1,5 +1,6 @@ {% extends "main.html" %} +{% from 'bootstrap5/utils.html' import render_icon %} {% from 'bootstrap5/utils.html' import render_messages %} {% from "macros.html" import shorten_string %} @@ -192,6 +193,12 @@
  • Homepage
  • + {% if enable_mail_notification %} +
    +
  • + Report suspicious
    capture
    +
  • + {% endif %} @@ -255,11 +262,6 @@ Download capture elements - {% if enable_mail_notification %} -
  • - Contact Local Administrator -
  • - {% endif %} {%if enable_categorization or (current_user.is_authenticated and misp_push) or enable_bookmark or enable_context_by_users %}