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-05-16 21:24:11 +02:00
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="navbar navbar-inverse">
|
|
|
|
<div class="navbar-inner">
|
2013-05-21 22:57:01 +02:00
|
|
|
<div class="content">
|
2013-07-10 22:14:08 +02:00
|
|
|
<a class="brand" href="/">Zulip</a>
|
2013-05-21 22:57:01 +02:00
|
|
|
<ul class="nav pull-right">
|
|
|
|
<li><a href="/accounts/login/?next=/">Log in</a></li>
|
|
|
|
{# TODO: Can we make this more buttony? #}
|
|
|
|
<li><a href="{% url 'signup' %}">Sign up</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2013-05-16 21:24:11 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{# This lets people override things if they don't want a giant "Humbug" #}
|
|
|
|
{% block inner_content %}
|
|
|
|
<div class="row-fluid">
|
2013-05-21 22:57:01 +02:00
|
|
|
<div class="content">
|
|
|
|
<div id="portico-area" class="offset2 span10">
|
|
|
|
<div class="title">
|
2013-07-10 22:14:08 +02:00
|
|
|
<a class="title" href="/">Zulip</a>
|
2013-05-21 22:57:01 +02:00
|
|
|
<span class="for_you">{% block for_you %}{% endblock %}</span>
|
|
|
|
</div>
|
|
|
|
{% block portico_content %}
|
|
|
|
{% endblock %}
|
2013-05-16 21:24:11 +02:00
|
|
|
</div>
|
2012-09-25 22:58:59 +02:00
|
|
|
</div>
|
2013-05-16 21:24:11 +02:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
2013-06-19 21:15:01 +02:00
|
|
|
<div class="push"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="navbar footer">
|
|
|
|
<div class="content">
|
|
|
|
<ul class="nav pull-right">
|
2013-08-06 02:38:36 +02:00
|
|
|
<li>© 2013 Zulip, Inc.</li>
|
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-06-19 21:53:56 +02:00
|
|
|
<li>·</li>
|
2013-06-19 21:15:01 +02:00
|
|
|
<li><a href="/accounts/login/?next=/">Log in</a></li>
|
2013-06-19 21:53:56 +02:00
|
|
|
<li>·</li>
|
2013-06-19 21:15:01 +02:00
|
|
|
<li><a href="{% url 'signup' %}">Sign up</a></li>
|
2013-06-19 21:58:46 +02:00
|
|
|
{# We only want the mixpanel badge on the front page #}
|
|
|
|
{% block mixpanel_badge %}
|
|
|
|
{% endblock %}
|
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 %}
|