]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix layout for Sharing settings
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 26 Mar 2015 20:23:49 +0000 (21:23 +0100)
committerJoas Schilling <nickvergessen@owncloud.com>
Fri, 27 Mar 2015 08:38:13 +0000 (09:38 +0100)
apps/files_sharing/templates/settings-admin.php
core/css/apps.css

index 96d865ac5dda41df02b62ebc4b48958f8d13ac32..bd8035175970565cfc12554ab671ab4c73e18e6b 100644 (file)
@@ -2,20 +2,22 @@
 /** @var OC_L10N $l */
 /** @var array $_ */
 ?>
-<div id="fileSharingSettings" >
-
+<div id="fileSharingSettings">
        <h3><?php p($l->t('Federated Cloud Sharing'));?></h3>
 
-       <input type="checkbox" name="outgoing_server2server_share_enabled" id="outgoingServer2serverShareEnabled"
-                  value="1" <?php if ($_['outgoingServer2serverShareEnabled']) print_unescaped('checked="checked"'); ?> />
-       <label for="outgoingServer2serverShareEnabled">
-               <?php p($l->t('Allow users on this server to send shares to other servers'));?>
-       </label><br/>
-
-       <input type="checkbox" name="incoming_server2server_share_enabled" id="incomingServer2serverShareEnabled"
-                  value="1" <?php if ($_['incomingServer2serverShareEnabled']) print_unescaped('checked="checked"'); ?> />
-       <label for="incomingServer2serverShareEnabled">
-               <?php p($l->t('Allow users on this server to receive shares from other servers'));?>
-       </label><br/>
+       <p>
+               <input type="checkbox" name="outgoing_server2server_share_enabled" id="outgoingServer2serverShareEnabled"
+                          value="1" <?php if ($_['outgoingServer2serverShareEnabled']) print_unescaped('checked="checked"'); ?> />
+               <label for="outgoingServer2serverShareEnabled">
+                       <?php p($l->t('Allow users on this server to send shares to other servers'));?>
+               </label>
+       </p>
 
+       <p>
+               <input type="checkbox" name="incoming_server2server_share_enabled" id="incomingServer2serverShareEnabled"
+                          value="1" <?php if ($_['incomingServer2serverShareEnabled']) print_unescaped('checked="checked"'); ?> />
+               <label for="incomingServer2serverShareEnabled">
+                       <?php p($l->t('Allow users on this server to receive shares from other servers'));?>
+               </label><br/>
+       </p>
 </div>
index 2bac961d36f3cfbeb42ea631a61a3f39cbcb5c2b..e8c60bd4773179d71e15a170ddf59f3e293a4cf6 100644 (file)
@@ -500,8 +500,9 @@ button.loading {
        font-weight: normal;
 }
 .section h3 {
-       font-size: 16px;
+       font-size: 15px;
        font-weight: normal;
+       margin: 12px 0;
 }
 /* slight position correction of checkboxes and radio buttons */
 .section input[type="checkbox"],