Browse Source

Remove html tags from inline page

This page's content is inserted into the existing page, so the presence of an <html> tag is incorrect.
adaptive-webui-19844
Thomas Piccirello 5 years ago
parent
commit
3f8f9a3962
  1. 99
      src/webui/www/private/preferences.html

99
src/webui/www/private/preferences.html

@ -1,61 +1,44 @@
<!DOCTYPE html> <!-- preferences -->
<html lang="${LANG}"> <div class="toolbarTabs">
<ul id="preferencesTabs" class="tab-menu">
<li id="PrefDownloadsLink" class="selected"><a>QBT_TR(Downloads)QBT_TR[CONTEXT=OptionsDialog]</a></li>
<li id="PrefConnectionLink"><a>QBT_TR(Connection)QBT_TR[CONTEXT=OptionsDialog]</a></li>
<li id="PrefSpeedLink"><a>QBT_TR(Speed)QBT_TR[CONTEXT=OptionsDialog]</a></li>
<li id="PrefBittorrentLink"><a>QBT_TR(BitTorrent)QBT_TR[CONTEXT=OptionsDialog]</a></li>
<li id="PrefWebUILink"><a>QBT_TR(Web UI)QBT_TR[CONTEXT=OptionsDialog]</a></li>
<li id="PrefAdvancedLink"><a>QBT_TR(Advanced)QBT_TR[CONTEXT=OptionsDialog]</a></li>
</ul>
<div class="clear"></div>
</div>
<head> <script>
<meta charset="UTF-8" /> 'use strict';
<title>QBT_TR(Download from URLs)QBT_TR[CONTEXT=downloadFromURL]</title>
<link rel="stylesheet" href="css/style.css?v=${CACHEID}" type="text/css" />
<link rel="stylesheet" href="css/Tabs.css?v=${CACHEID}" type="text/css" />
<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>
</head>
<body style="padding: 5px;"> // Tabs
<!-- preferences --> MochaUI.initializeTabs('preferencesTabs');
<div class="toolbarTabs">
<ul id="preferencesTabs" class="tab-menu">
<li id="PrefDownloadsLink" class="selected"><a>QBT_TR(Downloads)QBT_TR[CONTEXT=OptionsDialog]</a></li>
<li id="PrefConnectionLink"><a>QBT_TR(Connection)QBT_TR[CONTEXT=OptionsDialog]</a></li>
<li id="PrefSpeedLink"><a>QBT_TR(Speed)QBT_TR[CONTEXT=OptionsDialog]</a></li>
<li id="PrefBittorrentLink"><a>QBT_TR(BitTorrent)QBT_TR[CONTEXT=OptionsDialog]</a></li>
<li id="PrefWebUILink"><a>QBT_TR(Web UI)QBT_TR[CONTEXT=OptionsDialog]</a></li>
<li id="PrefAdvancedLink"><a>QBT_TR(Advanced)QBT_TR[CONTEXT=OptionsDialog]</a></li>
</ul>
<div class="clear"></div>
</div>
<script> $('PrefDownloadsLink').addEvent('click', function(e) {
'use strict'; $$('.PrefTab').addClass('invisible');
$('DownloadsTab').removeClass('invisible');
// Tabs });
MochaUI.initializeTabs('preferencesTabs'); $('PrefConnectionLink').addEvent('click', function(e) {
$$('.PrefTab').addClass('invisible');
$('PrefDownloadsLink').addEvent('click', function(e) { $('ConnectionTab').removeClass('invisible');
$$('.PrefTab').addClass('invisible'); });
$('DownloadsTab').removeClass('invisible'); $('PrefSpeedLink').addEvent('click', function(e) {
}); $$('.PrefTab').addClass('invisible');
$('PrefConnectionLink').addEvent('click', function(e) { $('SpeedTab').removeClass('invisible');
$$('.PrefTab').addClass('invisible'); });
$('ConnectionTab').removeClass('invisible'); $('PrefBittorrentLink').addEvent('click', function(e) {
}); $$('.PrefTab').addClass('invisible');
$('PrefSpeedLink').addEvent('click', function(e) { $('BittorrentTab').removeClass('invisible');
$$('.PrefTab').addClass('invisible'); });
$('SpeedTab').removeClass('invisible'); $('PrefWebUILink').addEvent('click', function(e) {
}); $$('.PrefTab').addClass('invisible');
$('PrefBittorrentLink').addEvent('click', function(e) { $('WebUITab').removeClass('invisible');
$$('.PrefTab').addClass('invisible'); });
$('BittorrentTab').removeClass('invisible'); $('PrefAdvancedLink').addEvent('click', function(e) {
}); $$('.PrefTab').addClass('invisible');
$('PrefWebUILink').addEvent('click', function(e) { $('AdvancedTab').removeClass('invisible');
$$('.PrefTab').addClass('invisible'); });
$('WebUITab').removeClass('invisible'); </script>
});
$('PrefAdvancedLink').addEvent('click', function(e) {
$$('.PrefTab').addClass('invisible');
$('AdvancedTab').removeClass('invisible');
});
</script>
</body>
</html>

Loading…
Cancel
Save