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
|
|
|
|
2017-02-28 04:44:31 +01:00
|
|
|
{% block customhead %}
|
|
|
|
{% stylesheet 'portico' %}
|
|
|
|
{% endblock %}
|
2012-09-25 22:58:59 +02:00
|
|
|
|
|
|
|
{% block content %}
|
2013-09-13 06:06:10 +02:00
|
|
|
<div class="header">
|
2017-02-28 04:44:31 +01:00
|
|
|
<div class="stripes"></div>
|
|
|
|
<div class="darker"></div>
|
|
|
|
<div class="header-main" id="top_navbar">
|
|
|
|
<div class="column-left">
|
|
|
|
<div>
|
|
|
|
{% if custom_logo_url %}
|
|
|
|
<a class="brand logo" href="{{ server_uri }}/"><img draggable="false" src="{{ custom_logo_url }}" class="portico-logo" alt="Zulip" content="Zulip" /></a>
|
|
|
|
{% else %}
|
|
|
|
<a class="brand logo" href="{{ server_uri }}">
|
|
|
|
<svg class="brand-logo" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 40 40" version="1.1">
|
|
|
|
<g transform="translate(-297.14285,-466.64792)">
|
|
|
|
<circle cx="317.14285" cy="486.64792" r="19.030317" style="fill:#fff;stroke-width:1.93936479;stroke:transparent"></circle>
|
|
|
|
<path d="m309.24286 477.14791 14.2 0 1.6 3.9-11.2 11.9 9.6 0 1.6 3.2-14.2 0-1.6-3.9 11.2-11.9-9.6 0z" style="fill:#52c2af;stroke:#52c2af"></path>
|
|
|
|
</g>
|
|
|
|
</svg>
|
|
|
|
<span>Zulip</span>
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2013-09-13 06:06:10 +02:00
|
|
|
</div>
|
2013-05-16 21:24:11 +02:00
|
|
|
|
2017-02-28 04:44:31 +01:00
|
|
|
<div class="column-right top-links">
|
|
|
|
{% if login_link_disabled %}
|
|
|
|
{% elif not only_sso %}
|
|
|
|
<a href="{{login_url}}">{{ _('Log in') }}</a>
|
|
|
|
{% endif %}
|
2013-11-22 17:12:43 +01:00
|
|
|
|
2017-02-28 04:44:31 +01:00
|
|
|
{% if register_link_disabled %}
|
|
|
|
{% elif only_sso %}
|
2017-03-08 18:03:28 +01:00
|
|
|
<a href="{{ url('login-sso') }}">{{ _('Log in') }}</a>
|
2017-02-28 04:44:31 +01:00
|
|
|
{% else %}
|
|
|
|
<a href="{{ url('register') }}">{{ _('Register') }}</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-09-13 06:06:10 +02:00
|
|
|
</div>
|
2013-05-16 21:24:11 +02:00
|
|
|
|
2013-09-13 06:06:10 +02:00
|
|
|
<div class="app portico-page">
|
2017-02-28 04:44:31 +01:00
|
|
|
<div class="portico-os-announcement">
|
|
|
|
{% block os_announcement %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
<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">
|
2017-02-28 04:44:31 +01:00
|
|
|
<div class="footer-main">
|
|
|
|
<ul class="footer-navigation">
|
|
|
|
{% if about_link_disabled %}
|
|
|
|
{% else %}
|
|
|
|
<li><a href="{{ server_uri }}/hello">{{ _('About') }}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if terms_of_service %}
|
|
|
|
{% if about_link_disabled %}
|
|
|
|
{% else %}
|
|
|
|
<li><span class="little-bullet">·</span></li>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<li><a href="{{ server_uri }}/terms">{{ _('Legal') }}</a></li>
|
|
|
|
<li><span class="little-bullet">·</span></li>
|
|
|
|
<li><a href="{{ server_uri }}/privacy">{{ _('Privacy') }}</a></li>
|
|
|
|
{% endif %}
|
2017-02-01 03:42:28 +01:00
|
|
|
|
2017-02-28 04:44:31 +01:00
|
|
|
<li><span class="little-bullet">·</span></li>
|
|
|
|
<li><a href="{{ server_uri }}/features">{{ _('Features') }}</a></li>
|
|
|
|
<li><span class="little-bullet">·</span></li>
|
|
|
|
<li><a href="{{ server_uri }}/help">{{ _('User documentation') }}</a></li>
|
2016-09-14 07:49:51 +02:00
|
|
|
|
2017-02-28 04:44:31 +01:00
|
|
|
{% if login_link_disabled %}
|
|
|
|
{% else %}
|
|
|
|
<li><span class="little-bullet">·</span></li>
|
|
|
|
<li><a href="{{login_url}}">{{ _('Log in') }}</a></li>
|
|
|
|
{% endif %}
|
2016-09-14 07:49:51 +02:00
|
|
|
|
2017-02-28 04:44:31 +01:00
|
|
|
{% if register_link_disabled %}
|
|
|
|
{% elif only_sso %}
|
|
|
|
{% else %}
|
|
|
|
<li><span class="little-bullet">·</span></li>
|
|
|
|
<li><a href="{{ url('register') }}">{{ _('Register') }}</a></li>
|
|
|
|
{% endif %}
|
2017-02-01 03:42:28 +01:00
|
|
|
|
2017-02-28 04:44:31 +01:00
|
|
|
{% if open_realm_creation %}
|
|
|
|
<li><span class="little-bullet">·</span></li>
|
|
|
|
<li><a href="{{ server_uri }}/create_realm">{{ _('Create new organization') }}</a></li>
|
|
|
|
{% endif %}
|
2017-02-01 03:42:28 +01:00
|
|
|
|
2017-02-28 04:44:31 +01:00
|
|
|
{% if find_team_link_disabled %}
|
|
|
|
{% else %}
|
|
|
|
<li><span class="little-bullet">·</span></li>
|
|
|
|
<li><a href="{{ server_uri }}/find_my_team">{{ _('Find my team') }}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2013-02-28 19:04:58 +01:00
|
|
|
</div>
|
2012-09-25 22:58:59 +02:00
|
|
|
{% endblock %}
|