summaryrefslogtreecommitdiffstats
path: root/core/templates/update.admin.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-05-28 11:29:22 +0200
committerVincent Petry <pvince81@owncloud.com>2014-05-28 11:29:22 +0200
commit7e055a94044100c17ffa103c56e2d238f9b4e6ac (patch)
treeabc69be2362914918b281c17f5af3d04fb40bbfe /core/templates/update.admin.php
parentca45937d84266f63e9ccf4a37820ad1e254ba5d3 (diff)
downloadnextcloud-server-7e055a94044100c17ffa103c56e2d238f9b4e6ac.tar.gz
nextcloud-server-7e055a94044100c17ffa103c56e2d238f9b4e6ac.zip
Fixed DOM elements, styling and code style issues
- Reduced number of DOM elements - Also added mention of "config" backup.
Diffstat (limited to 'core/templates/update.admin.php')
-rw-r--r--core/templates/update.admin.php33
1 files changed, 14 insertions, 19 deletions
diff --git a/core/templates/update.admin.php b/core/templates/update.admin.php
index acc9c26c662..a09e2d07bf4 100644
--- a/core/templates/update.admin.php
+++ b/core/templates/update.admin.php
@@ -1,32 +1,27 @@
<div class="update">
- <form name="updateForm" class="updateForm">
- <p class="title bold">
- <?php p($l->t('%s will be updated to version %s.',
- array($_['productName'], $_['version']))); ?>
- </p>
+ <div class="updateOverview">
+ <h2 class="title bold"><?php p($l->t('%s will be updated to version %s.',
+ array($_['productName'], $_['version']))); ?></h2>
<?php if (!empty($_['appList'])) { ?>
<div class="infogroup">
- <p class="bold"><?php p($l->t('The following apps will be disabled during the upgrade:')) ?></p>
+ <span class="bold"><?php p($l->t('The following apps will be disabled:')) ?></span>
<ul class="content appList">
- <?php foreach ($_['appList'] as $appInfo) { ?>
- <li><?php p($appInfo['name']) ?> (<?php p($appInfo['id']) ?>)</li>
- <?php } ?>
+ <?php foreach ($_['appList'] as $appInfo) { ?>
+ <li><?php p($appInfo['name']) ?> (<?php p($appInfo['id']) ?>)</li>
+ <?php } ?>
</ul>
</div>
<?php } ?>
<?php if (!empty($_['oldTheme'])) { ?>
- <div class="infogroup">
- <p class="bold"><?php p($l->t('The theme %s has been disabled.', array($_['oldTheme']))) ?></p>
+ <div class="infogroup bold">
+ <?php p($l->t('The theme %s has been disabled.', array($_['oldTheme']))) ?>
</div>
<?php } ?>
- <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>
- <input type="submit" value="<?php p($l->t('Start upgrade')) ?>"></input>
+ <div class="infogroup bold">
+ <?php p($l->t('Please make sure that the database, the config folder and the data folder have been backed up before proceeding.')) ?>
</div>
- </form>
-
- <div class="updateProgress hidden">
+ <input class="updateButton" type="button" value="<?php p($l->t('Start update')) ?>">
</div>
+
+ <div class="updateProgress hidden"></div>
</div>