From 6b45d7e5499a4ae910e2697702c4063b6558297b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Tue, 27 Feb 2018 11:35:11 +0100 Subject: [PATCH] Fixed actions and header missing th MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files_external/css/settings.scss | 8 ++++---- apps/files_external/js/settings.js | 6 +++--- apps/files_external/templates/settings.php | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/apps/files_external/css/settings.scss b/apps/files_external/css/settings.scss index 15b2691d18..09beaf1205 100644 --- a/apps/files_external/css/settings.scss +++ b/apps/files_external/css/settings.scss @@ -40,15 +40,15 @@ td.mountPoint, td.backend { width:160px; } position: relative; padding: 0 !important; width: 44px; - opacity: 0.5; - &:hover { - opacity: 1; - } [class^='icon-'], [class*=' icon-'] { + opacity: 0.5; padding: 14px; vertical-align: text-bottom; cursor: pointer; + &:hover { + opacity: 1; + } } } } diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index eaaed02510..0550cb04d8 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -727,15 +727,15 @@ MountConfigListView.prototype = _.extend({ self.recheckStorageConfig($(this).closest('tr')); }); - this.$el.on('click', 'td.remove>img', function() { + this.$el.on('click', 'td.remove>.icon-delete', function() { self.deleteStorageConfig($(this).closest('tr')); }); - this.$el.on('click', 'td.save>img', function () { + this.$el.on('click', 'td.save>.icon-checkmark', function () { self.saveStorageConfig($(this).closest('tr')); }); - this.$el.on('click', 'td.mountOptionsToggle>.icon-settings', function() { + this.$el.on('click', 'td.mountOptionsToggle>.icon-settings-dark', function() { self._showMountOptionsDropdown($(this).closest('tr')); }); diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index b6bce5b30b..8ceab06fd2 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -101,6 +101,7 @@ '.$l->t('Available for').''); ?>     +