2015-09-22 07:29:29 -07:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2015-09-30 19:58:23 -07:00
|
|
|
{% block page-title %}Snipt for Teams{% endblock %}
|
2015-09-22 07:29:29 -07:00
|
|
|
|
|
|
|
{% block body-class %}{{ block.super }} static signup pro pro-signup{% endblock %}
|
|
|
|
|
2015-09-30 21:16:01 -07:00
|
|
|
{% block js %}
|
|
|
|
{{ block.super }}
|
|
|
|
{% endblock %}
|
|
|
|
|
2015-09-22 07:29:29 -07:00
|
|
|
{% block breadcrumb %}
|
|
|
|
<li><a href="/for-teams/">Snipt for Teams</a></li>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2015-09-30 18:46:11 -07:00
|
|
|
{% if request.GET.declined %}
|
|
|
|
<div class="alert alert-error" style="margin: 30px;">
|
|
|
|
<strong>{{ request.GET.declined }}</strong> You have not been charged. Please try again.
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2015-09-22 07:29:29 -07:00
|
|
|
<form class="form-horizontal static-box" id="pro-signup" method="post" action="/for-teams/complete/">
|
|
|
|
<fieldset>
|
|
|
|
<div class="info">
|
|
|
|
Snipt for Teams
|
|
|
|
<ul class="features">
|
|
|
|
<li>Team profile at snipt.net/{team-name}.</li>
|
2015-10-28 10:37:34 -07:00
|
|
|
<li>Members can create and edit public and private snippets on a team.</li>
|
|
|
|
<li>Detailed log of changes on a snippet, including user and code diffs.</li>
|
|
|
|
<li>Maintain a public team profile by posting public snippets.</li>
|
2015-09-22 07:29:29 -07:00
|
|
|
</ul>
|
|
|
|
</div>
|
2015-10-03 09:27:54 -07:00
|
|
|
{% if not request.user.is_authenticated %}
|
2015-10-18 20:58:37 -07:00
|
|
|
<div class="login-first">
|
|
|
|
<span>
|
|
|
|
To create a team, <a href="/signup/?next=/for-teams/">sign up</a> or <a href="/login/?next=/for-teams/">log in</a>.
|
|
|
|
</span>
|
2015-10-03 09:27:54 -07:00
|
|
|
</div>
|
2015-10-18 20:58:37 -07:00
|
|
|
{% else %}
|
|
|
|
<div class="payment-form">
|
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label" for="team-name">Team name:</label>
|
|
|
|
<div class="controls">
|
|
|
|
<input maxlength="30" required type="text" class="input-xlarge" name="team-name" id="team-name" />
|
|
|
|
<p class="sub" style="margin-top: 3px; color: #999999;">
|
|
|
|
Maximum of 30 characters.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label" for="email">Team email:</label>
|
|
|
|
<div class="controls">
|
|
|
|
<input required type="email" class="input-xlarge" name="email" id="email" />
|
|
|
|
<p class="sub" style="margin-top: 3px; color: #999999;">
|
|
|
|
For billing and your team's Gravatar. Will remain private.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-10-03 09:27:54 -07:00
|
|
|
</div>
|
2015-10-18 20:58:37 -07:00
|
|
|
<div class="form-actions">
|
|
|
|
{% csrf_token %}
|
|
|
|
<button type="submit" class="btn btn-success">Create team »</button>
|
2015-10-03 09:27:54 -07:00
|
|
|
</div>
|
2015-10-18 20:58:37 -07:00
|
|
|
{% endif %}
|
2015-10-03 09:27:54 -07:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
2015-09-22 07:29:29 -07:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block analytics %}
|
|
|
|
{% if not debug %}
|
|
|
|
window.ll('tagScreen', 'Team beta signup view');
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|