2016-12-20 10:41:46 +01:00
|
|
|
{% extends "zerver/portico.html" %}
|
|
|
|
|
|
|
|
{% block portico_content %}
|
2017-04-20 21:02:56 +02:00
|
|
|
|
|
|
|
<div class="app find-team-page flex full-page">
|
2017-05-01 21:33:41 +02:00
|
|
|
<div class="inline-block new-style">
|
|
|
|
<div class="lead">
|
|
|
|
<h1 class="get-started">{{ _("Find your team") }}…</h1>
|
|
|
|
</div>
|
2016-12-20 10:41:46 +01:00
|
|
|
|
2017-05-03 19:48:52 +02:00
|
|
|
<div class="app-main find-team-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 %}
|
|
|
|
<div class="find-team-form">
|
|
|
|
<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>
|
|
|
|
<form class="form-inline" id="find_my_team" name="email_form"
|
|
|
|
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 class="required"></div>
|
2017-05-25 22:43:42 +02:00
|
|
|
<img class="valid" src="/static/images/checkbox-valid.svg" alt="{{ _('Valid') }}" />
|
2017-05-01 21:33:41 +02:00
|
|
|
</div>
|
|
|
|
<button type="submit">{{ _('Find team') }}</button>
|
|
|
|
</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 %}
|