{% extends "base.html" %}

{% block content %}
    <h1 class="title is-large butter-title">{{ _('Secure Messenger Account') }}</h1>


<div class="block">
    <button class="button is-large"><a href="{{ dclink }}">Add account to DeltaChat</a></button>
</div>
    <hr>
<div class="block">
    <p>{{ _('If the above button does not work, scan the following QR code with a device where DeltaChat is installed:') }}</p>
    <img class="image is-128x128" src="{{ base64img }}"/>
</div>

<form action="{{ url_for('deltachat_credentials') }}" method="post">
    <button type="submit" class="button is-link is-fullwidth block">
        <p>{{ _("Generate new credentials") }} </p>
    </button>
 </form>
{% endblock %}