2012-09-24 17:17:41 +02:00
|
|
|
{% extends "zephyr/base.html" %}
|
|
|
|
|
2012-10-16 06:03:29 +02:00
|
|
|
{# The app itself. #}
|
|
|
|
{# Includes some other templates as tabs. #}
|
2012-11-02 16:59:54 +01:00
|
|
|
|
2013-01-30 23:11:34 +01:00
|
|
|
{% load compressed %}
|
Reuse minified JS from previous deploys
This is a big change affecting lots of areas:
* Pipeline no longer deals with JS (though it still minifies CSS)
* A new script, tools/minify-js (called from update-prod-static),
minifies JavaScripts
* A command-line argument --prev-deploy, if passed to minify-js or
update-prod-static, is used to copy minified JS from a previous
deploy (i.e., a previous git checkout), if the source files have
not changed
* update-deployment passes --prev-deploy
* Scripts are now included with the minified_js template tag, rather
than Pipeline's compressed_js
Also, as a side benefit of this commit, our Handlebars templates will
no longer be copied into prod-static/ and accessible in production.
Unminification is probably broken, but, per Zev and Trac ticket #1377,
it wasn't working perfectly before this change either.
(Based on code review, this commit has been revised to:
* Warn if git returns an error in minify-js
* Add missing output redirects in update-prod-static
* Use DEPLOY_ROOT instead of manually constructing that directory
* Use old style formatting)
(imported from commit e67722ea252756db8519d5c0bd6a421d59374185)
2013-07-03 22:42:25 +02:00
|
|
|
{% load minified_js %}
|
2012-09-06 21:13:15 +02:00
|
|
|
|
2013-05-16 22:42:28 +02:00
|
|
|
{% block page_params %}
|
|
|
|
{# Insert parameters, which have been encoded with JSONEncoderForHTML. #}
|
|
|
|
<script type="text/javascript">
|
|
|
|
{% autoescape off %}
|
|
|
|
var page_params = {{ page_params }};
|
|
|
|
{% endautoescape %}
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|
|
|
|
|
2012-09-24 17:17:41 +02:00
|
|
|
{% block customhead %}
|
2012-10-17 19:52:57 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2012-10-18 20:23:57 +02:00
|
|
|
|
2013-07-01 20:13:26 +02:00
|
|
|
{% if nofontface %}
|
|
|
|
{# We can't use @font-face on qtwebkit, so use differently minified CSS #}
|
|
|
|
{% compressed_css 'app-fontcompat' %}
|
|
|
|
{% else %}
|
2013-01-30 23:11:34 +01:00
|
|
|
{% compressed_css 'app' %}
|
2013-07-01 20:13:26 +02:00
|
|
|
{% endif %}
|
Reuse minified JS from previous deploys
This is a big change affecting lots of areas:
* Pipeline no longer deals with JS (though it still minifies CSS)
* A new script, tools/minify-js (called from update-prod-static),
minifies JavaScripts
* A command-line argument --prev-deploy, if passed to minify-js or
update-prod-static, is used to copy minified JS from a previous
deploy (i.e., a previous git checkout), if the source files have
not changed
* update-deployment passes --prev-deploy
* Scripts are now included with the minified_js template tag, rather
than Pipeline's compressed_js
Also, as a side benefit of this commit, our Handlebars templates will
no longer be copied into prod-static/ and accessible in production.
Unminification is probably broken, but, per Zev and Trac ticket #1377,
it wasn't working perfectly before this change either.
(Based on code review, this commit has been revised to:
* Warn if git returns an error in minify-js
* Add missing output redirects in update-prod-static
* Use DEPLOY_ROOT instead of manually constructing that directory
* Use old style formatting)
(imported from commit e67722ea252756db8519d5c0bd6a421d59374185)
2013-07-03 22:42:25 +02:00
|
|
|
{% minified_js 'app' %}
|
2013-05-14 23:14:20 +02:00
|
|
|
|
|
|
|
{% if debug %}
|
Reuse minified JS from previous deploys
This is a big change affecting lots of areas:
* Pipeline no longer deals with JS (though it still minifies CSS)
* A new script, tools/minify-js (called from update-prod-static),
minifies JavaScripts
* A command-line argument --prev-deploy, if passed to minify-js or
update-prod-static, is used to copy minified JS from a previous
deploy (i.e., a previous git checkout), if the source files have
not changed
* update-deployment passes --prev-deploy
* Scripts are now included with the minified_js template tag, rather
than Pipeline's compressed_js
Also, as a side benefit of this commit, our Handlebars templates will
no longer be copied into prod-static/ and accessible in production.
Unminification is probably broken, but, per Zev and Trac ticket #1377,
it wasn't working perfectly before this change either.
(Based on code review, this commit has been revised to:
* Warn if git returns an error in minify-js
* Add missing output redirects in update-prod-static
* Use DEPLOY_ROOT instead of manually constructing that directory
* Use old style formatting)
(imported from commit e67722ea252756db8519d5c0bd6a421d59374185)
2013-07-03 22:42:25 +02:00
|
|
|
{% minified_js 'app_debug' %}
|
2013-05-14 23:14:20 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2012-09-24 17:17:41 +02:00
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
2013-06-27 20:32:08 +02:00
|
|
|
<div id="top-screen" class="screen"></div>
|
|
|
|
<div id="bottom-screen" class="screen"></div>
|
|
|
|
<div id="left-screen" class="screen"></div>
|
|
|
|
<div id="right-screen" class="screen"></div>
|
|
|
|
<div id="clear-screen" class="screen"></div>
|
|
|
|
|
2013-02-28 19:04:58 +01:00
|
|
|
<div class="container-fluid">
|
2013-01-31 22:32:29 +01:00
|
|
|
{% include "zephyr/navbar.html" %}
|
2013-02-28 19:04:58 +01:00
|
|
|
<div class="row-fluid">
|
2013-06-12 15:50:20 +02:00
|
|
|
<div class="span2 hidden-phone">
|
2013-02-28 18:57:05 +01:00
|
|
|
{% include "zephyr/left-sidebar.html" %}
|
2013-02-21 03:49:18 +01:00
|
|
|
</div><!--/left sidebar-->
|
2013-06-12 15:50:20 +02:00
|
|
|
<div class="span8 tab-content">
|
2012-09-17 20:59:26 +02:00
|
|
|
<div class="tab-pane active" id="home">
|
|
|
|
{% include "zephyr/home.html" %}
|
2012-09-11 21:33:24 +02:00
|
|
|
</div>
|
2012-10-03 22:21:17 +02:00
|
|
|
<div class="tab-pane" id="subscriptions">
|
2012-09-17 20:59:26 +02:00
|
|
|
{% include "zephyr/subscriptions.html" %}
|
2012-09-10 20:31:53 +02:00
|
|
|
</div>
|
2012-10-03 22:21:17 +02:00
|
|
|
<div class="tab-pane" id="settings">
|
2012-09-21 17:28:18 +02:00
|
|
|
{% include "zephyr/settings.html" %}
|
2012-09-17 20:59:26 +02:00
|
|
|
</div>
|
2012-09-26 00:26:35 +02:00
|
|
|
|
|
|
|
{% if show_debug %}
|
2012-10-03 22:21:17 +02:00
|
|
|
<div class="tab-pane" id="debug">
|
2012-09-26 00:26:35 +02:00
|
|
|
{% include "zephyr/debug.html" %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2012-09-17 20:59:26 +02:00
|
|
|
</div><!--/tab-content-->
|
2013-02-28 19:04:58 +01:00
|
|
|
<div class="span2 hidden-phone">
|
2013-02-28 18:57:05 +01:00
|
|
|
{% include "zephyr/right-sidebar.html" %}
|
2013-02-21 03:49:18 +01:00
|
|
|
</div><!--/right sidebar-->
|
2012-09-14 21:27:12 +02:00
|
|
|
</div><!--/row-->
|
2012-10-24 22:53:19 +02:00
|
|
|
{% include "zephyr/keyboard_shortcuts.html" %}
|
2012-11-02 22:29:13 +01:00
|
|
|
{% include "zephyr/markdown_help.html" %}
|
2012-12-05 22:48:15 +01:00
|
|
|
{% include "zephyr/invite_user.html" %}
|
2013-06-19 16:27:55 +02:00
|
|
|
{% include "zephyr/bankruptcy.html" %}
|
2013-03-05 23:45:02 +01:00
|
|
|
{% include "zephyr/logout.html" %}
|
2013-06-27 22:18:28 +02:00
|
|
|
{% include "zephyr/tutorial_finale.html" %}
|
2013-06-19 01:41:27 +02:00
|
|
|
<div class='notifications top-right'></div>
|
2013-02-28 19:04:58 +01:00
|
|
|
</div>
|
2012-08-28 18:44:51 +02:00
|
|
|
{% endblock %}
|