upgrade: Improve styles for onboarding free trial orgs.

This commit is contained in:
Aman Agrawal 2023-11-11 09:08:02 +00:00 committed by Tim Abbott
parent a04204e47d
commit 2ffae56efa
2 changed files with 10 additions and 4 deletions

View File

@ -9,7 +9,13 @@
<div id="upgrade-page" class="register-account flex full-page"> <div id="upgrade-page" class="register-account flex full-page">
<div class="center-block new-style"> <div class="center-block new-style">
<div class="pitch"> <div class="pitch">
<h1>Upgrade {{ realm.name }} to {{ plan }}</h1> <h1>Upgrade {{ realm.name }} to
{% if free_trial_days %}
Zulip Cloud Standard free trial
{% else %}
{{ plan }}
{% endif %}
</h1>
</div> </div>
<div class="white-box"> <div class="white-box">
<div id="upgrade-page-details"> <div id="upgrade-page-details">
@ -40,9 +46,8 @@
<input type="hidden" name="onboarding" value="true" /> <input type="hidden" name="onboarding" value="true" />
{% endif %} {% endif %}
{% if onboarding and free_trial_days %} {% if onboarding and free_trial_days %}
<p><b>Not ready to start your trial?</b> <a href="/">Continue with the Zulip Cloud Free plan</a>.</p> <p id="onboarding-free-trial-not-ready" class="not-editable-realm-field"><b>Not ready to start your trial?</b> <a href="/">Continue with the Zulip Cloud Free plan</a>.</p>
<hr/> <hr/>
<h2>Zulip Cloud Standard free trial</h2>
{% endif %} {% endif %}
<div class="input-box upgrade-page-field no-validation"> <div class="input-box upgrade-page-field no-validation">
{% if free_trial_days %} {% if free_trial_days %}

View File

@ -534,6 +534,7 @@ input[name="licenses"] {
} }
} }
#upgrade-page-details #onboarding-free-trial-not-ready,
#onboarding-go-to-org .not-editable-realm-field, #onboarding-go-to-org .not-editable-realm-field,
#free-trial-top-banner .not-editable-realm-field, #free-trial-top-banner .not-editable-realm-field,
#upgrade-page-details .license-management-section .not-editable-realm-field { #upgrade-page-details .license-management-section .not-editable-realm-field {