diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-08-09 16:57:14 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-08-09 17:08:24 +0300 |
commit | 2a9c3367c0e7d5c020e4d47222c1a252307332e9 (patch) | |
tree | 2caf7ba8a02ba9d52611bc0e28ca780ca27ecc40 /templates | |
parent | bd517f19e1b5eb8650a6419a9f44443db0f6e8b1 (diff) |
Move settings registration to info.xml and adapt Nextcloud design in the settings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/settings.admin.php | 38 |
1 files changed, 14 insertions, 24 deletions
diff --git a/templates/settings.admin.php b/templates/settings.admin.php index eec0ae24..c97834b2 100644 --- a/templates/settings.admin.php +++ b/templates/settings.admin.php @@ -11,28 +11,18 @@ style(Application::APP_NAME, 'admin'); <div class="section" id="circles"> <h2><?php p($l->t('Circles')) ?></h2> - <table cellpadding="10" cellpadding="5"> - <tr class="lane"> - <td colspan="2" class="left"><?php p($l->t('Members limit:')); ?><br/> - <em><?php p($l->t('Default limit to the number of members in a circle.')); ?></em></td> - <td class="right"> - <input type="text" id="members_limit"/> - </td> - </tr> - <tr class="lane"> - <td colspan="2" class="left"><?php p($l->t('Allow linking of groups:')); ?><br/> - <em><?php p($l->t('Groups can be linked to circles.')); ?></em></td> - <td class="right"> - <input type="checkbox" value="1" id="allow_linked_groups"/> - </td> - </tr> - <tr class="lane"> - <td colspan="2" class="left"><?php p($l->t('Allow federated circles:')); ?><br/> - <em><?php p($l->t('Circles from different Nextclouds can be linked together.')); ?></em> - </td> - <td class="right"> - <input type="checkbox" value="1" id="allow_federated_circles"/> - </td> - </tr> - </table> + <p> + <label><?php p($l->t('Maximum number of members per circle')); ?></label><br /> + <input type="text" id="members_limit" /> + </p> + <p> + <input type="checkbox" value="1" id="allow_linked_groups" class="checkbox" /> + <label for="allow_linked_groups"><?php p($l->t('Allow linking of groups')); ?></label> + <em><?php p($l->t('Groups can be linked to circles.')); ?></em> + </p> + <p> + <input type="checkbox" value="1" id="allow_federated_circles" class="checkbox"/> + <label for="allow_federated_circles"><?php p($l->t('Allow federated circles')); ?></label> + <em><?php p($l->t('Circles from different Nextclouds can be linked together.')); ?></em> + </p> </div> |