mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-01-23 02:35:23 +00:00
Add "JS not working" error message
It is: * hidden by JS code executed as early as possible * not hidden by noscript tags, so that it is *not* shown when JavaScript is just no activated Fix https://github.com/PrivateBin/PrivateBin/issues/103
This commit is contained in:
parent
5d822af5b1
commit
7bbb273c1c
9 changed files with 36 additions and 14 deletions
15
css/noscript.css
Normal file
15
css/noscript.css
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/**
|
||||
* PrivateBin
|
||||
*
|
||||
* CSS file only loaded when no JavaScript available.
|
||||
*
|
||||
* @link https://github.com/PrivateBin/PrivateBin
|
||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
/* When there is no script at all other */
|
||||
.noscript-hide {
|
||||
display: none;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue