lookyloo/website/web/templates/search.html

66 lines
2.2 KiB
HTML

{% extends "main.html" %}
{% block title %}Capture{% endblock %}
{% block card %}
<meta property="og:title" content="Lookyloo" />
<meta property="og:type" content="website"/>
<meta
property="og:description"
content="Lookyloo captures websites and let you investigate them."
/>
<meta
property="og:image"
content="https://{{public_domain}}{{ url_for('static', filename='lookyloo.jpeg') }}"
/>
<meta
property="og:url"
content="https://{{public_domain}}"
/>
<meta name="twitter:card" content="summary_large_image">
{% endblock %}
{% block content %}
<div class="container">
<center>
<a href="{{ url_for('index') }}" title="Go back to index">
<img src="{{ url_for('static', filename='lookyloo.jpeg') }}"
alt="Lookyloo" width="400">
</a>
</center>
</br>
<div>Please only search one of the following thing at a time.</div>
<form role="form" action="{{ url_for('search') }}" method=post enctype=multipart/form-data>
<div class="form-group row">
<label for="url" class="col-sm-2 col-form-label">URL:</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="url" id=url placeholder="URL to search">
</div>
</div>
<div class="form-group row">
<label for="hostname" class="col-sm-2 col-form-label">Hostname:</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="hostname" id=hostname placeholder="Hostname to search">
</div>
</div>
<div class="form-group row">
<label for="ressource" class="col-sm-2 col-form-label">Ressource:</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="ressource" id=ressource placeholder="SHA 521 of the ressource to search">
</div>
</div>
<div class="form-group row">
<label for="cookie" class="col-sm-2 col-form-label">Cookie name:</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="cookie" id=cookie placeholder="Cookie name to search">
</div>
</div>
<button type="submit" class="btn btn-info" id="btn-looking">Start looking!</button>
</form>
</div>
{% endblock %}
{% block scripts %}
{{ super() }}
<script src='{{ url_for('static', filename='capture.js') }}'></script>
{% endblock %}