Add deltachat credentials page with QR code, update translation strings

This commit is contained in:
Ana Custura 2026-03-31 12:46:38 +01:00
parent 585458986f
commit eeb387d694
6 changed files with 147 additions and 59 deletions

View file

@ -4,14 +4,14 @@
<h1 class="title is-large butter-title">{{ _('Secure Messenger') }}</h1>
<div class="block">
<p> {{ _("To use secure messaging, install Delta Chat and then return to this page to create your local offline account.")}}</p>
<p> {{ _("To use secure messaging, install Delta Chat and then create your local offline account.")}}</p>
</div>
<a href="{{ url_for('static', filename='DeltaChat_2.35.0_APKPure.apk') }}"><button class="button is-link is-fullwidth block">
<p>{{ _("Step 1") }}<br> {{ _("Download and install") }}</p>
</button>
</a>
<div class="block"></div>
<form action="{{ url_for('generate_random_deltachat_credentials') }}" method="post">
<form action="{{ url_for('deltachat_credentials') }}" method="post">
<button type="submit" class="button is-link is-fullwidth block">
<p>{{ _("Step 2") }} <br> {{ _("Create offline account") }} </p>
</button>