]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed styles in update overview page
authorVincent Petry <pvince81@owncloud.com>
Tue, 27 May 2014 14:36:21 +0000 (16:36 +0200)
committerVincent Petry <pvince81@owncloud.com>
Tue, 27 May 2014 14:36:21 +0000 (16:36 +0200)
core/css/styles.css
core/templates/update.admin.php

index 423c40f61847980eb9d5f7156874654b587b5427..fdfe282198d4d518b273d4d9337d96cb4a9739a1 100644 (file)
@@ -370,6 +370,16 @@ input[type="submit"].enabled {
        opacity: .6;
 }
 
+#body-login .update .title {
+       font-weight: bold;
+       font-size: 18px;
+       margin-bottom: 30px;
+}
+
+#body-login .infogroup {
+       margin-bottom: 15px;
+}
+
 #body-login p#message img {
        vertical-align: middle;
        padding: 5px;
index b9b0fdb77484be059e1947aab38ae8e4e70bb20a..acc9c26c662821f3272793888e2c58d3ef4b4886 100644 (file)
@@ -1,12 +1,12 @@
 <div class="update">
        <form name="updateForm" class="updateForm">
-               <h2 class="title bold">
+               <p class="title bold">
                <?php p($l->t('%s will be updated to version %s.',
                        array($_['productName'], $_['version']))); ?>
-               </h2>
+               </p>
                <?php if (!empty($_['appList'])) { ?>
-               <div class="section">
-                       <div class="title bold"><?php p($l->t('The following apps will be disabled during the upgrade:')) ?></div>
+               <div class="infogroup">
+                       <p class="bold"><?php p($l->t('The following apps will be disabled during the upgrade:')) ?></p>
                        <ul class="content appList">
                        <?php foreach ($_['appList'] as $appInfo) { ?>
                        <li><?php p($appInfo['name']) ?> (<?php p($appInfo['id']) ?>)</li>
                </div>
                <?php } ?>
                <?php if (!empty($_['oldTheme'])) { ?>
-               <div class="section">
-                       <div class="title bold"><?php p($l->t('The theme %s has been disabled.', array($_['oldTheme']))) ?></div>
+               <div class="infogroup">
+                       <p class="bold"><?php p($l->t('The theme %s has been disabled.', array($_['oldTheme']))) ?></p>
                </div>
                <?php } ?>
-               <div class="section">
-                       <div class="title bold"><?php p($l->t('Please make sure that the database and the data folder have been backed up before proceeding.')) ?></div>
+               <div class="infogroup">
+                       <p class="bold"><?php p($l->t('Please make sure that the database and the data folder have been backed up before proceeding.')) ?></p>
                </div>
-               <div class="section">
+               <div>
                        <input type="submit" value="<?php p($l->t('Start upgrade')) ?>"></input>
                </div>
        </form>