[Pkg-owncloud-commits] [owncloud] 63/199: Fixed styles in update overview page

David Prévot taffit at moszumanska.debian.org
Sun Jun 1 18:53:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit ca45937d84266f63e9ccf4a37820ad1e254ba5d3
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Tue May 27 16:36:21 2014 +0200

    Fixed styles in update overview page
---
 core/css/styles.css             | 10 ++++++++++
 core/templates/update.admin.php | 18 +++++++++---------
 2 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/core/css/styles.css b/core/css/styles.css
index 423c40f..fdfe282 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -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;
diff --git a/core/templates/update.admin.php b/core/templates/update.admin.php
index b9b0fdb..acc9c26 100644
--- a/core/templates/update.admin.php
+++ b/core/templates/update.admin.php
@@ -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>
@@ -15,14 +15,14 @@
 		</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>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list