mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-07 16:12:30 -06:00
Display warning when Javascript is disabled
This commit is contained in:
8
src/webui/www/private/css/noscript.css
Normal file
8
src/webui/www/private/css/noscript.css
Normal file
@@ -0,0 +1,8 @@
|
||||
#desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#noscript {
|
||||
color: #f00;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -13,6 +13,9 @@
|
||||
<link rel="stylesheet" type="text/css" href="css/Layout.css?v=${VERSION}" />
|
||||
<link rel="stylesheet" type="text/css" href="css/Window.css?v=${VERSION}" />
|
||||
<link rel="stylesheet" type="text/css" href="css/Tabs.css?v=${VERSION}" />
|
||||
<noscript>
|
||||
<link rel="stylesheet" type="text/css" href="css/noscript.css?v=${VERSION}" />
|
||||
</noscript>
|
||||
<script src="scripts/lib/mootools-1.2-core-yc.js"></script>
|
||||
<script src="scripts/lib/mootools-1.2-more.js"></script>
|
||||
<script src="scripts/lib/mocha-0.9.6-yc.js"></script>
|
||||
@@ -26,6 +29,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="desktop">
|
||||
<div id="desktopHeader">
|
||||
<!--<div id="desktopTitlebar">
|
||||
|
||||
Reference in New Issue
Block a user