summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-22 20:30:29 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-22 20:30:29 +0100
commit3770ab82715e857a9b2ee2f74bcc73c5b917d8d4 (patch)
tree460c061f4d817bc1066c1e069ac2f5e572e4a46e
parent0fda4a9181a84a470e60c1262a7f1e32443ba4a5 (diff)
add import progress
-rw-r--r--includes/pages/admin_import.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/includes/pages/admin_import.php b/includes/pages/admin_import.php
index ad0b2b1e..786ea08b 100644
--- a/includes/pages/admin_import.php
+++ b/includes/pages/admin_import.php
@@ -100,7 +100,9 @@ function admin_import() {
list($rooms_new, $rooms_deleted) = prepare_rooms($import_file);
list($events_new, $events_updated, $events_deleted) = prepare_events($import_file, $shifttype_id);
- $html .= form([
+ $html .= div('well well-sm text-center', [
+ '<span class="text-success">' . _('File Upload') . glyph('ok-circle') . '</span>' . mute(glyph('arrow-right')) . _('Validation') . mute(glyph('arrow-right')) . mute(_('Import'))
+ ]) . form([
div('row', [
div('col-sm-6', [
'<h3>' . _("Rooms to create") . '</h3>',
@@ -189,7 +191,9 @@ function admin_import() {
unlink($import_file);
- $html .= success(_("It's done!"), true);
+ $html .= div('well well-sm text-center', [
+ '<span class="text-success">' . _('File Upload') . glyph('ok-circle') . '</span>' . mute(glyph('arrow-right')) . '<span class="text-success">' . _('Validation') . glyph('ok-circle') . '</span>' . mute(glyph('arrow-right')) . '<span class="text-success">' . _('Import') . glyph('ok-circle') . '</span>'
+ ]) . success(_("It's done!"), true);
break;
default:
redirect(page_link_to('admin_import'));