From 019b0a3a6cd296892db729ca656edc03fbd1460d Mon Sep 17 00:00:00 2001 From: Luke Towers Date: Wed, 15 May 2019 19:20:25 -0600 Subject: [PATCH] Added maintenance mode view. Refs: https://github.com/octobercms/october/issues/2830 --- modules/system/lang/en/lang.php | 6 ++++++ modules/system/views/maintenance.php | 21 +++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 modules/system/views/maintenance.php diff --git a/modules/system/lang/en/lang.php b/modules/system/lang/en/lang.php index 558a572b7..cb5b0bedf 100644 --- a/modules/system/lang/en/lang.php +++ b/modules/system/lang/en/lang.php @@ -456,6 +456,12 @@ return [ 'label' => 'Page error', 'help' => "We're sorry, but something went wrong and the page cannot be displayed." ], + 'maintenance' => [ + 'label' => "We'll be right back!", + 'help' => "We're currently down for maintenance, check back soon!", + 'message' => "Message:", + 'available_at' => "Try again after:", + ], ], 'pagination' => [ 'previous' => 'Previous', diff --git a/modules/system/views/maintenance.php b/modules/system/views/maintenance.php new file mode 100644 index 000000000..557e2cf9b --- /dev/null +++ b/modules/system/views/maintenance.php @@ -0,0 +1,21 @@ + + + + + <?= Lang::get('system::lang.page.maintenance.label') ?> + + + +
+

+

+

+ +
+ + +
+ +

+ + \ No newline at end of file