From 0fb7cc186c0ba7262a6cd1404d6aa1c812b7f529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Wilczy=C5=84ski?= Date: Mon, 9 Nov 2020 17:15:22 +0900 Subject: [PATCH] gui: Add warning when JavaScript is disabled in Web browser (fixes #7099) (#7102) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When using a Web browser with JavaScript either disabled or unavailable, show a warning to let the user know that the Web GUI requires JS in order to operate. To achieve this, add a
that wraps both the navbar and the main content, and then move the CSS class ng-cloak from the element to that
. This way, only the JavaScript-dependent part is hidden when JS is unavailable, and not the whole website, as it is the case right now. Then, add a