summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-05-26 18:43:26 +0200
committerVincent Petry <pvince81@owncloud.com>2014-05-27 14:53:08 +0200
commit146583a98d632fceaff1642cd9bc3b566c51615a (patch)
treec79d45cf52d7ceb146ee1cc3099785cff49a6bde /core/templates
parenta9661962fef21ef7a6aaf9e14ffc9c02e22c3d72 (diff)
downloadnextcloud-server-146583a98d632fceaff1642cd9bc3b566c51615a.tar.gz
nextcloud-server-146583a98d632fceaff1642cd9bc3b566c51615a.zip
Added update overview page
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/update.admin.php38
1 files changed, 32 insertions, 6 deletions
diff --git a/core/templates/update.admin.php b/core/templates/update.admin.php
index a652d5f195a..0b1ae7854de 100644
--- a/core/templates/update.admin.php
+++ b/core/templates/update.admin.php
@@ -1,6 +1,32 @@
-<ul>
- <li class='update'>
- <?php p($l->t('Updating ownCloud to version %s, this may take a while.',
- array($_['version']))); ?><br /><br />
- </li>
-</ul>
+<div class="update">
+ <form name="updateForm" class="updateForm">
+ <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="section">
+ <div class="title bold"><?php p($l->t('The following apps will be disabled during the upgrade:')) ?></div>
+ <ul class="content appList">
+ <?php foreach ($_['appList'] as $appName) { ?>
+ <li><?php p($appName) ?></li>
+ <?php } ?>
+ </ul>
+ </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>
+ <?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>
+ <div class="section">
+ <input type="submit" value="<?php p($l->t('Start upgrade')) ?>"></input>
+ </div>
+ </form>
+
+ <div class="updateProgress hidden">
+ </div>
+</div>