mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update tabs
This commit is contained in:
parent
9ceaf21b80
commit
8de0aadb57
36 changed files with 267 additions and 36 deletions
|
@ -1,5 +1,21 @@
|
|||
define(['jQuery', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function ($) {
|
||||
|
||||
function getTabs() {
|
||||
return [
|
||||
{
|
||||
href: 'about.html',
|
||||
name: Globalize.translate('TabAbout')
|
||||
},
|
||||
{
|
||||
href: 'log.html',
|
||||
name: Globalize.translate('TabLogs')
|
||||
},
|
||||
{
|
||||
href: 'supporterkey.html',
|
||||
name: Globalize.translate('TabEmbyPremiere')
|
||||
}];
|
||||
}
|
||||
|
||||
return function (view, params) {
|
||||
|
||||
view.querySelector('#chkDebugLog').addEventListener('change', function () {
|
||||
|
@ -14,6 +30,7 @@
|
|||
|
||||
view.addEventListener('viewbeforeshow', function () {
|
||||
|
||||
LibraryMenu.setTabs('helpadmin', 1, getTabs);
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
var apiClient = ApiClient;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue