2013-07-29 23:03:31 +02:00
|
|
|
{% extends "zerver/base.html" %}
|
2013-02-25 02:59:59 +01:00
|
|
|
|
2016-04-21 08:48:33 +02:00
|
|
|
{# A base template for stuff like login, register, etc.
|
2012-10-16 06:03:29 +02:00
|
|
|
|
2016-04-21 08:48:33 +02:00
|
|
|
Not inside the app itself, but covered by the same structure,
|
|
|
|
hence the name.
|
|
|
|
#}
|
2012-10-16 06:03:29 +02:00
|
|
|
|
2012-09-25 22:58:59 +02:00
|
|
|
{% block customhead %}
|
2016-07-04 09:33:57 +02:00
|
|
|
{% stylesheet 'portico' %}
|
2012-09-25 22:58:59 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2013-09-13 06:06:10 +02:00
|
|
|
<div class="header">
|
|
|
|
<div class="header-main" id="top_navbar">
|
|
|
|
<div class="column-left">
|
|
|
|
<div>
|
2016-07-19 06:56:45 +02:00
|
|
|
{% if custom_logo_url %}
|
2016-08-13 00:39:22 +02:00
|
|
|
<a class="brand logo" href="{{ server_uri }}/"><img src="{{ custom_logo_url }}" class="portico-logo" alt="Zulip" content="Zulip" /></a>
|
2015-08-22 23:28:41 +02:00
|
|
|
{% else %}
|
2016-08-13 00:39:22 +02:00
|
|
|
<a class="brand logo" href="{{ server_uri }}/"><img src="/static/images/logo/zulipcornerlogo@2x.png" class="portico-simple-logo" alt="Zulip" content="Zulip" /></a>
|
2015-08-22 23:28:41 +02:00
|
|
|
{% endif %}
|
2013-09-13 06:06:10 +02:00
|
|
|
</div>
|
2013-05-16 21:24:11 +02:00
|
|
|
</div>
|
|
|
|
|
2013-09-13 06:06:10 +02:00
|
|
|
<div class="column-right top-links">
|
2016-09-14 07:49:51 +02:00
|
|
|
{% if login_link_disabled %}
|
|
|
|
{% elif not only_sso %}
|
2016-04-21 08:48:33 +02:00
|
|
|
<a href="{{login_url}}">{{ _('Log in') }}</a>
|
2013-11-22 17:12:43 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2016-09-14 07:49:51 +02:00
|
|
|
{% if register_link_disabled %}
|
|
|
|
{% elif only_sso %}
|
2016-04-21 08:48:33 +02:00
|
|
|
<a href="{{ url('login-sso') }}">{{ _('Log In') }}</a>
|
2013-11-14 02:36:51 +01:00
|
|
|
{% else %}
|
2016-04-21 08:48:33 +02:00
|
|
|
<a href="{{ url('register') }}">{{ _('Register') }}</a>
|
2013-10-26 00:22:19 +02:00
|
|
|
{% endif %}
|
2013-05-16 21:24:11 +02:00
|
|
|
</div>
|
2013-09-13 06:06:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-05-16 21:24:11 +02:00
|
|
|
|
2013-09-13 06:06:10 +02:00
|
|
|
<div class="app portico-page">
|
2015-09-24 01:35:21 +02:00
|
|
|
<div class="portico-os-announcement">
|
|
|
|
{% block os_announcement %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
2013-09-13 06:06:10 +02:00
|
|
|
<div class="app-main portico-page-container{% block hello_page_container %}{% endblock %}">
|
|
|
|
{% block portico_content %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
<div class="footer-padder{% block hello_page_footer %}{% endblock %}"></div>
|
2013-06-19 21:15:01 +02:00
|
|
|
</div>
|
|
|
|
|
2013-09-13 06:06:10 +02:00
|
|
|
<div class="footer">
|
|
|
|
<div class="footer-main">
|
|
|
|
<ul class="footer-navigation">
|
2016-09-14 07:49:51 +02:00
|
|
|
{% if about_link_disabled %}
|
|
|
|
{% else %}
|
2016-08-13 00:39:22 +02:00
|
|
|
<li><a href="{{ server_uri }}/hello">{{ _('About') }}</a></li>
|
2016-09-14 07:49:51 +02:00
|
|
|
{% endif %}
|
2016-05-11 19:29:29 +02:00
|
|
|
{% if terms_of_service %}
|
2016-09-14 07:49:51 +02:00
|
|
|
|
|
|
|
{% if about_link_disabled %}
|
|
|
|
{% else %}
|
2013-06-19 21:53:56 +02:00
|
|
|
<li><span class="little-bullet">·</span></li>
|
2016-09-14 07:49:51 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2016-08-13 00:39:22 +02:00
|
|
|
<li><a href="{{ server_uri }}/terms">{{ _('Legal') }}</a></li>
|
2016-09-14 07:49:51 +02:00
|
|
|
<li><span class="little-bullet">·</span></li>
|
|
|
|
<li><a href="{{ server_uri }}/privacy">{{ _('Privacy') }}</a></li>
|
2013-11-26 02:26:32 +01:00
|
|
|
{% endif %}
|
2016-09-14 07:49:51 +02:00
|
|
|
{% if login_link_disabled %}
|
|
|
|
{% else %}
|
2013-09-13 06:06:10 +02:00
|
|
|
<li><span class="little-bullet">·</span></li>
|
2016-04-21 08:48:33 +02:00
|
|
|
<li><a href="{{login_url}}">{{ _('Log in') }}</a></li>
|
2016-09-14 07:49:51 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if register_link_disabled %}
|
|
|
|
{% elif only_sso %}
|
|
|
|
{% else %}
|
2013-09-13 06:06:10 +02:00
|
|
|
<li><span class="little-bullet">·</span></li>
|
2016-09-14 07:49:51 +02:00
|
|
|
<li><a href="{{ url('register') }}">{{ _('Register') }}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% if open_realm_creation %}
|
|
|
|
<li><span class="little-bullet">·</span></li>
|
|
|
|
<li><a href="{{ server_uri }}/create_realm">{{ _('Create new organization') }}</a></li>
|
2013-11-26 02:26:32 +01:00
|
|
|
{% endif %}
|
2013-06-19 21:15:01 +02:00
|
|
|
</ul>
|
2013-05-16 21:24:11 +02:00
|
|
|
</div>
|
2013-02-28 19:04:58 +01:00
|
|
|
</div>
|
2012-09-25 22:58:59 +02:00
|
|
|
{% endblock %}
|