Fixed styles in update overview page

This commit is contained in:
Vincent Petry 2014-05-27 16:36:21 +02:00
parent 02f682b156
commit ca45937d84
2 changed files with 19 additions and 9 deletions

View 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;

View 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>
@ -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>