diff options
Diffstat (limited to 'pages/home.inc')
-rw-r--r-- | pages/home.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pages/home.inc b/pages/home.inc index e9a5426..62474d3 100644 --- a/pages/home.inc +++ b/pages/home.inc @@ -71,6 +71,11 @@ function members() { global $isLoggedIn; global $isLowerLoggedIn; global $app; ? </div> <?php endif; ?> + <div class="alert alert-warning alert-dismissible" id="gpuWarning" style="display: none;"> + <button onclick='window.history.pushState({"html":null,"pageTitle":document.title},"", "/");' type="button" class="btn-close" data-bs-dismiss="alert"></button> + <b>GPU acceleration is turned off or not supported.</b> A lot of visual effects on this website rely on GPU acceleration, which is currently disabled on your browser, meaning the website's overall look will be affected. Please enable GPU acceleration in your browser settings. + </div> + <?php if ($readOnly && $isNormallyLoggedIn || $readOnly && $isLowerLoggedIn): ?> <div class="alert alert-warning"> <b>Notice: </b>This website is temporarily under maintenance and the administrators have locked the database. Although you are logged in as <?= $_PROFILE['name'] ?>, you cannot access any of the logged-in features while the website is under maintenance. <a href="/-/emergency">Alerts dispatching</a> remains possible in case of an emergency. |