Update WebUI to be more compliant with HTML5 standard

Use modern and shorter "charset" attribute.
Remove "type", "charset" attributes in script/style tags, these are redundant in HTML5.
This commit is contained in:
Chocobo1
2018-03-21 14:34:37 +08:00
parent e1a14007f8
commit ed03456999
16 changed files with 72 additions and 72 deletions

View File

@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html lang="${LANG}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="UTF-8" />
<title>qBittorrent QBT_TR(Web UI)QBT_TR[CONTEXT=OptionsDialog]</title>
<link rel="icon" type="image/png" href="images/skin/qbittorrent16.png" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
<script type="text/javascript">
<script src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
<script>
window.onload = function() {
$('username').focus();
$('username').select();