2013-07-29 23:03:31 +02:00
|
|
|
{% extends "zerver/base.html" %}
|
2015-11-03 09:37:07 +01:00
|
|
|
{% load i18n %}
|
2013-02-25 02:59:59 +01:00
|
|
|
{% load compressed %}
|
|
|
|
|
2012-10-16 06:03:29 +02:00
|
|
|
{% comment %}
|
|
|
|
A base template for stuff like login, register, etc.
|
|
|
|
|
|
|
|
Not inside the app itself, but covered by the same structure,
|
|
|
|
hence the name.
|
|
|
|
{% endcomment %}
|
|
|
|
|
2012-09-25 22:58:59 +02:00
|
|
|
{% block customhead %}
|
2013-02-25 02:59:59 +01:00
|
|
|
{% compressed_css '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>
|
2015-08-22 23:28:41 +02:00
|
|
|
{% if zulip_com %}
|
|
|
|
<a class="brand logo" href="/"><img src="/static/images/logo/zulip-dropbox.png" class="portico-logo" alt="Zulip" content="Zulip" /></a>
|
|
|
|
{% else %}
|
2015-09-24 01:35:21 +02:00
|
|
|
<a class="brand logo" href="/"><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 %}
|
2015-11-03 09:37:07 +01:00
|
|
|
<a href="{{login_url}}">{% trans 'Log in' %}</a>
|
2013-11-22 17:12:43 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2015-08-22 23:28:41 +02:00
|
|
|
{% if only_sso %}
|
2015-11-03 09:37:07 +01:00
|
|
|
<a href="{% url 'login-sso' %}">{% trans 'Log In' %}</a>
|
2013-11-14 02:36:51 +01:00
|
|
|
{% else %}
|
2015-11-03 09:37:07 +01:00
|
|
|
<a href="{% url 'register' %}">{% trans '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">
|
2015-11-03 09:37:07 +01:00
|
|
|
<li><a href="/hello">{% trans 'About' %}</a></li>
|
2015-08-22 23:28:41 +02:00
|
|
|
{% if zulip_com %}
|
2013-06-19 21:53:56 +02:00
|
|
|
<li><span class="little-bullet">·</span></li>
|
2015-11-03 09:37:07 +01:00
|
|
|
<li><a href="/terms">{% trans '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>
|
2015-11-03 09:37:07 +01:00
|
|
|
<li><a href="{{login_url}}">{% trans '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>
|
2015-08-21 09:53:11 +02:00
|
|
|
{% if zulip_com %}
|
2013-11-13 22:08:58 +01:00
|
|
|
{% else %}
|
2015-11-03 09:37:07 +01:00
|
|
|
<a href="{% url 'register' %}">{% trans 'Register' %}</a>
|
2013-10-26 00:22:19 +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 %}
|