WebUI: prefer arrow functions whenever applicable
[qBittorrent.git] / src / webui / www / public / index.html
bloba4dbc540a7ca3b857fddc960c5103bbdba0f6c0e
1 <!DOCTYPE html>
2 <html lang="${LANG}">
4 <head>
5 <meta charset="UTF-8">
6 <meta name="color-scheme" content="light dark">
7 <meta name="description" content="qBittorrent WebUI">
8 <meta name="viewport" content="width=device-width, initial-scale=1.0">
10 <title>QBT_TR(qBittorrent WebUI)QBT_TR[CONTEXT=Login]</title>
12 <link rel="icon" type="image/png" href="images/qbittorrent32.png">
13 <link rel="icon" type="image/svg+xml" href="images/qbittorrent-tray.svg">
14 <link rel="stylesheet" type="text/css" href="css/login.css?v=${CACHEID}">
15 <noscript>
16 <link rel="stylesheet" type="text/css" href="css/noscript.css?v=${CACHEID}">
17 </noscript>
19 <script defer src="scripts/login.js?locale=${LANG}&v=${CACHEID}"></script>
20 </head>
22 <body>
23 <noscript id="noscript">
24 <h1>QBT_TR(JavaScript Required! You must enable JavaScript for the WebUI to work properly)QBT_TR[CONTEXT=Login]</h1>
25 </noscript>
26 <div id="main">
27 <h1>QBT_TR(qBittorrent WebUI)QBT_TR[CONTEXT=Login]</h1>
28 <div id="logo" class="col">
29 <img src="images/qbittorrent-tray.svg" alt="qBittorrent logo">
30 </div>
31 <div id="formplace" class="col">
32 <form id="loginform">
33 <div class="row">
34 <label for="username">QBT_TR(Username)QBT_TR[CONTEXT=Login]</label><br>
35 <input type="text" id="username" name="username" autocomplete="username" autofocus required>
36 </div>
37 <div class="row">
38 <label for="password">QBT_TR(Password)QBT_TR[CONTEXT=Login]</label><br>
39 <input type="password" id="password" name="password" autocomplete="current-password" required>
40 </div>
41 <div class="row">
42 <input type="submit" id="loginButton" value="QBT_TR(Login)QBT_TR[CONTEXT=Login]">
43 </div>
44 </form>
45 </div>
46 <div id="error_msg"></div>
47 </div>
48 </body>
50 </html>