mirror of https://github.com/CIRCL/lookyloo
Reposisioning and tooltips
parent
d35993b765
commit
b77d850b9d
|
@ -65,20 +65,14 @@ hr {
|
|||
left: 5px;
|
||||
background: white;
|
||||
border: 2px solid;
|
||||
padding-top: 5px;
|
||||
padding-right: 5px;
|
||||
padding-bottom: 5px;
|
||||
padding-left: 5px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#menu_container_vertical {
|
||||
position: fixed;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
padding-top: 5px;
|
||||
padding-right: 5px;
|
||||
padding-bottom: 5px;
|
||||
padding-left: 5px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#menu_container_vertical .menu-header {
|
||||
|
@ -91,14 +85,13 @@ hr {
|
|||
padding: 10px 0;
|
||||
}
|
||||
|
||||
|
||||
#menu_container_vertical ul li a {
|
||||
padding: 5px;
|
||||
font-size: 1.1em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#menu_container_vertical ul li a:hover {
|
||||
}
|
||||
|
||||
/* menu horizontal */
|
||||
#menu_horizontal {
|
||||
|
@ -115,15 +108,13 @@ hr {
|
|||
left: 5px;
|
||||
left: 217px;
|
||||
padding: 5px;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.hstack{
|
||||
height: 106.6px;
|
||||
}
|
||||
|
||||
#menu_container_horizontal .container {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
#menu_container_horizontal ul.components {
|
||||
padding: 5px;
|
||||
|
@ -150,7 +141,7 @@ hr {
|
|||
cursor: pointer;
|
||||
width: 180px;
|
||||
text-align: center;
|
||||
height: 40px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
/* Dropdown button on hover & focus */
|
||||
|
@ -182,14 +173,11 @@ hr {
|
|||
display: block;
|
||||
}
|
||||
|
||||
.dropdown-content.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Change color of dropdown links on hover */
|
||||
.dropdown-content a:hover {background-color: #f1f1f1;}
|
||||
|
||||
/* Show the dropdown menu on hover */
|
||||
/* Show the dropdown menus on hover */
|
||||
#capture-menu:hover #capture-menu-content {
|
||||
display: block;
|
||||
}
|
||||
|
@ -202,10 +190,8 @@ hr {
|
|||
#admin-menu:hover #admin-menu-content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Change the background color of the dropdown button when the dropdown content is shown */
|
||||
.dropdown:hover .dropbtn {
|
||||
background-color: #2980b9;
|
||||
#extra-menu:hover #extra-menu-content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
|
@ -214,10 +200,7 @@ hr {
|
|||
position: fixed;
|
||||
bottom: 5px;
|
||||
right: 5px;
|
||||
padding-top: 5px;
|
||||
padding-right: 5px;
|
||||
padding-bottom: 5px;
|
||||
padding-left: 5px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#legend {
|
||||
|
@ -226,8 +209,5 @@ hr {
|
|||
right: 5px;
|
||||
background: white;
|
||||
border: 2px solid;
|
||||
padding-top: 5px;
|
||||
padding-right: 5px;
|
||||
padding-bottom: 5px;
|
||||
padding-left: 5px;
|
||||
padding: 5px;
|
||||
}
|
|
@ -248,8 +248,7 @@
|
|||
</a>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="mx-auto" style="text-align: center">
|
||||
<b>Legend</b>
|
||||
<div class="mx-auto" style="width: 52px;">
|
||||
<button type="button" class="btn btn-link" data-bs-toggle="collapse" data-bs-target="#menu_vertical_content">
|
||||
<span class="if-collapsed">
|
||||
<img src="{{ url_for('static', filename='up.jpg') }}" class="arrow-down" alt="Maximize menu" height="25" width="25" title="Expand">
|
||||
|
@ -259,8 +258,164 @@
|
|||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
<div id=menu_vertical_content class="collapse show">
|
||||
<ul class="list-group list-group-flush">
|
||||
<li class="list-group-item">
|
||||
<a href="{{ url_for('capture_web') }}" role="button">New capture</a>
|
||||
</li>
|
||||
{% if enable_monitoring %}
|
||||
<li class="list-group-item">
|
||||
<a href="#monitoringModal" data-bs-toggle="modal" data-bs-target="#monitoringModal" role="button" class="btn btn-outline-info">Monitor capture</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if enable_mail_notification %}
|
||||
<li class="list-group-item">
|
||||
<a href="#emailModal" data-bs-toggle="modal" data-bs-target="#emailModal" role="button" class="btn btn-outline-danger">Report suspicious</br>capture</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="menu_container_horizontal" class="tree-panel-container">
|
||||
<div id=menu_horizontal class="d-flex">
|
||||
<div class="flex-shrink-1 align-self-center">
|
||||
<button type="button" class="btn btn-link mr-3" data-bs-toggle="collapse" data-bs-target="#menu_horizontal_content">
|
||||
<span class="if-collapsed">
|
||||
<img src="{{ url_for('static', filename='up.jpg') }}" class="arrow-right" alt="Maximize menu" height="25" width="25" title="Expand">
|
||||
</span>
|
||||
<span class="if-not-collapsed">
|
||||
<img src="{{ url_for('static', filename='up.jpg') }}" class="arrow-left" alt="Minimize menu" height="25" width="25" title="Collapse">
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div id="menu_horizontal_content" class="collapse show flex-grow-1 ms-3 container">
|
||||
<div class="hstack gap-3">
|
||||
<div class="vr"></div>
|
||||
|
||||
<div id="capture-menu" class="dropdown">
|
||||
<button class="dropbtn">Capture</button>
|
||||
<div id="capture-menu-content" class="dropdown-content">
|
||||
<a href="#detailsModal" data-bs-toggle="modal" data-bs-target="#detailsModal"
|
||||
role="button" title="Details about the capture configuration">Capture Details</a>
|
||||
|
||||
<a href="#statsModal" data-remote="{{ url_for('stats', tree_uuid=tree_uuid) }}" data-bs-toggle="modal"
|
||||
data-bs-target="#statsModal" role="button" title="The capture in numbers">Statistics</a>
|
||||
|
||||
<a href="#screenshotModal" data-bs-toggle="modal" data-bs-target="#screenshotModal"
|
||||
role="button" title="Contains the URL rendered in the browser">Page Screenshot</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="tools-menu" class="dropdown">
|
||||
<button class="dropbtn">Analytical Tools</button>
|
||||
<div id="tools-menu-content" class="dropdown-content">
|
||||
<a href="#modulesModal" data-remote="{{ url_for('trigger_modules', tree_uuid=tree_uuid, force=False) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#modulesModal" role="button"
|
||||
title="Lookups from supported 3rd party services">Third Party Reports</a>
|
||||
|
||||
<a href="#historyModal" data-remote="{{ url_for('historical_lookups', tree_uuid=tree_uuid, force=False) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#historyModal" role="button"
|
||||
title="Historical data and context about this capture ">Historical lookups</a>
|
||||
|
||||
<a href="#hashlookupModal" data-remote="{{ url_for('hashlookup', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#hashlookupModal" role="button"
|
||||
title="Hits in Hashlookup ">Hashlookup hits</a>
|
||||
|
||||
<a href="#bodyHashesModal" data-remote="{{ url_for('tree_body_hashes', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#bodyHashesModal" role="button"
|
||||
title="All ressources contained in the tree">Ressources Capture</a>
|
||||
|
||||
<a href="#faviconsModal" data-remote="{{ url_for('tree_favicons', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#faviconsModal" role="button"
|
||||
title="Favicons found on the rendered page">Favicons Capture</a>
|
||||
|
||||
<a href="#captureHashesTypesModal" data-remote="{{ url_for('tree_capture_hashes_types', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#captureHashesTypesModal" role="button"
|
||||
title="Compare hashes of the rendered page">Capture hashes types</a>
|
||||
|
||||
<a href="#identifiersModal" data-remote="{{ url_for('tree_identifiers', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#identifiersModal" role="button"
|
||||
title="Identifiers found on the rendered page">Identifiers Capture</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="actions-menu" class="dropdown">
|
||||
<button class="dropbtn">Actions</button>
|
||||
<div id="actions-menu-content" class="dropdown-content">
|
||||
<a href="#urlsInPageModal" data-remote="{{ url_for('urls_rendered_page', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#urlsInPageModal" role="button"
|
||||
title="Start a capture from one of the URLs rendered in the page">Subsequent Captures</a>
|
||||
|
||||
<a href="{{ url_for('recapture', tree_uuid=tree_uuid) }}" role="button"
|
||||
title="Submit the URL again">Re-Capture</a>
|
||||
|
||||
<a href="#downloadModal" data-bs-toggle="modal" data-bs-target="#downloadModal" role="button"
|
||||
title="Download specific elements of the capture">Download elements</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if current_user.is_authenticated %}
|
||||
<div id="admin-menu" class="dropdown">
|
||||
<button class="dropbtn">Admin only</button>
|
||||
<div id="admin-menu-content" class="dropdown-content">
|
||||
<a href="{{ url_for('rebuild_tree', tree_uuid=tree_uuid) }}" role="button">Rebuild capture</a>
|
||||
<a href="{{ url_for('hide_capture', tree_uuid=tree_uuid) }}" role="button">Hide capture</a>
|
||||
<a href="{{ url_for('remove_capture', tree_uuid=tree_uuid) }}" role="button">Remove capture</a>
|
||||
{% if misp_push%}
|
||||
<a href="#mispPushModal" data-remote="{{ url_for('web_misp_push_view', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#mispPushModal" role="button">Prepare push to MISP</a>
|
||||
{% endif %}
|
||||
{% if misp_lookup%}
|
||||
<a href="#mispLookupModal" data-remote="{{ url_for('web_misp_lookup_view', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#mispLookupModal" role="button">Search events on MISP</a>
|
||||
{% endif %}
|
||||
<a href="{{ url_for('logout') }}" role="button" style="color: red">Logout</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{%if enable_categorization or enable_bookmark or enable_context_by_users %}
|
||||
<div id="extra-menu" class="dropdown">
|
||||
<button class="dropbtn">Extras</button>
|
||||
<div id="extra-menu-content" class="dropdown-content">
|
||||
{% if enable_categorization %}
|
||||
<a href="#categoriesModal" data-remote="{{ url_for('categories_capture', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#categoriesModal" role="button">Manage categories</a>
|
||||
{% endif %}
|
||||
{% if enable_bookmark %}
|
||||
<a href="#/" role="button" onclick="UnbookmarkAllNodes();">Unbookmark all nodes</a>
|
||||
{% endif %}
|
||||
{% if enable_context_by_users %}
|
||||
<a href="#/" role="button" onclick="MarkAsKnown('{{ tree_uuid }}');">Mark all the captures' entries as known</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<a id="help" href="https://www.lookyloo.eu/docs/main/usage.html#_investigate_a_capture" role="button" title="Lookyloo Manual">?</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="legend_container" class="tree-panel-container">
|
||||
<div id=legend class="collapse show">
|
||||
<center>
|
||||
<div style="display: inline">
|
||||
<b>Legend</b>
|
||||
</div>
|
||||
<div style="display: inline;">
|
||||
<button type="button" class="btn btn-link" data-bs-toggle="collapse" data-bs-target="#legend">
|
||||
<img src="{{ url_for('static', filename='down.jpg') }}" alt="Minimize legend" height="25" width="25" title="Collapse">
|
||||
</button>
|
||||
</div>
|
||||
</center>
|
||||
<hr/>
|
||||
<div title="The node contains at least one insecure (not HTTPS) request">
|
||||
<img src="{{ url_for('static', filename='insecure.svg') }}" alt="Insecure requests"
|
||||
|
@ -271,6 +426,7 @@
|
|||
<img src="{{ url_for('static', filename='empty.svg') }}" alt="Empty responses"
|
||||
height="20" width="20"> Empty responses
|
||||
</div>
|
||||
|
||||
<div title="Number of cookies received in the responses of this node">
|
||||
<img src="{{ url_for('static', filename='cookie_received.png') }}" alt="Cookie received"
|
||||
height="20" width="20"> Cookie received
|
||||
|
@ -339,130 +495,20 @@
|
|||
<div title="The node contains a downloaded file">
|
||||
<img src="{{ url_for('static', filename='download.png') }}" alt="Contains a downloaded file"
|
||||
height="20" width="20"> Downloaded file
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="menu_container_horizontal" class="tree-panel-container">
|
||||
<div id=menu_horizontal class="d-flex">
|
||||
<div class="flex-shrink-1 align-self-center">
|
||||
<button type="button" class="btn btn-link mr-3" data-bs-toggle="collapse" data-bs-target="#menu_horizontal_content">
|
||||
<span class="if-collapsed">
|
||||
<img src="{{ url_for('static', filename='up.jpg') }}" class="arrow-right" alt="Maximize menu" height="25" width="25" title="Expand">
|
||||
</span>
|
||||
<span class="if-not-collapsed">
|
||||
<img src="{{ url_for('static', filename='up.jpg') }}" class="arrow-left" alt="Minimize menu" height="25" width="25" title="Collapse">
|
||||
</span>
|
||||
<div style="width: 70px; float: right;">
|
||||
<center>
|
||||
<button type="button" class="btn btn-link" data-bs-toggle="collapse" data-bs-target="#legend">
|
||||
<img src="{{ url_for('static', filename='up.jpg') }}" alt="Maximize legend" height="40" width="40" title="Expand">
|
||||
<b>Legend</b>
|
||||
</button>
|
||||
</div>
|
||||
<div id="menu_horizontal_content" class="collapse show flex-grow-1 ms-3 container">
|
||||
<div class="hstack gap-3">
|
||||
<div class="vr"></div>
|
||||
<div id="capture-menu" class="dropdown">
|
||||
<button class="dropbtn">Capture</button>
|
||||
<div id="capture-menu-content" class="dropdown-content">
|
||||
<a href="#detailsModal" data-bs-toggle="modal" data-bs-target="#detailsModal" role="button">Capture Details</a>
|
||||
<a href="#statsModal" data-remote="{{ url_for('stats', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#statsModal" role="button">Statistics</a>
|
||||
<a href="#screenshotModal" data-bs-toggle="modal"
|
||||
data-bs-target="#screenshotModal" role="button">Page Screenshot</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="tools-menu" class="dropdown">
|
||||
<button class="dropbtn">Analytical Tools</button>
|
||||
<div id="tools-menu-content" class="dropdown-content">
|
||||
<a href="#modulesModal" data-remote="{{ url_for('trigger_modules', tree_uuid=tree_uuid, force=False) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#modulesModal" role="button">Third Party Reports</a>
|
||||
<a href="#historyModal" data-remote="{{ url_for('historical_lookups', tree_uuid=tree_uuid, force=False) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#historyModal" role="button">Historical lookups</a>
|
||||
<a href="#hashlookupModal" data-remote="{{ url_for('hashlookup', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#hashlookupModal" role="button">Hashlookup hits</a>
|
||||
<a href="#bodyHashesModal" data-remote="{{ url_for('tree_body_hashes', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#bodyHashesModal" role="button">Ressources Capture</a>
|
||||
<a href="#faviconsModal" data-remote="{{ url_for('tree_favicons', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#faviconsModal" role="button">Favicons Capture</a>
|
||||
<a href="#captureHashesTypesModal" data-remote="{{ url_for('tree_capture_hashes_types', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#captureHashesTypesModal" role="button">Capture hashes types</a>
|
||||
<a href="#identifiersModal" data-remote="{{ url_for('tree_identifiers', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#identifiersModal" role="button">Identifiers Capture</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="actions-menu" class="dropdown">
|
||||
<button class="dropbtn">Actions</button>
|
||||
<div id="actions-menu-content" class="dropdown-content">
|
||||
<a href="#urlsInPageModal" data-remote="{{ url_for('urls_rendered_page', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#urlsInPageModal" role="button">Subsequent Captures</a>
|
||||
<a href="{{ url_for('recapture', tree_uuid=tree_uuid) }}" role="button">Re-Capture</a>
|
||||
<a href="#downloadModal" data-bs-toggle="modal"
|
||||
data-bs-target="#downloadModal" role="button">Download elements</a>
|
||||
</div>
|
||||
</div>
|
||||
{% if current_user.is_authenticated %}
|
||||
|
||||
<div id="admin-menu" class="dropdown">
|
||||
<button class="dropbtn">Admin only</button>
|
||||
<div id="admin-menu-content" class="dropdown-content">
|
||||
<a href="{{ url_for('rebuild_tree', tree_uuid=tree_uuid) }}" role="button">Rebuild capture</a>
|
||||
<a href="{{ url_for('hide_capture', tree_uuid=tree_uuid) }}" role="button">Hide capture</a>
|
||||
<a href="{{ url_for('remove_capture', tree_uuid=tree_uuid) }}" role="button">Remove capture</a>
|
||||
{% if misp_push%}
|
||||
<a href="#mispPushModal" data-remote="{{ url_for('web_misp_push_view', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#mispPushModal" role="button">Prepare push to MISP</a>
|
||||
{% endif %}
|
||||
{% if misp_lookup%}
|
||||
<a href="#mispLookupModal" data-remote="{{ url_for('web_misp_lookup_view', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#mispLookupModal" role="button">Search events on MISP</a>
|
||||
{% endif %}
|
||||
<a href="{{ url_for('logout') }}" role="button" style="color: red">Logout</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{%if enable_categorization or enable_bookmark or enable_context_by_users %}
|
||||
<div class="vr"></div>
|
||||
<div class="col-md">
|
||||
<ul class="list-group list-group-flush">
|
||||
{% if enable_categorization %}
|
||||
<li class="list-group-item">
|
||||
<a href="#categoriesModal" data-remote="{{ url_for('categories_capture', tree_uuid=tree_uuid) }}"
|
||||
data-bs-toggle="modal" data-bs-target="#categoriesModal" role="button">Manage categories</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if enable_bookmark %}
|
||||
<li class="list-group-item">
|
||||
<a href="#/" role="button" onclick="UnbookmarkAllNodes();">Unbookmark all nodes</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if enable_context_by_users %}
|
||||
<li class="list-group-item">
|
||||
<a href="#/" role="button" onclick="MarkAsKnown('{{ tree_uuid }}');">Mark all the captures' entries as known</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if enable_monitoring %}
|
||||
<a href="#monitoringModal" data-bs-toggle="modal" data-bs-target="#monitoringModal" role="button" class="btn btn-outline-info" title="Take regularily captures of the URL">Monitor capture</a>
|
||||
{% endif %}
|
||||
|
||||
{% if enable_mail_notification %}
|
||||
<a href="#emailModal" data-bs-toggle="modal" data-bs-target="#emailModal" role="button" class="btn btn-outline-danger">Report suspicious</br>capture</a>
|
||||
{% endif %}
|
||||
|
||||
<a id="help" href="https://www.lookyloo.eu/docs/main/usage.html#_investigate_a_capture" role="button" title="Lookyloo Manual">?</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</center>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Modals -->
|
||||
|
||||
<div class="modal fade" id="detailsModal" tabindex="-1" role="dialog">
|
||||
|
@ -791,7 +837,7 @@
|
|||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="historyModalLabel">
|
||||
Historical data and contex about this capture
|
||||
Historical data and context about this capture
|
||||
</h4>
|
||||
</br>
|
||||
<button type="button" class="btn btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
|
|
Loading…
Reference in New Issue