mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add media control to server dashboard
This commit is contained in:
parent
fd0ae8bbdd
commit
1a0e3773ad
105 changed files with 708 additions and 493 deletions
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
define(["apphost","globalize","syncJobList","events","localsync","emby-button","paper-icon-button-light"],function(appHost,globalize,syncJobList,events,localSync){"use strict";return function(view,params,tabContent){var self=this,mode="offline",mySyncJobList=new syncJobList({isLocalSync:"offline"===mode,serverId:ApiClient.serverId(),userId:"offline"===mode?null:ApiClient.getCurrentUserId(),element:tabContent.querySelector(".syncActivity"),mode:mode});self.renderTab=function(){},self.destroy=function(){mySyncJobList&&(mySyncJobList.destroy(),mySyncJobList=null)}}});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dashboard-ui/scripts/managedownloads.js
Normal file
1
dashboard-ui/scripts/managedownloads.js
Normal file
|
@ -0,0 +1 @@
|
|||
define(["syncJobList"],function(syncJobList){"use strict";return function(view,params){var mode="offline",apiClient=ApiClient,mySyncJobList=new syncJobList({isLocalSync:"offline"===mode,serverId:apiClient.serverId(),userId:"offline"===mode?null:apiClient.getCurrentUserId(),element:view.querySelector(".syncActivity"),mode:mode});view.addEventListener("viewdestroy",function(){mySyncJobList&&(mySyncJobList.destroy(),mySyncJobList=null)})}});
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue