mirror of https://github.com/CIRCL/lookyloo
chg: Slight refactoring of the HTML views
parent
957fc15e12
commit
1af2aa88fa
|
@ -4,12 +4,13 @@
|
|||
|
||||
{% block content %}
|
||||
<center>
|
||||
<h2><a href="{{ url_for('scrape_web') }}">Scrape a page</a></h2></br></br>
|
||||
<h2><a href="{{ url_for('scrape_web') }}">Scrape a page</a></h2>
|
||||
</br></br>
|
||||
</center>
|
||||
<center>
|
||||
{% for uuid, page_title in titles %}
|
||||
<a href="{{ url_for('tree', tree_uuid=uuid) }}">{{ page_title }}</a></br>
|
||||
</br>
|
||||
<a href="{{ url_for('tree', tree_uuid=uuid) }}">{{ page_title }}</a>
|
||||
</br></br>
|
||||
{% endfor %}
|
||||
</center>
|
||||
{% endblock %}
|
||||
|
|
|
@ -100,7 +100,8 @@
|
|||
</div>
|
||||
<div style="display: inline;">
|
||||
<button type="button" class="btn btn-link" data-toggle="collapse" data-target="#tree-details">
|
||||
<img src="{{ url_for('static', filename='minimize1.jpg') }}" alt="Minimize tree details" height="25" width="25">
|
||||
<img src="{{ url_for('static', filename='minimize1.jpg') }}"
|
||||
alt="Minimize tree details" height="25" width="25">
|
||||
</button>
|
||||
</div>
|
||||
</center>
|
||||
|
@ -116,7 +117,8 @@
|
|||
{%endif%}
|
||||
<b>Screenshot</b>:
|
||||
<a href="{{ url_for('image', tree_uuid=tree_uuid) }}" class="btn btn-info" role="button">Download</a>
|
||||
<button id="screenshot_view_button" type="button" class="btn btn-info" data-toggle="collapse" data-target="#screenshot">View</button>
|
||||
<button id="screenshot_view_button" type="button" class="btn btn-info"
|
||||
data-toggle="collapse" data-target="#screenshot">View</button>
|
||||
</br>
|
||||
</div>
|
||||
<div style="width: 100px;float: right;">
|
||||
|
|
Loading…
Reference in New Issue