From b5b7fc99576eef59bced4e5c46bc665711a9919c Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Sat, 28 Oct 2023 13:23:58 +0000 Subject: [PATCH] billing: Use navbar used in login/help pages. --- templates/corporate/billing.html | 11 +---------- templates/corporate/upgrade.html | 2 -- templates/zerver/billing_nav.html | 9 --------- tools/linter_lib/custom_check.py | 1 - web/styles/portico/billing.css | 16 ++++------------ 5 files changed, 5 insertions(+), 34 deletions(-) delete mode 100644 templates/zerver/billing_nav.html diff --git a/templates/corporate/billing.html b/templates/corporate/billing.html index ac29e09db5..7d9bfffa61 100644 --- a/templates/corporate/billing.html +++ b/templates/corporate/billing.html @@ -5,19 +5,10 @@ {{ _("Billing") }} | Zulip {% endblock %} -{% block customhead %} - -{% endblock %} - -{% block content %} +{% block portico_content %}
- - {% include 'zerver/billing_nav.html' %} -
-
-
diff --git a/templates/corporate/upgrade.html b/templates/corporate/upgrade.html index 46ef7fe736..0853cdfbe4 100644 --- a/templates/corporate/upgrade.html +++ b/templates/corporate/upgrade.html @@ -13,8 +13,6 @@
- {% include 'zerver/billing_nav.html' %} -
diff --git a/templates/zerver/billing_nav.html b/templates/zerver/billing_nav.html deleted file mode 100644 index 0b80206e4c..0000000000 --- a/templates/zerver/billing_nav.html +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py index efbd0e2350..a9a53d69e5 100644 --- a/tools/linter_lib/custom_check.py +++ b/tools/linter_lib/custom_check.py @@ -695,7 +695,6 @@ html_rules: List["Rule"] = [ "web/templates/pm_list_item.hbs", # Inline styling for an svg; could be moved to CSS files? "templates/zerver/landing_nav.html", - "templates/zerver/billing_nav.html", "templates/corporate/features.html", "templates/zerver/portico-header.html", "templates/corporate/billing.html", diff --git a/web/styles/portico/billing.css b/web/styles/portico/billing.css index 16f1a51c45..3cf87b5274 100644 --- a/web/styles/portico/billing.css +++ b/web/styles/portico/billing.css @@ -7,22 +7,10 @@ background-color: hsl(0deg 0% 98%); height: 100vh; - .hero { - background-color: hsl(153deg 32% 55%); - color: hsl(153deg 32% 55%); - position: absolute; - top: 0; - width: 100%; - } - .page-content { padding: 100px 0 30px; } - .small-hero { - padding: 120px 50px 0; - } - .main { width: 800px; max-width: 90%; @@ -415,3 +403,7 @@ input[name="licenses"] { margin-left: 2px; margin-top: 5px; } + +.header.portico-header { + display: block; +}