2013-07-29 23:03:31 +02:00
|
|
|
{% extends "zerver/portico.html" %}
|
2013-05-17 21:45:37 +02: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 %}
|
2013-05-16 21:24:11 +02:00
|
|
|
|
2013-05-17 21:45:37 +02:00
|
|
|
{% block customhead %}
|
|
|
|
{% compressed_css 'portico' %}
|
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 'landing-page' %}
|
2013-05-17 21:45:37 +02:00
|
|
|
{% endblock %}
|
2013-05-16 21:24:11 +02:00
|
|
|
|
2013-09-13 06:06:10 +02:00
|
|
|
{% block portico_content %}
|
|
|
|
<div class="signup-header">
|
2013-05-21 22:57:01 +02:00
|
|
|
<h1>Sign up now!</h1>
|
2013-09-13 06:06:10 +02:00
|
|
|
<h4>Zulip is currently in closed beta,<br>but we're constantly
|
2013-05-21 22:57:01 +02:00
|
|
|
adding new beta customer sites.</h4>
|
|
|
|
</div>
|
2013-05-16 21:24:11 +02:00
|
|
|
|
2013-09-13 06:06:10 +02:00
|
|
|
<div class="signup-envelope-area">
|
2013-06-10 22:14:20 +02:00
|
|
|
<div id="success" class="alert alert-hidden alert-success alert-block">
|
2013-05-21 22:57:01 +02:00
|
|
|
<h4>Success!</h4>
|
|
|
|
Thank you for your interest. We'll be in touch soon.
|
|
|
|
While you wait, check out some of our <a href="/features">features</a>!
|
|
|
|
</div>
|
2013-05-17 21:45:37 +02:00
|
|
|
|
2013-06-10 22:14:20 +02:00
|
|
|
<div id="error" class="alert alert-hidden alert-error alert-block">
|
2013-05-21 22:57:01 +02:00
|
|
|
<h4>Ruh-roh!</h4>
|
2013-07-11 16:45:53 +02:00
|
|
|
Hmmm, something went wrong. Please send email to <a href="mailto:support@zulip.com">support@zulip.com</a>.
|
2013-05-21 22:57:01 +02:00
|
|
|
</div>
|
2013-05-17 21:45:37 +02:00
|
|
|
|
2013-06-10 22:14:20 +02:00
|
|
|
<div id="error-missing-email" class="alert alert-hidden alert-error alert-block">
|
2013-05-21 22:57:01 +02:00
|
|
|
<h4>Your email is required!</h4>
|
|
|
|
How else would we be able to reach you?
|
|
|
|
</div>
|
2013-05-17 21:45:37 +02:00
|
|
|
|
2013-05-21 22:57:01 +02:00
|
|
|
<div class="postal-envelope">
|
2013-09-13 06:06:10 +02:00
|
|
|
<div class="paravion"></div>
|
|
|
|
<div class="stamp">
|
|
|
|
<div class="date">{% now "b d" %}<br />{% now "Y" %}</div>
|
2013-05-22 04:29:51 +02:00
|
|
|
</div>
|
2013-05-21 22:57:01 +02:00
|
|
|
<form method="post" class="letter-form" id="beta-user-form" action="{% url 'beta-signup-submission' %}">
|
|
|
|
{% csrf_token %}
|
2013-05-22 04:29:51 +02:00
|
|
|
<p> </p>
|
2013-09-13 06:06:10 +02:00
|
|
|
<p>Hello Zukeepers,</p>
|
2013-05-17 21:45:37 +02:00
|
|
|
|
2013-05-21 22:57:01 +02:00
|
|
|
<p>My name is <input class="input-medium" type="text"
|
2013-09-13 06:06:10 +02:00
|
|
|
id="name" name="name" placeholder="Wolfgang A. Mozart" /><span class="punc">,</span> and
|
2013-05-21 22:57:01 +02:00
|
|
|
you can email me at <input class="input-large" type="email"
|
|
|
|
id="email" name="email"
|
2013-11-18 22:57:55 +01:00
|
|
|
placeholder="w.a.mozart@magicflute.com" /><span class="punc">.</span></p>
|
2013-05-17 21:45:37 +02:00
|
|
|
|
|
|
|
|
2013-05-22 00:19:02 +02:00
|
|
|
<p>I work at <input class="input-large" type="text"
|
2013-09-13 06:06:10 +02:00
|
|
|
name="company" id="company" placeholder="Salzburg Court" /><span class="punc">,</span>
|
|
|
|
and I wanted to try Zulip. <span class="signup-section">There are
|
2013-05-17 21:45:37 +02:00
|
|
|
about <input class="input-mini" type="text" id="count"
|
2013-05-22 00:19:02 +02:00
|
|
|
name="count" placeholder="10" /> of us, and today we use
|
2013-11-05 01:56:48 +01:00
|
|
|
<input class="input-medium" type="text" id="product"
|
2013-11-18 22:57:55 +01:00
|
|
|
name="product" placeholder="IRC" /> to chat.</span></p>
|
2013-05-17 21:45:37 +02:00
|
|
|
|
2013-09-13 06:06:10 +02:00
|
|
|
<div class="signup-signature">
|
|
|
|
<p>I'm looking forward to it!</p>
|
|
|
|
<button type="submit" id="beta-signup" class="btn btn-large btn-info">Sign up</button>
|
|
|
|
</div>
|
2013-05-21 22:57:01 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
2013-05-17 21:45:37 +02:00
|
|
|
</div>
|
2013-09-13 06:06:10 +02:00
|
|
|
<div class="signup-page-bottom">
|
2013-07-10 22:14:08 +02:00
|
|
|
Does your company already use Zulip? <a href="{% url 'register' %}">Register your account here</a>.
|
2013-09-13 06:06:10 +02:00
|
|
|
</div>
|
2013-11-05 01:56:48 +01:00
|
|
|
{% endblock %}
|