2016-12-20 10:41:46 +01:00
|
|
|
{% extends "zerver/portico.html" %}
|
|
|
|
|
|
|
|
{% block portico_content %}
|
2017-04-20 21:02:56 +02:00
|
|
|
|
2017-08-28 23:27:16 +02:00
|
|
|
<div class="app find-account-page flex full-page">
|
2017-05-01 21:33:41 +02:00
|
|
|
<div class="inline-block new-style">
|
|
|
|
<div class="lead">
|
2017-08-28 23:27:16 +02:00
|
|
|
<h1 class="get-started">{{ _("Find your Zulip accounts") }}…</h1>
|
2017-05-01 21:33:41 +02:00
|
|
|
</div>
|
2016-12-20 10:41:46 +01:00
|
|
|
|
2017-08-28 23:27:16 +02:00
|
|
|
<div class="app-main find-account-page-container white-box">
|
2017-05-01 21:33:41 +02:00
|
|
|
{% if emails %}
|
|
|
|
<div id="results">
|
|
|
|
<p>
|
|
|
|
Emails sent! You will only receive emails at addresses associated
|
|
|
|
with Zulip organizations. The addresses entered on the previous page
|
|
|
|
are listed below:
|
|
|
|
</p>
|
2017-02-08 00:29:38 +01:00
|
|
|
|
2017-05-01 21:33:41 +02:00
|
|
|
<ul>
|
|
|
|
{% for email in emails %}
|
|
|
|
<li>{{ email }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2017-02-08 00:29:38 +01:00
|
|
|
|
2017-05-01 21:33:41 +02:00
|
|
|
{% if development_environment %}
|
|
|
|
<div class="alert alert-info" style="display:inline-block;">
|
|
|
|
{{ _("In the Zulip development environment, outgoing emails are printed to the run-dev.py console") }}
|
2017-04-20 21:02:56 +02:00
|
|
|
</div>
|
2017-05-01 21:33:41 +02:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{% else %}
|
2017-08-28 23:27:16 +02:00
|
|
|
<div class="find-account-form">
|
2017-05-01 21:33:41 +02:00
|
|
|
<p>
|
|
|
|
We will send you an email with the sign-in information for
|
|
|
|
any Zulip organization(s) associated with the addresses you enter below.
|
|
|
|
</p>
|
2017-08-28 23:27:16 +02:00
|
|
|
<form class="form-inline" id="find_account" name="email_form"
|
2017-05-01 21:33:41 +02:00
|
|
|
action="{{ current_url() }}" method="post">
|
|
|
|
{{ csrf_input }}
|
|
|
|
<div class="input-box moving-label horizontal">
|
|
|
|
<div class="inline-block relative">
|
|
|
|
<input type="text" autofocus id="emails" name="emails" required />
|
|
|
|
<label for="id_username">{{ _('Email addresses') }}</label>
|
|
|
|
</div>
|
2017-08-28 23:27:16 +02:00
|
|
|
<button type="submit">{{ _('Find accounts') }}</button>
|
2017-05-01 21:33:41 +02:00
|
|
|
</div>
|
|
|
|
<div><i>{{ form.emails.help_text }}</i></div>
|
|
|
|
</form>
|
|
|
|
<div id="errors"></div>
|
|
|
|
{% if form.emails.errors %}
|
|
|
|
{% for error in form.emails.errors %}
|
|
|
|
<div class="alert alert-error">{{ error }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2017-02-24 16:42:13 +01:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2016-12-20 10:41:46 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|