From f273229b01d0761a69c21b7ef71be3e2f46c2a7e Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Fri, 10 Nov 2023 12:47:56 +0000 Subject: [PATCH] upgrade: Add payment button and info style with fake text. --- templates/corporate/upgrade.html | 32 +++++++++++++++----------------- web/styles/portico/billing.css | 17 +++++++++++++++++ 2 files changed, 32 insertions(+), 17 deletions(-) diff --git a/templates/corporate/upgrade.html b/templates/corporate/upgrade.html index 970e63c8a1..578d838537 100644 --- a/templates/corporate/upgrade.html +++ b/templates/corporate/upgrade.html @@ -53,7 +53,7 @@

Zulip Cloud Standard free trial

{% endif %} -
+
{% if free_trial_days %}

@@ -68,6 +68,15 @@

+
+ +
+ $6.67 x 10 users x 1 month + +

$66.70

+
+
+ {% if not manual_license_management %}

@@ -107,27 +116,16 @@

{% endif %} -
-
-
- -
-
-
- Redirecting to Stripe Checkout... -
diff --git a/web/styles/portico/billing.css b/web/styles/portico/billing.css index bd06c03ded..16d8463415 100644 --- a/web/styles/portico/billing.css +++ b/web/styles/portico/billing.css @@ -475,6 +475,23 @@ input[name="licenses"] { background-color: hsl(0deg 70% 40%); } +#org-upgrade-button, +#upgrade-add-card-button { + margin: 0; + width: 100%; +} + +#org-upgrade-button { + &:disabled, + .permanent-disabled { + color: hsl(0deg 0% 80%); + + &:hover { + cursor: not-allowed; + } + } +} + #billing-page-details .user-stripe-card-update .user-stripe-card-update-button { margin: 0; }