2013-05-16 21:24:11 +02:00
|
|
|
{% extends "zephyr/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-05-17 21:45:37 +02:00
|
|
|
{% block inner_content %}
|
|
|
|
<div class="row-fluid shaded-background landing-page">
|
2013-05-21 22:57:01 +02:00
|
|
|
<div class="content">
|
|
|
|
<div class="span12 main-headline">
|
|
|
|
<h1>Sign up now!</h1>
|
|
|
|
<h4>Humbug is currently in closed beta, but we're constantly
|
|
|
|
adding new beta customer sites.</h4>
|
|
|
|
</div>
|
2013-05-16 21:24:11 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-05-17 21:45:37 +02:00
|
|
|
<div class="row-fluid shaded-background landing-page-bottom">
|
2013-05-21 22:57:01 +02:00
|
|
|
<div class="content">
|
|
|
|
<div class="span6 offset3" id="envelope-holder">
|
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>
|
|
|
|
Hmmm, something went wrong. Please send email to <a href="mailto:support@humbughq.com">support@humbughq.com</a>.
|
|
|
|
</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">
|
|
|
|
<div class="postal-stripes"></div>
|
2013-05-22 04:29:51 +02:00
|
|
|
<div class="stamp pull-right">
|
|
|
|
<div class="date">{% now "b j" %}<br />{% now "Y" %}</div>
|
|
|
|
</div>
|
2013-05-21 22:57:01 +02:00
|
|
|
<span class="par-avion">PAR COURRIER ELECTRONIQUE</span>
|
|
|
|
<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-05-21 22:57:01 +02:00
|
|
|
<p>Hi Humbugs,</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"
|
|
|
|
id="name" name="name" placeholder="Wolfgang A. Mozart" />, and
|
|
|
|
you can email me at <input class="input-large" type="email"
|
|
|
|
id="email" name="email"
|
|
|
|
placeholder="w.a.mozart@magicflute.com" />.
|
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-05-17 21:45:37 +02:00
|
|
|
name="company" id="company" placeholder="Salzburg Court" />,
|
2013-05-22 00:19:02 +02:00
|
|
|
and I wanted to try Humbug. 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-05-17 21:45:37 +02:00
|
|
|
<input class="input-small" type="text" id="product"
|
2013-05-22 00:19:02 +02:00
|
|
|
name="product" placeholder="IRC" /> to chat.</p>
|
2013-05-17 21:45:37 +02:00
|
|
|
|
2013-05-21 22:57:01 +02:00
|
|
|
<p>I'm looking forward to it!</p>
|
2013-05-17 21:45:37 +02:00
|
|
|
|
2013-05-21 22:57:01 +02:00
|
|
|
<button type="submit" id="beta-signup" class="btn btn-large btn-info">Sign up</button>
|
|
|
|
</form>
|
|
|
|
<div class="postal-stripes"></div>
|
|
|
|
</div>
|
2013-05-17 21:45:37 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-05-19 22:50:22 +02:00
|
|
|
|
|
|
|
<div class="row-fluid shaded-background landing-page-bottom">
|
2013-05-21 22:57:01 +02:00
|
|
|
<div class="content">
|
|
|
|
<div class="span6 offset3 muted">
|
|
|
|
Does your company already use Humbug? <a href="{% url 'register' %}">Register your account here</a>.
|
|
|
|
</div>
|
2013-05-19 22:50:22 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-05-16 21:24:11 +02:00
|
|
|
{% endblock %}
|