maintenance_mode.php 1.3 KB

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