2013-07-29 23:03:31 +02:00
|
|
|
{% extends "zerver/portico.html" %}
|
2013-07-11 21:40:52 +02:00
|
|
|
|
2013-07-12 19:24:56 +02:00
|
|
|
{% load minified_js %}
|
2013-07-11 21:40:52 +02:00
|
|
|
|
|
|
|
{# A landing page for the first user in a realm, prompting her to invite her colleages. #}
|
|
|
|
|
|
|
|
{% block for_you %}for {{company_name}} {% endblock %}
|
|
|
|
|
|
|
|
{% block customhead %}
|
|
|
|
{{ block.super }}
|
2013-07-12 19:24:56 +02:00
|
|
|
{% minified_js 'initial_invite' %}
|
2013-07-11 21:40:52 +02:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
var invite_suffix = "{{invite_suffix}}";
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block portico_content %}
|
|
|
|
|
2013-09-13 06:06:10 +02:00
|
|
|
<h1 style="margin-top:30px;">You're the first one here!</h1>
|
2013-07-11 21:40:52 +02:00
|
|
|
<p>
|
2014-02-04 21:08:09 +01:00
|
|
|
Let's invite some folks for you to chat with:
|
2013-07-11 21:40:52 +02:00
|
|
|
</p>
|
|
|
|
<div id="invite_rows">
|
|
|
|
<form id="invite_form">
|
|
|
|
{% csrf_token %}
|
|
|
|
<div class="invite_row"><input name="email_1" class="invite_email" type={% if not invite_suffix %}"email"{% else %}"text"{% endif %} /> {% if invite_suffix %}@{{invite_suffix}}{% endif %}</div>
|
2014-02-04 21:08:09 +01:00
|
|
|
<p id="invite_blurb">(We'll email invitations to them)</p>
|
2013-07-11 21:40:52 +02:00
|
|
|
<div class="alert" id="invite_error" style="display: none;">
|
|
|
|
</div>
|
|
|
|
<button id="submit_invitation" class="btn btn-primary" data-loading-text="Next">Next »</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{%endblock %}
|