mirror of https://github.com/CIRCL/lookyloo
chg: Improve rendering capture page
parent
5cdc8c56ef
commit
954121a363
|
@ -25,12 +25,10 @@
|
||||||
<center>
|
<center>
|
||||||
<a href="{{ url_for('index') }}" title="Go back to index">
|
<a href="{{ url_for('index') }}" title="Go back to index">
|
||||||
<img src="{{ url_for('static', filename='lookyloo.jpeg') }}"
|
<img src="{{ url_for('static', filename='lookyloo.jpeg') }}"
|
||||||
alt="Lookyloo" width="400">
|
alt="Lookyloo" width="30%">
|
||||||
</a>
|
</a>
|
||||||
</center>
|
</center>
|
||||||
</br>
|
|
||||||
{{ render_messages(container=True, dismissible=True) }}
|
{{ render_messages(container=True, dismissible=True) }}
|
||||||
</br>
|
|
||||||
<form role="form" action="{{ url_for('capture_web') }}" method=post enctype=multipart/form-data>
|
<form role="form" action="{{ url_for('capture_web') }}" method=post enctype=multipart/form-data>
|
||||||
<div class="row mb-3">
|
<div class="row mb-3">
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
|
@ -41,14 +39,24 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mb-3">
|
<div class="row mb-3">
|
||||||
|
<label for="url" class="col-sm-1 col-form-label">URL:</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<label for="url" class="col-sm-2 col-form-label">URL:</label>
|
|
||||||
<input type="text" class="form-control" name="url" id=url
|
<input type="text" class="form-control" name="url" id=url
|
||||||
placeholder="URL to capture" value="{{predefined_url_to_capture}}" required>
|
placeholder="URL to capture" value="{{predefined_url_to_capture}}" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p style="font-size: x-large"><b>Browser Configuration</b> (Lookyloo uses an emulated browser for all captures)</p>
|
<div>
|
||||||
|
<button class="btn btn-link" type="button" data-bs-toggle="collapse" data-bs-target="#collapseConfigBrowser"
|
||||||
|
aria-expanded="false" aria-controls="collapseConfigBrowser">
|
||||||
|
<p style="margin-left: -12px; margin-top: 12px; font-size: x-large; color: black; text-decoration: underline; text-decoration-color: blue;">
|
||||||
|
<b>Browser Configuration</b>
|
||||||
|
</p>
|
||||||
|
</button>
|
||||||
|
<div class="help-tip" title="Lookyloo uses an emulated browser for all captures, click to configure the User-Agent"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="collapseConfigBrowser" class="collapse d-xl-block">
|
||||||
<div class="card card-body">
|
<div class="card card-body">
|
||||||
{% if personal_ua %}
|
{% if personal_ua %}
|
||||||
<div class="row mb-3">
|
<div class="row mb-3">
|
||||||
|
@ -119,9 +127,15 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="dropdown-divider"></div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<button class="btn btn-link" type="button" data-bs-toggle="collapse" data-bs-target="#collapseConfigCapture" aria-expanded="false" aria-controls="collapseConfigCapture">
|
<button class="btn btn-link" type="button" data-bs-toggle="collapse" data-bs-target="#collapseConfigCapture" aria-expanded="false" aria-controls="collapseConfigCapture">
|
||||||
<p style="margin-left: -12px; margin-top: 12px; font-size: x-large; color: black; text-decoration: underline; text-decoration-color: blue;"><b>Capture Configuration</b></p>
|
<p style="margin-left: -12px; margin-top: 12px; font-size: x-large; color: black; text-decoration: underline; text-decoration-color: blue;">
|
||||||
|
<b>Capture Configuration</b>
|
||||||
|
</p>
|
||||||
</button>
|
</button>
|
||||||
<div class="help-tip" title="Edit configuration options for the capture."></div>
|
<div class="help-tip" title="Edit configuration options for the capture."></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue