Add an overlay that helps you with refreshing your cache.

This commit is contained in:
purple 2023-08-08 21:32:57 +02:00
parent 1eec603c7d
commit 70ad38c890
2 changed files with 32 additions and 0 deletions

View file

@ -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;

View file

@ -37,6 +37,33 @@
@show
</head>
<body class="hold-transition skin-blue fixed sidebar-mini">
<!-- Begin Blueprint cache-refresh requirement -->
<div id="cache-reminder" style="
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #33404D;
z-index: 99997;">
<div style="
background-color: #1F2933;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
z-index: 99998;">
<p style="color:#9AA5B1; padding-left:10px;"><b>Cache refresh required.</b></p>
</div>
<div style="margin-bottom: 60px"></div>
<p style="color:#fff; padding-left: 10px;">
Windows: <code style="background-color: #1F2933;color:#9AA5B1;padding: 5px;border-radius:5px;">CTRL + SHIFT + R</code> or <code style="background-color: #1F2933;color:#9AA5B1;padding: 5px;border-radius:5px;">CTRL + F5</code><br><br>
Linux: <code style="background-color: #1F2933;color:#9AA5B1;padding: 5px;border-radius:5px;">CTRL + SHIFT + R</code> or <code style="background-color: #1F2933;color:#9AA5B1;padding: 5px;border-radius:5px;">CTRL + F5</code><br><br>
MacOS: <code style="background-color: #1F2933;color:#9AA5B1;padding: 5px;border-radius:5px;">COMMAND + OPTION + R</code>
</p>
</div>
<!-- End Blueprint cache-refresh requirement -->
<div class="wrapper">
<header class="main-header">
<a href="{{ route('index') }}" class="logo">