32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>E-Mail Unsubscribe Link Finder</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>E-Mail Unsubscribe Link Finder</h1>
|
|
<p>Email your emails to: {{ email_address }}</p>
|
|
{% if error %}<p class="error">{{ error }}</p>{% endif %}
|
|
{% if connected %}
|
|
<form action="/result" method="get">
|
|
<button type="submit" class="btn-primary">Start</button>
|
|
</form>
|
|
{% if oauth %}
|
|
<form action="/disconnect" method="post">
|
|
<button type="submit" class="btn-delete">Disconnect mailbox</button>
|
|
</form>
|
|
{% endif %}
|
|
{% else %}
|
|
<p>The collection mailbox is not connected yet. In a private window: open this page, sign in with
|
|
<strong>your own account</strong>, click “Connect mailbox”, then sign in as
|
|
<strong>{{ email_address }}</strong> (technical account).</p>
|
|
<form action="/connect" method="get">
|
|
<button type="submit" class="btn-primary">Connect mailbox</button>
|
|
</form>
|
|
{% endif %}
|
|
</div>
|
|
</body>
|
|
</html>
|