chg: Add index button, tooltips

Fix #110
pull/122/head
Raphaël Vinot 2020-11-03 12:54:42 +01:00
parent 69d34b803c
commit 903c071654
1 changed files with 10 additions and 7 deletions

View File

@ -71,7 +71,7 @@
<div id="menu_container" class="tree-panel-container"> <div id="menu_container" class="tree-panel-container">
<div id=menu> <div id=menu>
<div class="menu_header"> <div class="menu_header">
<a href="/" > <a href="{{ url_for('index') }}" title="Go back to index">
<img src="{{ url_for('static', filename='lookyloo.jpeg') }}" alt="Lookyloo icon" height="110"> <img src="{{ url_for('static', filename='lookyloo.jpeg') }}" alt="Lookyloo icon" height="110">
</a> </a>
</div> </div>
@ -83,10 +83,10 @@
<div style="display: inline;"> <div style="display: inline;">
<button type="button" class="btn btn-link" data-toggle="collapse" data-target="#menu_content"> <button type="button" class="btn btn-link" data-toggle="collapse" data-target="#menu_content">
<span class="if-collapsed"> <span class="if-collapsed">
<img src="{{ url_for('static', filename='down.jpg') }}" alt="Maximize menu" height="25" width="25"> <img src="{{ url_for('static', filename='down.jpg') }}" alt="Maximize menu" height="25" width="25" title="Expand">
</span> </span>
<span class="if-not-collapsed"> <span class="if-not-collapsed">
<img src="{{ url_for('static', filename='up.jpg') }}" alt="Minimize menu" height="25" width="25"> <img src="{{ url_for('static', filename='up.jpg') }}" alt="Minimize menu" height="25" width="25" title="Collapse">
</span> </span>
</button> </button>
</div> </div>
@ -94,6 +94,9 @@
<hr/> <hr/>
<div id=menu_content class="collapse show"> <div id=menu_content class="collapse show">
<ul class="list-unstyled components"> <ul class="list-unstyled components">
<li>
<a href="{{ url_for('index') }}" role="button">Go back to index</a>
</li>
<li> <li>
<a href="#modulesModal" data-remote="{{ url_for('trigger_modules', tree_uuid=tree_uuid, force=False) }}" <a href="#modulesModal" data-remote="{{ url_for('trigger_modules', tree_uuid=tree_uuid, force=False) }}"
data-toggle="modal" data-target="#modulesModal" role="button">Show third party reports</a> data-toggle="modal" data-target="#modulesModal" role="button">Show third party reports</a>
@ -145,7 +148,7 @@
</div> </div>
<div style="display: inline;"> <div style="display: inline;">
<button type="button" class="btn btn-link" data-toggle="collapse" data-target="#legend"> <button type="button" class="btn btn-link" data-toggle="collapse" data-target="#legend">
<img src="{{ url_for('static', filename='down.jpg') }}" alt="Minimize legend" height="25" width="25"> <img src="{{ url_for('static', filename='down.jpg') }}" alt="Minimize legend" height="25" width="25" title="Collapse">
</button> </button>
</div> </div>
</center> </center>
@ -201,7 +204,7 @@
<div style="width: 70px; float: right;"> <div style="width: 70px; float: right;">
<center> <center>
<button type="button" class="btn btn-link" data-toggle="collapse" data-target="#legend"> <button type="button" class="btn btn-link" data-toggle="collapse" data-target="#legend">
<img src="{{ url_for('static', filename='up.jpg') }}" alt="Maximize legend" height="40" width="40"> <img src="{{ url_for('static', filename='up.jpg') }}" alt="Maximize legend" height="40" width="40" title="Expand">
<b>Legend</b> <b>Legend</b>
</button> </button>
</center> </center>
@ -218,7 +221,7 @@
<div style="display: inline;"> <div style="display: inline;">
<button type="button" class="btn btn-link" data-toggle="collapse" data-target="#tree-details"> <button type="button" class="btn btn-link" data-toggle="collapse" data-target="#tree-details">
<img src="{{ url_for('static', filename='up.jpg') }}" <img src="{{ url_for('static', filename='up.jpg') }}"
alt="Minimize tree details" height="25" width="25"> alt="Minimize tree details" height="25" width="25" title="Collapse">
</button> </button>
</div> </div>
</center> </center>
@ -237,7 +240,7 @@
<div style="width: 70px; float: right;"> <div style="width: 70px; float: right;">
<center> <center>
<button type="button" class="btn btn-link" data-toggle="collapse" data-target="#tree-details"> <button type="button" class="btn btn-link" data-toggle="collapse" data-target="#tree-details">
<img src="{{ url_for('static', filename='down.jpg') }}" alt="Minimize tree details" height="40" width="40"> <img src="{{ url_for('static', filename='down.jpg') }}" alt="Minimize tree details" height="40" width="40" title="Expand">
<b>Tree details</b> <b>Tree details</b>
</button> </button>
</center> </center>