2013-07-29 23:03:31 +02:00
|
|
|
{% extends "zerver/base.html" %}
|
2012-09-25 22:58:59 +02:00
|
|
|
|
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-18 02:32:39 +02:00
|
|
|
<a class="brand logo" href="/"><img src="/static/images/logo/zulipwlogo@2x.png" class="portico-logo" alt="Zulip" content="Zulip" /></a>
|
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 %}
|
2013-11-13 23:31:59 +01:00
|
|
|
<a href="{{login_url}}">Log in</a>
|
2013-11-22 17:12:43 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2013-11-13 22:08:58 +01:00
|
|
|
{% if not_enterprise %}
|
2013-09-13 06:06:10 +02:00
|
|
|
<a href="{% url 'signup' %}">Sign up</a>
|
2013-11-22 17:12:43 +01:00
|
|
|
{% elif only_sso %}
|
|
|
|
<a href="{% url 'login-sso' %}">Log In</a>
|
2013-11-14 02:36:51 +01:00
|
|
|
{% else %}
|
2013-11-22 17:12:43 +01: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">
|
|
|
|
<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-08-18 19:32:51 +02:00
|
|
|
<li><a href="/hello">About</a></li>
|
2013-11-26 02:26:32 +01:00
|
|
|
{% if not_enterpise %}
|
2013-06-19 21:53:56 +02:00
|
|
|
<li><span class="little-bullet">·</span></li>
|
2013-06-19 21:15:01 +02:00
|
|
|
<li><a href="/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>
|
2013-11-13 23:31:59 +01: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>
|
2013-11-13 22:08:58 +01:00
|
|
|
{% if not_enterprise %}
|
2013-10-26 00:22:19 +02:00
|
|
|
<a href="{% url 'signup' %}">Sign up</a>
|
2013-11-13 22:08:58 +01:00
|
|
|
{% else %}
|
|
|
|
<a href="{% url 'register' %}">Sign up</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 %}
|