summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2016-12-02 23:54:24 +0100
committerFelix A. Epp <work@felixepp.de>2016-12-05 00:02:41 +0100
commit0d61707e25120e4e594e80a7acdfe9cab5c64560 (patch)
tree84b0a36ece82769b6d11547ba97c7fbfe8a7faa1 /settings
parent220452e9438062f8201ec27ec606f21908af12a6 (diff)
downloadnextcloud-server-0d61707e25120e4e594e80a7acdfe9cab5c64560.tar.gz
nextcloud-server-0d61707e25120e4e594e80a7acdfe9cab5c64560.zip
Change groups enable to block element
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: Felix A. Epp <work@felixepp.de>
Diffstat (limited to 'settings')
-rw-r--r--settings/css/settings.css4
-rw-r--r--settings/templates/apps.php5
2 files changed, 6 insertions, 3 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 23d6cd98007..cda30143644 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -592,6 +592,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"));?>"/>