Fixed actions and header missing th

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-02-27 11:35:11 +01:00
parent 0f229d23f7
commit 6b45d7e549
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
3 changed files with 8 additions and 7 deletions

View File

@ -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;
}
}
}
}

View File

@ -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'));
});

View File

@ -101,6 +101,7 @@
<?php if ($_['visibilityType'] === BackendService::VISIBILITY_ADMIN) print_unescaped('<th>'.$l->t('Available for').'</th>'); ?>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
</tr>
</thead>
<tbody>