Improvements to Pro/Teams signup forms.

master
Nick Sergeant 2015-10-18 23:58:37 -04:00
parent 3266bfd3f6
commit fc2b5c424d
4 changed files with 174 additions and 161 deletions

File diff suppressed because one or more lines are too long

View File

@ -3123,3 +3123,8 @@ div.team-controller {
margin: 0;
}
}
div.payment-form {
margin: 0 auto;
width: 86%;
}

View File

@ -47,6 +47,7 @@
</span>
</div>
{% else %}
<div class="payment-form">
<div class="payment-loading -teams"><span>Please wait&hellip;</span></div>
<div class="payment-errors alert alert-error"></div>
<div class="control-group">
@ -135,6 +136,7 @@
<input type="text" class="input-min span1" id="cvc">
</div>
</div>
</div>
<div class="form-actions">
{% csrf_token %}
<button type="submit" class="btn btn-success">Create team &raquo;</button>

View File

@ -49,11 +49,16 @@
{% elif request.user.profile.has_pro %}
<div class="login-first">
<span>
{% if request.user.profile.is_pro %}
You're already a <span class="pro">Pro</span>.
<a style="display: block; margin-top: 15px;" href="/account/billing/">View details &raquo;</a>
{% else %}
<p style="line-height: 26px;">You're a member of a team, and all team members automatically have <span class="pro">Pro</span> access.</p>
{% endif %}
</span>
</div>
{% else %}
<div class="payment-form">
<div class="payment-loading"><span>Please wait&hellip;</span></div>
<div class="payment-errors alert alert-error"></div>
<div class="control-group">
@ -115,6 +120,7 @@
<input type="text" class="input-min span1" id="cvc">
</div>
</div>
</div>
<div class="form-actions">
{% csrf_token %}
<button type="submit" class="btn btn-success">Subscribe &raquo;</button>