Single-sign-on and self-serve account management. https://netsyms.biz/apps/accounthub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

header.php 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. /*
  3. * This Source Code Form is subject to the terms of the Mozilla Public
  4. * License, v. 2.0. If a copy of the MPL was not distributed with this
  5. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  6. */
  7. header("Link: <../static/fonts/Roboto.css>; rel=preload; as=style", false);
  8. header("Link: <../static/css/bootstrap.min.css>; rel=preload; as=style", false);
  9. header("Link: <../static/css/login.css>; rel=preload; as=style", false);
  10. header("Link: <../static/css/svg-with-js.min.css>; rel=preload; as=style", false);
  11. header("Link: <../static/js/fontawesome-all.min.js>; rel=preload; as=script", false);
  12. ?>
  13. <!DOCTYPE html>
  14. <meta charset="UTF-8">
  15. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  16. <meta name="viewport" content="width=device-width, initial-scale=1">
  17. <title><?php echo $SETTINGS['site_title']; ?></title>
  18. <link rel="icon" href="../static/img/logo.svg">
  19. <link href="../static/css/bootstrap.min.css" rel="stylesheet">
  20. <link href="../static/css/login.css" rel="stylesheet">
  21. <link href="../static/css/svg-with-js.min.css" rel="stylesheet">
  22. <div class="container mt-4">
  23. <div class="row justify-content-center">
  24. <?php
  25. if (!empty($APPICON)) {
  26. ?>
  27. <div class="col-12 text-center">
  28. <img class="banner-image" src="<?php echo $APPICON; ?>" />
  29. </div>
  30. <?php
  31. } else {
  32. ?>
  33. <div class="col-12">
  34. <div class="blank-image"></div>
  35. </div>
  36. <?php
  37. }
  38. ?>
  39. <div class="col-12 text-center">
  40. <h1 class="display-5 mb-4"><?php $Strings->build("Login to {app}", ["app" => htmlentities($APPNAME)]); ?></h1>
  41. </div>
  42. <div class="col-12 col-sm-8 col-lg-6">
  43. <div class="card mt-4">
  44. <div class="card-body">
  45. <?php
  46. if (!empty($error)) {
  47. ?>
  48. <div class="text-danger">
  49. <?php echo $error; ?>
  50. </div>
  51. <?php
  52. }
  53. ?>