mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
update more route locations
This commit is contained in:
parent
99b7781f9a
commit
34aad3e338
@ -23,6 +23,35 @@ define([
|
|||||||
|
|
||||||
console.debug("defining core routes");
|
console.debug("defining core routes");
|
||||||
|
|
||||||
|
defineRoute({
|
||||||
|
path: "/addserver.html",
|
||||||
|
autoFocus: false,
|
||||||
|
anonymous: true,
|
||||||
|
startup: true,
|
||||||
|
controller: "auth/addserver"
|
||||||
|
});
|
||||||
|
defineRoute({
|
||||||
|
path: "/selectserver.html",
|
||||||
|
autoFocus: false,
|
||||||
|
anonymous: true,
|
||||||
|
startup: true,
|
||||||
|
controller: "auth/selectserver",
|
||||||
|
type: "selectserver"
|
||||||
|
});
|
||||||
|
defineRoute({
|
||||||
|
path: "/forgotpassword.html",
|
||||||
|
anonymous: true,
|
||||||
|
startup: true,
|
||||||
|
controller: "auth/forgotpassword"
|
||||||
|
});
|
||||||
|
defineRoute({
|
||||||
|
path: "/forgotpasswordpin.html",
|
||||||
|
autoFocus: false,
|
||||||
|
anonymous: true,
|
||||||
|
startup: true,
|
||||||
|
controller: "auth/forgotpasswordpin"
|
||||||
|
});
|
||||||
|
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/addplugin.html",
|
path: "/addplugin.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
@ -41,13 +70,6 @@ define([
|
|||||||
transition: "fade",
|
transition: "fade",
|
||||||
controller: "user/profile"
|
controller: "user/profile"
|
||||||
});
|
});
|
||||||
defineRoute({
|
|
||||||
path: "/addserver.html",
|
|
||||||
autoFocus: false,
|
|
||||||
anonymous: true,
|
|
||||||
startup: true,
|
|
||||||
controller: "auth/addserver"
|
|
||||||
});
|
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/mypreferencesdisplay.html",
|
path: "/mypreferencesdisplay.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
@ -95,31 +117,31 @@ define([
|
|||||||
path: "/devices.html",
|
path: "/devices.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "devices"
|
controller: "dashboard/devices/devices"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/device.html",
|
path: "/device.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "device"
|
controller: "dashboard/devices/device"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/dlnaprofile.html",
|
path: "/dlnaprofile.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "dlnaprofile"
|
controller: "dashboard/dlna/dlnaprofile"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/dlnaprofiles.html",
|
path: "/dlnaprofiles.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "dlnaprofiles"
|
controller: "dashboard/dlna/dlnaprofiles"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/dlnasettings.html",
|
path: "/dlnasettings.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "dlnasettings"
|
controller: "dashboard/dlna/dlnasettings"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/edititemmetadata.html",
|
path: "/edititemmetadata.html",
|
||||||
@ -130,20 +152,7 @@ define([
|
|||||||
path: "/encodingsettings.html",
|
path: "/encodingsettings.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "encodingsettings"
|
controller: "dashboard/encodingsettings"
|
||||||
});
|
|
||||||
defineRoute({
|
|
||||||
path: "/forgotpassword.html",
|
|
||||||
anonymous: true,
|
|
||||||
startup: true,
|
|
||||||
controller: "auth/forgotpassword"
|
|
||||||
});
|
|
||||||
defineRoute({
|
|
||||||
path: "/forgotpasswordpin.html",
|
|
||||||
autoFocus: false,
|
|
||||||
anonymous: true,
|
|
||||||
startup: true,
|
|
||||||
controller: "auth/forgotpasswordpin"
|
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/home.html",
|
path: "/home.html",
|
||||||
@ -158,11 +167,6 @@ define([
|
|||||||
controller: "list",
|
controller: "list",
|
||||||
transition: "fade"
|
transition: "fade"
|
||||||
});
|
});
|
||||||
defineRoute({
|
|
||||||
path: "/index.html",
|
|
||||||
autoFocus: false,
|
|
||||||
isDefaultRoute: true
|
|
||||||
});
|
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/itemdetails.html",
|
path: "/itemdetails.html",
|
||||||
controller: "itemdetailpage",
|
controller: "itemdetailpage",
|
||||||
@ -173,19 +177,13 @@ define([
|
|||||||
path: "/library.html",
|
path: "/library.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "medialibrarypage"
|
controller: "dashboard/medialibrarypage"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/librarydisplay.html",
|
path: "/librarydisplay.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "librarydisplay"
|
controller: "dashboard/librarydisplay"
|
||||||
});
|
|
||||||
defineRoute({
|
|
||||||
path: "/librarysettings.html",
|
|
||||||
autoFocus: false,
|
|
||||||
roles: "admin",
|
|
||||||
controller: "librarysettings"
|
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/livetv.html",
|
path: "/livetv.html",
|
||||||
@ -233,13 +231,13 @@ define([
|
|||||||
path: "/metadataimages.html",
|
path: "/metadataimages.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "metadataimagespage"
|
controller: "dashboard/metadataimagespage"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/metadatanfo.html",
|
path: "/metadatanfo.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "metadatanfo"
|
controller: "dashboard/metadatanfo"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/movies.html",
|
path: "/movies.html",
|
||||||
@ -265,20 +263,11 @@ define([
|
|||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin"
|
roles: "admin"
|
||||||
});
|
});
|
||||||
defineRoute({
|
|
||||||
path: "/nowplaying.html",
|
|
||||||
controller: "playback/nowplaying",
|
|
||||||
autoFocus: false,
|
|
||||||
transition: "fade",
|
|
||||||
fullscreen: true,
|
|
||||||
supportsThemeMedia: true,
|
|
||||||
enableMediaControl: false
|
|
||||||
});
|
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/playbackconfiguration.html",
|
path: "/playbackconfiguration.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "playbackconfiguration"
|
controller: "dashboard/playbackconfiguration"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/availableplugins.html",
|
path: "/availableplugins.html",
|
||||||
@ -308,31 +297,23 @@ define([
|
|||||||
path: "/search.html",
|
path: "/search.html",
|
||||||
controller: "searchpage"
|
controller: "searchpage"
|
||||||
});
|
});
|
||||||
defineRoute({
|
|
||||||
path: "/selectserver.html",
|
|
||||||
autoFocus: false,
|
|
||||||
anonymous: true,
|
|
||||||
startup: true,
|
|
||||||
controller: "auth/selectserver",
|
|
||||||
type: "selectserver"
|
|
||||||
});
|
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/serveractivity.html",
|
path: "/serveractivity.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "serveractivity"
|
controller: "dashboard/serveractivity"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/apikeys.html",
|
path: "/apikeys.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "apikeys"
|
controller: "dashboard/apikeys"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/streamingsettings.html",
|
path: "/streamingsettings.html",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: "admin",
|
roles: "admin",
|
||||||
controller: "streamingsettings"
|
controller: "dashboard/streamingsettings"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/tv.html",
|
path: "/tv.html",
|
||||||
@ -423,6 +404,15 @@ define([
|
|||||||
fullscreen: true,
|
fullscreen: true,
|
||||||
enableMediaControl: false
|
enableMediaControl: false
|
||||||
});
|
});
|
||||||
|
defineRoute({
|
||||||
|
path: "/nowplaying.html",
|
||||||
|
controller: "playback/nowplaying",
|
||||||
|
autoFocus: false,
|
||||||
|
transition: "fade",
|
||||||
|
fullscreen: true,
|
||||||
|
supportsThemeMedia: true,
|
||||||
|
enableMediaControl: false
|
||||||
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/configurationpage",
|
path: "/configurationpage",
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
@ -436,4 +426,9 @@ define([
|
|||||||
isDefaultRoute: true,
|
isDefaultRoute: true,
|
||||||
autoFocus: false
|
autoFocus: false
|
||||||
});
|
});
|
||||||
|
defineRoute({
|
||||||
|
path: "/index.html",
|
||||||
|
autoFocus: false,
|
||||||
|
isDefaultRoute: true
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user