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-12 23:15:56 +02:00
|
|
|
<a class="brand logo" href="{{ external_uri_scheme }}{{ external_host }}/"><img src="{{ custom_logo_url }}" class="portico-logo" alt="Zulip" content="Zulip" /></a>
|
2015-08-22 23:28:41 +02:00
|
|
|
{% else %}
|
2016-08-12 23:15:56 +02:00
|
|
|
<a class="brand logo" href="{{ external_uri_scheme }}{{ external_host }}/"><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">
|
2013-11-22 17:12:43 +01:00
|
|
|
{% if 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 %}
|
|
|
|
|
2015-08-22 23:28:41 +02:00
|
|
|
{% if 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-08-12 23:15:56 +02:00
|
|
|
<li><a href="{{ external_uri_scheme }}{{ external_host }}/hello">{{ _('About') }}</a></li>
|
2016-05-11 19:29:29 +02:00
|
|
|
{% if terms_of_service %}
|
2013-06-19 21:53:56 +02:00
|
|
|
<li><span class="little-bullet">·</span></li>
|
2016-08-12 23:15:56 +02:00
|
|
|
<li><a href="{{ external_uri_scheme }}{{ external_host }}/terms">{{ _('Legal') }}</a></li>
|
2013-11-26 02:26:32 +01:00
|
|
|
{% endif %}
|
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>
|
2013-11-26 02:26:32 +01:00
|
|
|
{% if not only_sso %}
|
2013-09-13 06:06:10 +02:00
|
|
|
<li><span class="little-bullet">·</span></li>
|
2013-10-26 00:22:19 +02:00
|
|
|
<li>
|
2016-07-19 06:52:34 +02:00
|
|
|
{% if register_link_disabled %}
|
2013-11-13 22:08:58 +01:00
|
|
|
{% else %}
|
2016-04-21 08:48:33 +02:00
|
|
|
<a href="{{ url('register') }}">{{ _('Register') }}</a>
|
2016-07-29 16:46:26 +02:00
|
|
|
<li><span class="little-bullet">·</span></li>
|
2013-10-26 00:22:19 +02:00
|
|
|
{% endif %}
|
|
|
|
</li>
|
2016-06-03 01:02:58 +02:00
|
|
|
<li>
|
|
|
|
{% if open_realm_creation %}
|
2016-08-12 23:15:56 +02:00
|
|
|
<a href="{{ external_uri_scheme }}{{ external_host }}/create_realm">{{ _('Create new organization') }}</a>
|
2016-06-03 01:02:58 +02:00
|
|
|
{% endif %}
|
|
|
|
</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 %}
|