maintenance_mode.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html lang="<?=htmlspecialchars(Core::getLang())?>">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="x-ua-compatible" content="ie=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title><?=htmlspecialchars(__("Maintenance In Progress"))?> | <?=htmlspecialchars(APP_NAME)?></title>
  8. <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet" />
  9. <?php
  10. $stylesheets = Core::getStylesheets();
  11. foreach($stylesheets as $stylesheet) {
  12. HTML::stylesheet($stylesheet);
  13. }
  14. ?>
  15. <link rel="icon" href="/<?=Core::getIcon()?>?<?=filemtime("public/" . Core::getIcon())?>" />
  16. <script type="text/javascript" src="/js/all.min.js?<?=filemtime("public/js/all.min.js")?>"></script>
  17. </head>
  18. <body class="d-flex justify-content-center" style="padding: 0; height: 100vh;">
  19. <div class="container align-self-center">
  20. <div class="row">
  21. <div class="col-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3">
  22. <div class="card border rounded bg-light text-dark">
  23. <div class="card-body text-center">
  24. <p><img class="img-fluid" src="/<?=htmlspecialchars(Core::getLogo())?>" alt="<?=htmlspecialchars(APP_NAME)?>"></p>
  25. <h3><?=htmlspecialchars(__("Maintenance In Progress"))?></h3>
  26. <p><?=htmlspecialchars(__("%s is currently undergoing maintenance.", APP_NAME))?></p>
  27. <p>
  28. <strong><?=htmlspecialchars(__("Maintenance is expected to finish on %s.", MAINTENANCE_END_DATE))?></strong>
  29. </p>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. </body>
  36. </html>