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

@ -29,6 +29,22 @@
return false;
}
function getTabs() {
return [
{
href: 'syncactivity.html',
name: Globalize.translate('TabSyncJobs')
},
{
href: 'devicesupload.html',
name: Globalize.translate('TabCameraUpload')
},
{
href: 'syncsettings.html',
name: Globalize.translate('TabSettings')
}];
}
$(document).on('pageinit', "#syncSettingsPage", function () {
var page = this;
@ -58,6 +74,7 @@
Dashboard.showLoadingMsg();
LibraryMenu.setTabs('syncadmin', 2, getTabs);
var page = this;
ApiClient.getNamedConfiguration("sync").then(function (config) {