fix identation for routes.js

This commit is contained in:
vitorsemeano 2019-03-18 23:41:40 +00:00
parent a5278f3b78
commit cc0e19c6bd

View File

@ -22,429 +22,420 @@ define([
} }
console.log("Defining core routes"); console.log("Defining core routes");
defineRoute({
path: "/addplugin.html", defineRoute({
autoFocus: false, path: "/addplugin.html",
roles: "admin", autoFocus: false,
controller: "addpluginpage" roles: "admin",
}); controller: "addpluginpage"
defineRoute({ });
path: "/appservices.html", defineRoute({
autoFocus: false, path: "/autoorganizelog.html",
roles: "admin" roles: "admin"
}); });
defineRoute({ defineRoute({
path: "/autoorganizelog.html", path: "/channelsettings.html",
roles: "admin" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/channelsettings.html", defineRoute({
autoFocus: false, path: "/addserver.html",
roles: "admin" autoFocus: false,
}); anonymous: true,
defineRoute({ startup: true,
path: "/addserver.html", controller: "addserver"
autoFocus: false, });
anonymous: true, defineRoute({
startup: true, path: "/dashboard.html",
controller: "addserver" autoFocus: false,
}); roles: "admin",
defineRoute({ controller: "dashboardpage"
path: "/dashboard.html", });
autoFocus: false, defineRoute({
roles: "admin", path: "/dashboardgeneral.html",
controller: "dashboardpage" controller: "dashboardgeneral",
}); autoFocus: false,
defineRoute({ roles: "admin"
path: "/dashboardgeneral.html", });
controller: "dashboardgeneral", defineRoute({
autoFocus: false, path: "/dashboardhosting.html",
roles: "admin" autoFocus: false,
}); roles: "admin",
defineRoute({ controller: "dashboardhosting"
path: "/dashboardhosting.html", });
autoFocus: false, defineRoute({
roles: "admin", path: "/devices/devices.html",
controller: "dashboardhosting" autoFocus: false,
}); roles: "admin",
defineRoute({ controller: "devices"
path: "/devices/devices.html", });
autoFocus: false, defineRoute({
roles: "admin", path: "/devices/device.html",
controller: "devices" autoFocus: false,
}); roles: "admin",
defineRoute({ controller: "device"
path: "/devices/device.html", });
autoFocus: false, defineRoute({
roles: "admin", path: "/dlnaprofile.html",
controller: "device" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/dlnaprofile.html", defineRoute({
autoFocus: false, path: "/dlnaprofiles.html",
roles: "admin" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/dlnaprofiles.html", defineRoute({
autoFocus: false, path: "/dlnaserversettings.html",
roles: "admin" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/dlnaserversettings.html", defineRoute({
autoFocus: false, path: "/dlnasettings.html",
roles: "admin" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/dlnasettings.html", defineRoute({
autoFocus: false, path: "/edititemmetadata.html",
roles: "admin" controller: "edititemmetadata",
}); autoFocus: false
defineRoute({ });
path: "/edititemmetadata.html", defineRoute({
controller: "edititemmetadata", path: "/encodingsettings.html",
autoFocus: false autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/encodingsettings.html", defineRoute({
autoFocus: false, path: "/forgotpassword.html",
roles: "admin" anonymous: true,
}); startup: true,
defineRoute({ controller: "forgotpassword"
path: "/opensubtitles.html", });
autoFocus: false, defineRoute({
roles: "admin" path: "/forgotpasswordpin.html",
}); autoFocus: false,
defineRoute({ anonymous: true,
path: "/forgotpassword.html", startup: true,
anonymous: true, controller: "forgotpasswordpin"
startup: true, });
controller: "forgotpassword" defineRoute({
}); path: "/home.html",
defineRoute({ autoFocus: false,
path: "/forgotpasswordpin.html", controller: "home",
autoFocus: false, transition: "fade",
anonymous: true, type: "home"
startup: true, });
controller: "forgotpasswordpin" defineRoute({
}); path: "/list/list.html",
defineRoute({ autoFocus: false,
path: "/home.html", controller: "list",
autoFocus: false, transition: "fade"
controller: "home", });
transition: "fade", defineRoute({
type: "home" path: "/index.html",
}); autoFocus: false,
defineRoute({ isDefaultRoute: true
path: "/list/list.html", });
autoFocus: false, defineRoute({
controller: "list", path: "/itemdetails.html",
transition: "fade" controller: "itemdetailpage",
}); autoFocus: false,
defineRoute({ transition: "fade"
path: "/index.html", });
autoFocus: false, defineRoute({
isDefaultRoute: true path: "/library.html",
}); autoFocus: false,
defineRoute({ roles: "admin"
path: "/itemdetails.html", });
controller: "itemdetailpage", defineRoute({
autoFocus: false, path: "/librarydisplay.html",
transition: "fade" autoFocus: false,
}); roles: "admin",
defineRoute({ controller: "librarydisplay"
path: "/library.html", });
autoFocus: false, defineRoute({
roles: "admin" path: "/librarysettings.html",
}); autoFocus: false,
defineRoute({ roles: "admin",
path: "/librarydisplay.html", controller: "librarysettings"
autoFocus: false, });
roles: "admin", defineRoute({
controller: "librarydisplay" path: "/livetv.html",
}); controller: "livetvsuggested",
defineRoute({ autoFocus: false,
path: "/librarysettings.html", transition: "fade"
autoFocus: false, });
roles: "admin", defineRoute({
controller: "librarysettings" path: "/livetvguideprovider.html",
}); autoFocus: false,
defineRoute({ roles: "admin"
path: "/livetv.html", });
controller: "livetvsuggested", defineRoute({
autoFocus: false, path: "/livetvseriestimer.html",
transition: "fade" autoFocus: false,
}); controller: "livetvseriestimer"
defineRoute({ });
path: "/livetvguideprovider.html", defineRoute({
autoFocus: false, path: "/livetvsettings.html",
roles: "admin" autoFocus: false
}); });
defineRoute({ defineRoute({
path: "/livetvseriestimer.html", path: "/livetvstatus.html",
autoFocus: false, autoFocus: false,
controller: "livetvseriestimer" roles: "admin"
}); });
defineRoute({ defineRoute({
path: "/livetvsettings.html", path: "/livetvtuner.html",
autoFocus: false autoFocus: false,
}); roles: "admin",
defineRoute({ controller: "livetvtuner"
path: "/livetvstatus.html", });
autoFocus: false, defineRoute({
roles: "admin" path: "/log.html",
}); roles: "admin",
defineRoute({ controller: "logpage"
path: "/livetvtuner.html", });
autoFocus: false, defineRoute({
roles: "admin", path: "/login.html",
controller: "livetvtuner" autoFocus: false,
}); anonymous: true,
defineRoute({ startup: true,
path: "/log.html", controller: "loginpage"
roles: "admin", });
controller: "logpage" defineRoute({
}); path: "/metadataadvanced.html",
defineRoute({ autoFocus: false,
path: "/login.html", roles: "admin"
autoFocus: false, });
anonymous: true, defineRoute({
startup: true, path: "/metadataimages.html",
controller: "loginpage" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/metadataadvanced.html", defineRoute({
autoFocus: false, path: "/metadatanfo.html",
roles: "admin" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/metadataimages.html", defineRoute({
autoFocus: false, path: "/movies.html",
roles: "admin" autoFocus: false,
}); controller: "moviesrecommended",
defineRoute({ transition: "fade"
path: "/metadatanfo.html", });
autoFocus: false, defineRoute({
roles: "admin" path: "/music.html",
}); controller: "musicrecommended",
defineRoute({ autoFocus: false,
path: "/movies.html", transition: "fade"
autoFocus: false, });
controller: "moviesrecommended", defineRoute({
transition: "fade" path: "/mypreferencesdisplay.html",
}); autoFocus: false,
defineRoute({ transition: "fade",
path: "/music.html", controller: "mypreferencesdisplay"
controller: "musicrecommended", });
autoFocus: false, defineRoute({
transition: "fade" path: "/mypreferenceshome.html",
}); autoFocus: false,
defineRoute({ transition: "fade",
path: "/mypreferencesdisplay.html", controller: "mypreferenceshome"
autoFocus: false, });
transition: "fade", defineRoute({
controller: "mypreferencesdisplay" path: "/mypreferencessubtitles.html",
}); autoFocus: false,
defineRoute({ transition: "fade",
path: "/mypreferenceshome.html", controller: "mypreferencessubtitles"
autoFocus: false, });
transition: "fade", defineRoute({
controller: "mypreferenceshome" path: "/mypreferenceslanguages.html",
}); autoFocus: false,
defineRoute({ transition: "fade",
path: "/mypreferencessubtitles.html", controller: "mypreferenceslanguages"
autoFocus: false, });
transition: "fade", defineRoute({
controller: "mypreferencessubtitles" path: "/mypreferencesmenu.html",
}); autoFocus: false,
defineRoute({ transition: "fade",
path: "/mypreferenceslanguages.html", controller: "mypreferencescommon"
autoFocus: false, });
transition: "fade", defineRoute({
controller: "mypreferenceslanguages" path: "/myprofile.html",
}); autoFocus: false,
defineRoute({ transition: "fade",
path: "/mypreferencesmenu.html", controller: "myprofile"
autoFocus: false, });
transition: "fade", defineRoute({
controller: "mypreferencescommon" path: "/notificationsetting.html",
}); autoFocus: false,
defineRoute({ roles: "admin"
path: "/myprofile.html", });
autoFocus: false, defineRoute({
transition: "fade", path: "/notificationsettings.html",
controller: "myprofile" controller: "notificationsettings",
}); autoFocus: false,
defineRoute({ roles: "admin"
path: "/notificationsetting.html", });
autoFocus: false, defineRoute({
roles: "admin" path: "/nowplaying.html",
}); controller: "nowplayingpage",
defineRoute({ autoFocus: false,
path: "/notificationsettings.html", transition: "fade",
controller: "notificationsettings", fullscreen: true,
autoFocus: false, supportsThemeMedia: true,
roles: "admin" enableMediaControl: false
}); });
defineRoute({ defineRoute({
path: "/nowplaying.html", path: "/playbackconfiguration.html",
controller: "nowplayingpage", autoFocus: false,
autoFocus: false, roles: "admin"
transition: "fade", });
fullscreen: true, defineRoute({
supportsThemeMedia: true, path: "/plugincatalog.html",
enableMediaControl: false autoFocus: false,
}); roles: "admin",
defineRoute({ controller: "plugincatalogpage"
path: "/playbackconfiguration.html", });
autoFocus: false, defineRoute({
roles: "admin" path: "/plugins.html",
}); autoFocus: false,
defineRoute({ roles: "admin"
path: "/plugincatalog.html", });
autoFocus: false, defineRoute({
roles: "admin", path: "/scheduledtask.html",
controller: "plugincatalogpage" autoFocus: false,
}); roles: "admin",
defineRoute({ controller: "scheduledtaskpage"
path: "/plugins.html", });
autoFocus: false, defineRoute({
roles: "admin" path: "/scheduledtasks.html",
}); autoFocus: false,
defineRoute({ roles: "admin",
path: "/scheduledtask.html", controller: "scheduledtaskspage"
autoFocus: false, });
roles: "admin", defineRoute({
controller: "scheduledtaskpage" path: "/search.html",
}); controller: "searchpage"
defineRoute({ });
path: "/scheduledtasks.html", defineRoute({
autoFocus: false, path: "/selectserver.html",
roles: "admin", autoFocus: false,
controller: "scheduledtaskspage" anonymous: true,
}); startup: true,
defineRoute({ controller: "selectserver"
path: "/search.html", });
controller: "searchpage" defineRoute({
}); path: "/serveractivity.html",
defineRoute({ autoFocus: false,
path: "/selectserver.html", roles: "admin",
autoFocus: false, controller: "serveractivity"
anonymous: true, });
startup: true, defineRoute({
controller: "selectserver" path: "/serversecurity.html",
}); autoFocus: false,
defineRoute({ roles: "admin"
path: "/serveractivity.html", });
autoFocus: false, defineRoute({
roles: "admin", path: "/streamingsettings.html",
controller: "serveractivity" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/serversecurity.html", defineRoute({
autoFocus: false, path: "/support.html",
roles: "admin" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/streamingsettings.html", defineRoute({
autoFocus: false, path: "/tv.html",
roles: "admin" autoFocus: false,
}); controller: "tvrecommended",
defineRoute({ transition: "fade"
path: "/support.html", });
autoFocus: false, defineRoute({
roles: "admin" path: "/useredit.html",
}); autoFocus: false,
defineRoute({ roles: "admin"
path: "/tv.html", });
autoFocus: false, defineRoute({
controller: "tvrecommended", path: "/userlibraryaccess.html",
transition: "fade" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/useredit.html", defineRoute({
autoFocus: false, path: "/usernew.html",
roles: "admin" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/userlibraryaccess.html", defineRoute({
autoFocus: false, path: "/userparentalcontrol.html",
roles: "admin" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/usernew.html", defineRoute({
autoFocus: false, path: "/userpassword.html",
roles: "admin" autoFocus: false,
}); controller: "userpasswordpage"
defineRoute({ });
path: "/userparentalcontrol.html", defineRoute({
autoFocus: false, path: "/userprofiles.html",
roles: "admin" autoFocus: false,
}); roles: "admin"
defineRoute({ });
path: "/userpassword.html", defineRoute({
autoFocus: false, path: "/wizardremoteaccess.html",
controller: "userpasswordpage" autoFocus: false,
}); anonymous: true,
defineRoute({ controller: "wizardremoteaccess"
path: "/userprofiles.html", });
autoFocus: false, defineRoute({
roles: "admin" path: "/wizardfinish.html",
}); autoFocus: false,
defineRoute({ anonymous: true,
path: "/wizardremoteaccess.html", controller: "wizardfinishpage"
autoFocus: false, });
anonymous: true, defineRoute({
controller: "wizardremoteaccess" path: "/wizardlibrary.html",
}); autoFocus: false,
defineRoute({ anonymous: true
path: "/wizardfinish.html", });
autoFocus: false, defineRoute({
anonymous: true, path: "/wizardsettings.html",
controller: "wizardfinishpage" autoFocus: false,
}); anonymous: true,
defineRoute({ controller: "wizardsettings"
path: "/wizardlibrary.html", });
autoFocus: false, defineRoute({
anonymous: true path: "/wizardstart.html",
}); autoFocus: false,
defineRoute({ anonymous: true,
path: "/wizardsettings.html", controller: "wizardstart"
autoFocus: false, });
anonymous: true, defineRoute({
controller: "wizardsettings" path: "/wizarduser.html",
}); controller: "wizarduserpage",
defineRoute({ autoFocus: false,
path: "/wizardstart.html", anonymous: true
autoFocus: false, });
anonymous: true, defineRoute({
controller: "wizardstart" path: "/videoosd.html",
}); transition: "fade",
defineRoute({ controller: "videoosd",
path: "/wizarduser.html", autoFocus: false,
controller: "wizarduserpage", type: "video-osd",
autoFocus: false, supportsThemeMedia: true,
anonymous: true fullscreen: true,
}); enableMediaControl: false
defineRoute({ });
path: "/videoosd.html", defineRoute({
transition: "fade", path: "/configurationpage",
controller: "videoosd", autoFocus: false,
autoFocus: false, enableCache: false,
type: "video-osd", enableContentQueryString: true,
supportsThemeMedia: true, roles: "admin"
fullscreen: true, });
enableMediaControl: false defineRoute({
}); path: "/",
defineRoute({ isDefaultRoute: true,
path: "/configurationpage", autoFocus: false,
autoFocus: false, });
enableCache: false,
enableContentQueryString: true,
roles: "admin"
});
defineRoute({
path: "/",
isDefaultRoute: true,
autoFocus: false,
});
}); });