2019-08-08 05:12:48 -07:00
|
|
|
<!-- preferences -->
|
|
|
|
<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>
|
2018-04-05 11:59:31 +08:00
|
|
|
|
2019-08-08 05:12:48 -07:00
|
|
|
<script>
|
|
|
|
'use strict';
|
2018-04-05 11:59:31 +08:00
|
|
|
|
2019-08-11 23:53:20 -07:00
|
|
|
(function() {
|
|
|
|
// Tabs
|
|
|
|
MochaUI.initializeTabs('preferencesTabs');
|
2009-11-26 09:49:57 +00:00
|
|
|
|
2019-08-11 23:53:20 -07:00
|
|
|
$('PrefDownloadsLink').addEvent('click', function(e) {
|
|
|
|
$$('.PrefTab').addClass('invisible');
|
|
|
|
$('DownloadsTab').removeClass('invisible');
|
|
|
|
});
|
|
|
|
$('PrefConnectionLink').addEvent('click', function(e) {
|
|
|
|
$$('.PrefTab').addClass('invisible');
|
|
|
|
$('ConnectionTab').removeClass('invisible');
|
|
|
|
});
|
|
|
|
$('PrefSpeedLink').addEvent('click', function(e) {
|
|
|
|
$$('.PrefTab').addClass('invisible');
|
|
|
|
$('SpeedTab').removeClass('invisible');
|
|
|
|
});
|
|
|
|
$('PrefBittorrentLink').addEvent('click', function(e) {
|
|
|
|
$$('.PrefTab').addClass('invisible');
|
|
|
|
$('BittorrentTab').removeClass('invisible');
|
|
|
|
});
|
|
|
|
$('PrefWebUILink').addEvent('click', function(e) {
|
|
|
|
$$('.PrefTab').addClass('invisible');
|
|
|
|
$('WebUITab').removeClass('invisible');
|
|
|
|
});
|
|
|
|
$('PrefAdvancedLink').addEvent('click', function(e) {
|
|
|
|
$$('.PrefTab').addClass('invisible');
|
|
|
|
$('AdvancedTab').removeClass('invisible');
|
|
|
|
});
|
|
|
|
})();
|
2019-08-08 05:12:48 -07:00
|
|
|
</script>
|