Improvements to Pro/Teams signup forms.
parent
3266bfd3f6
commit
fc2b5c424d
File diff suppressed because one or more lines are too long
|
@ -3123,3 +3123,8 @@ div.team-controller {
|
|||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
div.payment-form {
|
||||
margin: 0 auto;
|
||||
width: 86%;
|
||||
}
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
</span>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="payment-form">
|
||||
<div class="payment-loading -teams"><span>Please wait…</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 »</button>
|
||||
|
|
|
@ -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 »</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…</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 »</button>
|
||||
|
|
Loading…
Reference in New Issue