1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update tabs

This commit is contained in:
Luke Pulverenti 2016-04-13 02:02:07 -04:00
parent 9ceaf21b80
commit 8de0aadb57
36 changed files with 267 additions and 36 deletions

View file

@ -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;