From 66e0d9f357e1537259549f7181aadcfc18d1f1b8 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 22 Apr 2019 01:17:19 -0400 Subject: [PATCH] Improve styling of the template debug view Signed-off-by: Roberto Rosario --- HISTORY.rst | 3 ++- docs/releases/3.2.rst | 1 + mayan/apps/appearance/static/appearance/css/base.css | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 148400367c..74004b3a43 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -103,7 +103,8 @@ * Add user created and user edited events. * Add group created and group edited events. * Add support for SourceColumn widgets. - +* Improve styling of the template debug view. + 3.1.11 (2019-04-XX) =================== * Fix multiple tag selection wizard step. diff --git a/docs/releases/3.2.rst b/docs/releases/3.2.rst index feb3b89caf..d9778bceba 100644 --- a/docs/releases/3.2.rst +++ b/docs/releases/3.2.rst @@ -135,6 +135,7 @@ Other changes * Add user created and user edited events. * Add group created and group edited events. * Add support for SourceColumn widgets. +* Improve styling of the template debug view. Removals -------- diff --git a/mayan/apps/appearance/static/appearance/css/base.css b/mayan/apps/appearance/static/appearance/css/base.css index c188db0826..fe093092fe 100644 --- a/mayan/apps/appearance/static/appearance/css/base.css +++ b/mayan/apps/appearance/static/appearance/css/base.css @@ -335,6 +335,14 @@ a i { } } +/* Imitate the default look of Django's debug template */ +.pre-server-error { + background-color:#ffe7ae; + color: black; + font-size: 110%; + font-weight: bold; +} + /* * Main content */