Show success message after migrating
This commit is contained in:
parent
ddae657108
commit
7ab2c7fe88
2 changed files with 5 additions and 1 deletions
|
@ -396,6 +396,10 @@
|
||||||
.ui.info.message .header {
|
.ui.info.message .header {
|
||||||
color: #c6e3e9;
|
color: #c6e3e9;
|
||||||
}
|
}
|
||||||
|
.ui.inverted.success.message,
|
||||||
|
.ui.inverted.success.message .header {
|
||||||
|
color: #b9d1ad;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Modal
|
* Modal
|
||||||
|
|
|
@ -37,7 +37,7 @@ if ('POST' === $_SERVER['REQUEST_METHOD']) {
|
||||||
if ($sql) {
|
if ($sql) {
|
||||||
$database->query($sql);
|
$database->query($sql);
|
||||||
|
|
||||||
$page->messages[] = Page::info(
|
$page->messages[] = Page::success(
|
||||||
sprintf(
|
sprintf(
|
||||||
__('Database successfully migrated to %s.'),
|
__('Database successfully migrated to %s.'),
|
||||||
'v' . $version['version']
|
'v' . $version['version']
|
||||||
|
|
Loading…
Reference in a new issue