2017-08-24 15:39:11 +02:00
|
|
|
{% from 'lib/picture.html' import picture %}
|
2017-08-03 16:05:28 +02:00
|
|
|
{% extends 'lib/layout.html' %}
|
|
|
|
{% block body %}
|
2017-07-31 20:49:03 +02:00
|
|
|
|
2017-08-03 16:05:28 +02:00
|
|
|
<section>
|
2017-09-17 12:29:49 +02:00
|
|
|
{% include "lib/greet.html" %}
|
2019-07-23 04:10:33 +02:00
|
|
|
<p>Forget is a service that automatically deletes your old posts. Shouldn't databases forget too?</p>
|
2017-08-03 16:05:28 +02:00
|
|
|
</section>
|
2017-08-03 21:46:53 +02:00
|
|
|
|
2017-09-17 12:29:49 +02:00
|
|
|
{% if not g.viewer %}
|
2017-08-03 16:05:28 +02:00
|
|
|
<section>
|
2017-08-08 16:18:39 +02:00
|
|
|
<h2 id="sign_in">Sign in</h2>
|
|
|
|
{% if twitter_login_error %}
|
|
|
|
<div class="banner error">
|
2017-11-02 15:44:31 +01:00
|
|
|
Sorry, something went wrong when logging you in with Twitter. Give it another shot, maybe?
|
2017-08-08 16:18:39 +02:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2017-08-23 15:14:24 +02:00
|
|
|
<p>
|
2017-09-17 13:20:30 +02:00
|
|
|
<a style='background-color:#1da1f2' class='btn primary' href="/login/twitter">
|
|
|
|
{{picture(st, 'twitter', (20,40,80), ('webp', 'png'))}}
|
|
|
|
Log in with Twitter
|
2017-08-23 15:14:24 +02:00
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
|
2019-03-15 17:59:44 +01:00
|
|
|
<p id='mastodon_instance_buttons'>
|
2017-08-23 23:32:21 +02:00
|
|
|
|
2017-09-17 12:29:49 +02:00
|
|
|
{% for instance in mastodon_instances %}
|
2018-05-08 00:06:36 +02:00
|
|
|
<a style='background-color:#282c37' class='btn primary' href="{{ url_for('mastodon_login_step1', instance_url=instance) }}">
|
2017-08-23 23:32:21 +02:00
|
|
|
{% if loop.first %}
|
2017-09-17 13:20:30 +02:00
|
|
|
{{picture(st, 'mastodon', (20,40,80), ('webp', 'png'))}}
|
|
|
|
Log in with
|
2017-08-23 23:32:21 +02:00
|
|
|
{% endif %}
|
2018-05-08 00:06:36 +02:00
|
|
|
{{instance}}
|
2017-09-17 13:20:30 +02:00
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
<a style='background-color:#282c37' class='btn primary' href="{{ url_for('mastodon_login_step1') }}">
|
|
|
|
{{picture(st, 'mastodon', (20,40,80), ('webp', 'png'))}}
|
|
|
|
Log in with Mastodon
|
2017-08-23 15:14:24 +02:00
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
|
2017-09-17 13:20:30 +02:00
|
|
|
{% if mastodon_instances %}
|
2017-09-17 13:21:35 +02:00
|
|
|
<a class='btn secondary' href="{{ url_for('mastodon_login_step1') }}">
|
2017-09-17 13:20:30 +02:00
|
|
|
Another Mastodon instance
|
2017-08-23 15:14:24 +02:00
|
|
|
</a>
|
2017-09-17 13:20:30 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2017-08-23 15:14:24 +02:00
|
|
|
</p>
|
2017-08-03 16:05:28 +02:00
|
|
|
</section>
|
2019-03-15 17:59:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
<script type="application/json" id="top_instances">
|
|
|
|
[
|
|
|
|
{% for instance in mastodon_instances %}
|
2019-03-15 19:46:18 +01:00
|
|
|
{"instance": "{{instance}}"}
|
2019-03-15 17:59:44 +01:00
|
|
|
{%- if not loop.last -%}
|
|
|
|
,
|
|
|
|
{%- endif %}
|
|
|
|
{% endfor %}
|
|
|
|
]
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/html+template" id="instance_button_template">
|
|
|
|
<a style='background-color:#282c37' class='btn primary'
|
2019-03-15 21:09:22 +01:00
|
|
|
href="{{ url_for('mastodon_login_step1') }}?instance_url=${encodeURIComponent(instance)}">
|
2019-03-15 17:59:44 +01:00
|
|
|
${ !first? '' : `
|
|
|
|
{{picture(st, 'mastodon', (20,40,80), ('webp', 'png'))}}
|
|
|
|
Log in with
|
|
|
|
`}
|
|
|
|
${ instance }
|
|
|
|
</a>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/html+template" id="another_instance_button_template">
|
|
|
|
<a class='btn secondary' href="{{ url_for('mastodon_login_step1') }}">
|
|
|
|
Another Mastodon instance
|
|
|
|
</a>
|
|
|
|
</script>
|
|
|
|
|
2019-03-15 19:46:18 +01:00
|
|
|
|
2017-09-17 12:29:49 +02:00
|
|
|
{% endif %}
|
2019-07-23 04:10:33 +02:00
|
|
|
|
|
|
|
<section>
|
|
|
|
<h2>Features</h2>
|
|
|
|
<ul>
|
|
|
|
<li>Delete your posts when they cross an age threshold.</li>
|
|
|
|
<li>Or keep your post count in check, deleting old posts when you go over.</li>
|
|
|
|
<li>Preserve old posts that matter by giving them a favourite.</li>
|
|
|
|
<li>Set it and <i>forget</i> it. Forget works continuously in the background.</li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<h2>Non-features</h2>
|
|
|
|
<p>
|
|
|
|
Forget is not a one-time purging tool.
|
|
|
|
It is designed to prune your account continuously, not quickly.
|
|
|
|
If you need a lot of posts gone fast, you may want to look for another more-suited tool.
|
|
|
|
</p>
|
|
|
|
</section>
|
|
|
|
|
2017-08-03 16:05:28 +02:00
|
|
|
{% endblock %}
|
2019-03-15 19:46:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
<script defer src="{{st('instance_buttons.js')}}"></script>
|
|
|
|
{% endblock %}
|