mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 04:12:02 +00:00
...rather than embedding them into index.html. This is only acceptable for dev, but the next commit adds an alternative mechanism for prod. There isn't actually a manual deployment step here. However, this commit won't work on staging / prod without the next one (since we don't serve zephyr/static/templates in prod). (imported from commit dce7ddfe89e07afc3a96699bb972fd124335aa05)
74 lines
2.8 KiB
HTML
74 lines
2.8 KiB
HTML
{% extends "zephyr/base.html" %}
|
|
|
|
{# The app itself. #}
|
|
{# Includes some other templates as tabs. #}
|
|
|
|
{% load compressed %}
|
|
|
|
{% block customhead %}
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
{% compressed_css 'app' %}
|
|
<link rel="stylesheet" href="/static/third/spectrum/spectrum.css" />
|
|
|
|
<script type="text/javascript" src="/static/third/jquery/jquery.form.js"></script>
|
|
<script type="text/javascript" src="/static/third/jquery/jquery.highlight.js"></script>
|
|
<script type="text/javascript" src="/static/third/jcaret/jquery.caret.1.02.min.js"></script>
|
|
<script type="text/javascript" src="/static/third/xdate/xdate.js"></script>
|
|
<script type="text/javascript" src="/static/third/handlebars/handlebars.js"></script>
|
|
<script type="text/javascript" src="/static/third/spin/spin.min.js"></script>
|
|
<script type="text/javascript" src="/static/third/jquery-mousewheel/jquery.mousewheel.js"></script>
|
|
<script type="text/javascript" src="/static/third/jquery-throttle-debounce/jquery.ba-throttle-debounce.min.js"></script>
|
|
<script type="text/javascript" src="/static/third/jquery.idle/jquery.idle.js"></script>
|
|
<script type="text/javascript" src="/static/third/jquery-autosize/jquery.autosize.js"></script>
|
|
<script type="text/javascript" src="/static/third/spectrum/spectrum.js"></script>
|
|
{% compressed_js 'app' %}
|
|
|
|
{% if debug %}
|
|
{% compressed_js 'app_debug' %}
|
|
{% endif %}
|
|
|
|
{# Insert parameters, which have been encoded with JSONEncoderForHTML. #}
|
|
<script type="text/javascript">
|
|
{% autoescape off %}
|
|
var page_params = {{ page_params }};
|
|
{% endautoescape %}
|
|
</script>
|
|
|
|
{% endblock %}
|
|
{% block content %}
|
|
<div class="container-fluid">
|
|
{% include "zephyr/navbar.html" %}
|
|
<div class="row-fluid">
|
|
<div class="span3 hidden-phone">
|
|
{% include "zephyr/left-sidebar.html" %}
|
|
</div><!--/left sidebar-->
|
|
<div class="span7 tab-content">
|
|
<div class="tab-pane active" id="home">
|
|
{% include "zephyr/home.html" %}
|
|
</div>
|
|
<div class="tab-pane" id="subscriptions">
|
|
{% include "zephyr/subscriptions.html" %}
|
|
</div>
|
|
<div class="tab-pane" id="settings">
|
|
{% include "zephyr/settings.html" %}
|
|
</div>
|
|
|
|
{% if show_debug %}
|
|
<div class="tab-pane" id="debug">
|
|
{% include "zephyr/debug.html" %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
</div><!--/tab-content-->
|
|
<div class="span2 hidden-phone">
|
|
{% include "zephyr/right-sidebar.html" %}
|
|
</div><!--/right sidebar-->
|
|
</div><!--/row-->
|
|
{% include "zephyr/keyboard_shortcuts.html" %}
|
|
{% include "zephyr/markdown_help.html" %}
|
|
{% include "zephyr/invite_user.html" %}
|
|
{% include "zephyr/logout.html" %}
|
|
</div>
|
|
{% endblock %}
|