WebUI: Use Map instead of Mootools Hash in Torrents table
[qBittorrent.git] / src / webui / www / private / views / aboutToolbar.html
blobb95e8ed48792bffaf51b7fd5efb769d066e5cba6
1 <div class="toolbarTabs">
2 <ul id="aboutTabs" class="tab-menu">
3 <li id="aboutAboutLink" class="selected"><a>QBT_TR(About)QBT_TR[CONTEXT=AboutDialog]</a></li>
4 <li id="aboutAuthorLink"><a>QBT_TR(Authors)QBT_TR[CONTEXT=AboutDialog]</a></li>
5 <li id="aboutSpecialThanksLink"><a>QBT_TR(Special Thanks)QBT_TR[CONTEXT=AboutDialog]</a></li>
6 <li id="aboutTranslatorsLink"><a>QBT_TR(Translators)QBT_TR[CONTEXT=AboutDialog]</a></li>
7 <li id="aboutLicenseLink"><a>QBT_TR(License)QBT_TR[CONTEXT=AboutDialog]</a></li>
8 <li id="aboutSoftwareUsedLink"><a>QBT_TR(Software Used)QBT_TR[CONTEXT=AboutDialog]</a></li>
9 </ul>
10 <div class="clear"></div>
11 </div>
13 <script>
14 "use strict";
16 (function() {
17 MochaUI.initializeTabs("aboutTabs");
19 $("aboutAboutLink").addEventListener("click", () => {
20 $$(".aboutTabContent").addClass("invisible");
21 $("aboutAboutContent").removeClass("invisible");
22 });
24 $("aboutAuthorLink").addEventListener("click", () => {
25 $$(".aboutTabContent").addClass("invisible");
26 $("aboutAuthorContent").removeClass("invisible");
27 });
29 $("aboutSpecialThanksLink").addEventListener("click", () => {
30 $$(".aboutTabContent").addClass("invisible");
31 $("aboutSpecialThanksContent").removeClass("invisible");
32 });
34 $("aboutTranslatorsLink").addEventListener("click", () => {
35 $$(".aboutTabContent").addClass("invisible");
36 $("aboutTranslatorsContent").removeClass("invisible");
37 });
39 $("aboutLicenseLink").addEventListener("click", () => {
40 $$(".aboutTabContent").addClass("invisible");
41 $("aboutLicenseContent").removeClass("invisible");
42 });
44 $("aboutSoftwareUsedLink").addEventListener("click", () => {
45 $$(".aboutTabContent").addClass("invisible");
46 $("aboutSoftwareUsedContent").removeClass("invisible");
47 });
48 })();
49 </script>