From 70ad38c8903b8883786fa224dba700a711f22fcb Mon Sep 17 00:00:00 2001 From: purple Date: Tue, 8 Aug 2023 21:32:57 +0200 Subject: [PATCH] Add an overlay that helps you with refreshing your cache. --- .../extensions/blueprint/blueprint.style.css | 5 ++++ resources/views/layouts/admin.blade.php | 27 +++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/public/assets/extensions/blueprint/blueprint.style.css b/public/assets/extensions/blueprint/blueprint.style.css index 2d22445..d91765b 100644 --- a/public/assets/extensions/blueprint/blueprint.style.css +++ b/public/assets/extensions/blueprint/blueprint.style.css @@ -7,6 +7,11 @@ 100% {right:-300px;top:62px;opacity:0;background-color: #2a3743;} } +/* hides admin cache reminder once this css file is loaded */ +#cache-reminder { + display: none; +} + .notification { opacity:0; position:fixed; diff --git a/resources/views/layouts/admin.blade.php b/resources/views/layouts/admin.blade.php index 684a026..4afedf9 100644 --- a/resources/views/layouts/admin.blade.php +++ b/resources/views/layouts/admin.blade.php @@ -37,6 +37,33 @@ @show + +
+
+

Cache refresh required.

+
+
+

+ Windows: CTRL + SHIFT + R or CTRL + F5

+ Linux: CTRL + SHIFT + R or CTRL + F5

+ MacOS: COMMAND + OPTION + R +

+
+