mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 17:12:31 -06:00
Display warning when Javascript is disabled
This commit is contained in:
8
src/webui/www/public/css/noscript.css
Normal file
8
src/webui/www/public/css/noscript.css
Normal file
@@ -0,0 +1,8 @@
|
||||
#formplace {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#noscript {
|
||||
color: #f00;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -6,6 +6,9 @@
|
||||
<title>qBittorrent QBT_TR(Web UI)QBT_TR[CONTEXT=OptionsDialog]</title>
|
||||
<link rel="icon" type="image/png" href="images/skin/qbittorrent32.png" />
|
||||
<link rel="stylesheet" type="text/css" href="css/login.css?v=${VERSION}" />
|
||||
<noscript>
|
||||
<link rel="stylesheet" type="text/css" href="css/noscript.css?v=${VERSION}" />
|
||||
</noscript>
|
||||
<script>
|
||||
'use strict';
|
||||
|
||||
@@ -50,6 +53,9 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript id="noscript">
|
||||
<h1>QBT_TR(JavaScript Required! You must enable JavaScript for the Web UI to work properly)QBT_TR[CONTEXT=HttpServer]</h1>
|
||||
</noscript>
|
||||
<div id="main">
|
||||
<h1>qBittorrent QBT_TR(Web UI)QBT_TR[CONTEXT=OptionsDialog]</h1>
|
||||
<div id="logo" class="col">
|
||||
|
||||
Reference in New Issue
Block a user