diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2016-12-05 08:45:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-05 08:45:18 +0100 |
commit | eeb81ec783e6e555aa8f1ac3eaa806b3c9dacaf7 (patch) | |
tree | 49d8a433f58ca71159006cdbae96f1a8aefdcfdb /settings | |
parent | dda39728e35951bb08c8ce48f2e5f5280d632447 (diff) | |
parent | 0d61707e25120e4e594e80a7acdfe9cab5c64560 (diff) | |
download | nextcloud-server-eeb81ec783e6e555aa8f1ac3eaa806b3c9dacaf7.tar.gz nextcloud-server-eeb81ec783e6e555aa8f1ac3eaa806b3c9dacaf7.zip |
Merge pull request #2491 from nextcloud/fix-groups-enable-visual
Put "Enable only for specific groups" into a new div
Diffstat (limited to 'settings')
-rw-r--r-- | settings/css/settings.css | 4 | ||||
-rw-r--r-- | settings/templates/apps.php | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css index 1cdfcc77515..991ebb0c05f 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -629,6 +629,10 @@ span.version { white-space: pre-line; } +#apps-list .groups-enable { + margin-top: 8px; +} + #app-category-1 { margin-bottom: 18px; } diff --git a/settings/templates/apps.php b/settings/templates/apps.php index 2cb8378d74e..2f7d66cdf28 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -125,11 +125,10 @@ script( <input class="update hidden" type="submit" value="<?php p($l->t('Update to %s', array('{{update}}'))); ?>" data-appid="{{id}}" /> {{#if active}} <input class="enable" type="submit" data-appid="{{id}}" data-active="true" value="<?php p($l->t("Disable"));?>"/> - <span class="groups-enable"> + <div class="groups-enable"> <input type="checkbox" class="groups-enable__checkbox checkbox" id="groups_enable-{{id}}"/> <label for="groups_enable-{{id}}"><?php p($l->t('Enable only for specific groups')); ?></label> - </span> - <br /> + </div> <input type="hidden" id="group_select" title="<?php p($l->t('All')); ?>" style="width: 200px"> {{else}} <input class="enable{{#if needsDownload}} needs-download{{/if}}" type="submit" data-appid="{{id}}" data-active="false" {{#unless canInstall}}disabled="disabled"{{/unless}} value="<?php p($l->t("Enable"));?>"/> |