diff --git a/web/app.js b/web/app.js index 18d161c..af58820 100644 --- a/web/app.js +++ b/web/app.js @@ -15,7 +15,6 @@ app.directive('plexSettings', require('./directives/plex-settings')) app.directive('ffmpegSettings', require('./directives/ffmpeg-settings')) app.directive('xmltvSettings', require('./directives/xmltv-settings')) app.directive('hdhrSettings', require('./directives/hdhr-settings')) -app.directive('cacheSettings', require('./directives/cache-settings')) app.directive('plexLibrary', require('./directives/plex-library')) app.directive('programConfig', require('./directives/program-config')) app.directive('flexConfig', require('./directives/flex-config')) diff --git a/web/directives/cache-settings.js b/web/directives/cache-settings.js deleted file mode 100644 index d37fd99..0000000 --- a/web/directives/cache-settings.js +++ /dev/null @@ -1,23 +0,0 @@ -module.exports = function (dizquetv) { - return { - restrict: 'E', - templateUrl: 'templates/cache-settings.html', - replace: true, - scope: { - }, - link: function (scope, element, attrs) { - dizquetv.getAllSettings().then((settings) => { - console.warn(settings); - scope.settings = settings; - scope.$apply(); - }); - scope.updateSetting = (setting) => { - const {key, value} = setting; - dizquetv.putSetting(key, !value).then((response) => { - scope.settings = response; - scope.$apply(); - }); - }; - } - } -} \ No newline at end of file diff --git a/web/public/templates/cache-settings.html b/web/public/templates/cache-settings.html deleted file mode 100644 index 376f8c9..0000000 --- a/web/public/templates/cache-settings.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
Cache
- -
-
-
{{setting.title}}
-
- -
-
-
- -
\ No newline at end of file diff --git a/web/public/views/settings.html b/web/public/views/settings.html index 54d0bda..5ef4ff3 100644 --- a/web/public/views/settings.html +++ b/web/public/views/settings.html @@ -20,16 +20,10 @@ HDHR -
- \ No newline at end of file