Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
portico_error_page: Apply `error` class to all the error pages.
Aman Agrawalc6c8e831f88e
diff --git a/templates/404.html b/templates/404.htmlindex b86d8f17531..88ef8a968fb 100644--- a/templates/404.html+++ b/templates/404.html@@ -4,8 +4,6 @@<title>{{ _("Error") }} | Zulip</title>{% endblock %}-{% block portico_class_name %}error{% endblock %}-{% block error_page_content %}<img src="{{ static('images/errors/400art.svg') }}" alt=""/><div class="errorbox">diff --git a/templates/4xx.html b/templates/4xx.htmlindex 2b921665da6..a5b8df23d6a 100644--- a/templates/4xx.html+++ b/templates/4xx.html@@ -4,8 +4,6 @@<title>{{ _("Error") }} | Zulip</title>{% endblock %}-{% block portico_class_name %}error{% endblock %}-{% block error_page_content %}<div class="errorbox"><div class="errorcontent">diff --git a/templates/500.html b/templates/500.htmlindex 1e101f9c741..cec4b27c40a 100644--- a/templates/500.html+++ b/templates/500.html@@ -9,8 +9,6 @@<meta http-equiv="refresh" content="60;URL='/'" />{% endblock %}-{% block portico_class_name %}error{% endblock %}-{% block error_page_content %}<img src="{{ static('images/errors/500art.svg') }}" alt=""/><div class="errorbox">diff --git a/templates/corporate/billing/remote_realm_login_error_for_server_on_active_plan.html b/templates/corporate/billing/remote_realm_login_error_for_server_on_active_plan.htmlindex fca4c97c3aa..16678d03092 100644--- a/templates/corporate/billing/remote_realm_login_error_for_server_on_active_plan.html+++ b/templates/corporate/billing/remote_realm_login_error_for_server_on_active_plan.html@@ -4,8 +4,6 @@<title>{{ _("Plan management not available") }} | Zulip</title>{% endblock %}-{% block portico_class_name %}error{% endblock %}-{% block error_page_content %}<img src="{{ static('images/errors/400art.svg') }}" alt=""/><div class="errorbox">diff --git a/templates/corporate/billing/remote_server_login_error_for_any_realm_on_active_plan.html b/templates/corporate/billing/remote_server_login_error_for_any_realm_on_active_plan.htmlindex e51d73309c5..9b44038b7da 100644--- a/templates/corporate/billing/remote_server_login_error_for_any_realm_on_active_plan.html+++ b/templates/corporate/billing/remote_server_login_error_for_any_realm_on_active_plan.html@@ -4,8 +4,6 @@<title>{{ _("Plan management not available") }} | Zulip</title>{% endblock %}-{% block portico_class_name %}error{% endblock %}-{% block error_page_content %}<img src="{{ static('images/errors/400art.svg') }}" alt=""/><div class="errorbox">diff --git a/templates/zerver/portico_error_page.html b/templates/zerver/portico_error_page.htmlindex 72b6bc59b5d..054559f2504 100644--- a/templates/zerver/portico_error_page.html+++ b/templates/zerver/portico_error_page.html@@ -1,5 +1,7 @@{% extends "zerver/portico.html" %}+{% block portico_class_name %}error{% endblock %}+{% block portico_content %}<div class="error_page">{% block error_page_content %}diff --git a/templates/zerver/remote_realm_server_mismatch_error.html b/templates/zerver/remote_realm_server_mismatch_error.htmlindex 065d8da60da..20ee178ad6a 100644--- a/templates/zerver/remote_realm_server_mismatch_error.html+++ b/templates/zerver/remote_realm_server_mismatch_error.html@@ -4,8 +4,6 @@<title>{{ _("Error") }} | Zulip</title>{% endblock %}-{% block portico_class_name %}error{% endblock %}-{% block error_page_content %}<img src="{{ static('images/errors/400art.svg') }}" alt=""/><div class="errorbox">diff --git a/web/styles/portico/portico.css b/web/styles/portico/portico.cssindex 859593f9d7c..72d0d1a88b6 100644--- a/web/styles/portico/portico.css+++ b/web/styles/portico/portico.css@@ -1016,6 +1016,7 @@ input.new-organization-button {.error_page {min-height: calc(100vh - var(--height-footer));+ padding: 20px 10px 50px;height: 100%;background-color: hsl(163deg 42% 85%);font-family: "Source Sans 3 VF", sans-serif;