From 8d13cc662c308f58c9cf0f0bf449ed081b4d2f28 Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Tue, 11 Dec 2018 00:46:50 -0500 Subject: [PATCH] Remove agreement and app links --- dashboard-ui/dashboard/wizardremoteaccess.js | 4 +-- dashboard-ui/manifest.json | 8 ----- dashboard-ui/scripts/site.js | 8 +---- dashboard-ui/wizardagreement.html | 35 -------------------- dashboard-ui/wizardfinish.html | 29 +--------------- 5 files changed, 4 insertions(+), 80 deletions(-) delete mode 100644 dashboard-ui/wizardagreement.html diff --git a/dashboard-ui/dashboard/wizardremoteaccess.js b/dashboard-ui/dashboard/wizardremoteaccess.js index 8f68268cb5..6856e0074f 100644 --- a/dashboard-ui/dashboard/wizardremoteaccess.js +++ b/dashboard-ui/dashboard/wizardremoteaccess.js @@ -15,7 +15,7 @@ define(["loading", "emby-checkbox", "emby-button", "emby-select"], function(load } function navigateToNextPage() { - Dashboard.navigate("wizardagreement.html") + Dashboard.navigate("wizardfinish.html") } function onSubmit(e) { @@ -28,4 +28,4 @@ define(["loading", "emby-checkbox", "emby-button", "emby-select"], function(load document.querySelector(".skinHeader").classList.remove("noHomeButtonHeader") }) } -}); \ No newline at end of file +}); diff --git a/dashboard-ui/manifest.json b/dashboard-ui/manifest.json index ff973fd02f..5480e52eb1 100644 --- a/dashboard-ui/manifest.json +++ b/dashboard-ui/manifest.json @@ -5,14 +5,6 @@ "description": "The open media solution.", "lang": "en-US", "related_applications": [ - { - "platform": "android", - "location": "https://play.google.com/store/apps/details?id=com.mb.android" - }, - { - "platform": "ios", - "location": "https://itunes.apple.com/us/app/emby/id992180193?ls=1&mt=8" - }, { "platform": "web" } diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 76a5459268..d7a3d76535 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -771,12 +771,6 @@ var Dashboard = { dependencies: [], autoFocus: !1, roles: "admin" - }), defineRoute({ - path: "/wizardagreement.html", - dependencies: ["dashboardcss"], - autoFocus: !1, - anonymous: !0, - controller: "scripts/wizardagreement" }), defineRoute({ path: "/wizardremoteaccess.html", dependencies: ["dashboardcss"], @@ -1133,4 +1127,4 @@ var Dashboard = { document.querySelector(".skinHeader").classList.add("noHeaderRight") }), pageClassOn("viewhide", "standalonePage", function() { document.querySelector(".skinHeader").classList.remove("noHeaderRight") -}); \ No newline at end of file +}); diff --git a/dashboard-ui/wizardagreement.html b/dashboard-ui/wizardagreement.html deleted file mode 100644 index 2b6681836e..0000000000 --- a/dashboard-ui/wizardagreement.html +++ /dev/null @@ -1,35 +0,0 @@ -
- -
- -
-
- -

- ${HeaderTermsOfService} -

- -

${MessagePleaseAcceptTermsOfService}

- -

${ButtonPrivacyPolicy}

-

${ButtonTermsOfService}

- - -
- - -
-
-
- -
-
\ No newline at end of file diff --git a/dashboard-ui/wizardfinish.html b/dashboard-ui/wizardfinish.html index a67fa3bd60..e65ce47431 100644 --- a/dashboard-ui/wizardfinish.html +++ b/dashboard-ui/wizardfinish.html @@ -9,33 +9,6 @@

${WizardCompleted}

- -
@@ -43,4 +16,4 @@
- \ No newline at end of file +