layout.guest.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" >
  3. <head data-requesttoken="<?php p($_['requesttoken']); ?>">
  4. <meta charset="utf-8">
  5. <title>
  6. <?php p($theme->getTitle()); ?>
  7. </title>
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  9. <meta name="referrer" content="no-referrer">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  11. <meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
  12. <meta name="theme-color" content="<?php p($theme->getColorPrimary()); ?>">
  13. <link rel="icon" href="<?php print_unescaped(image_path('', 'favicon.ico')); /* IE11+ supports png */ ?>">
  14. <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
  15. <link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('', 'favicon-mask.svg')); ?>" color="<?php p($theme->getColorPrimary()); ?>">
  16. <link rel="manifest" href="<?php print_unescaped(image_path('', 'manifest.json')); ?>">
  17. <?php emit_css_loading_tags($_); ?>
  18. <?php emit_script_loading_tags($_); ?>
  19. <?php print_unescaped($_['headers']); ?>
  20. </head>
  21. <body id="<?php p($_['bodyid']);?>">
  22. <?php include 'layout.noscript.warning.php'; ?>
  23. <?php foreach ($_['initialStates'] as $app => $initialState) { ?>
  24. <input type="hidden" id="initial-state-<?php p($app); ?>" value="<?php p(base64_encode($initialState)); ?>">
  25. <?php }?>
  26. <div class="wrapper">
  27. <div class="v-align">
  28. <?php if ($_['bodyid'] === 'body-login' ): ?>
  29. <header role="banner">
  30. <div id="header">
  31. <div class="logo">
  32. <h1 class="hidden-visually">
  33. <?php p($theme->getName()); ?>
  34. </h1>
  35. <?php if(\OC::$server->getConfig()->getSystemValue('installed', false)
  36. && \OC::$server->getConfig()->getAppValue('theming', 'logoMime', false)): ?>
  37. <img src="<?php p($theme->getLogo()); ?>"/>
  38. <?php endif; ?>
  39. </div>
  40. </div>
  41. </header>
  42. <?php endif; ?>
  43. <main>
  44. <?php print_unescaped($_['content']); ?>
  45. </main>
  46. </div>
  47. </div>
  48. <footer role="contentinfo">
  49. <p class="info">
  50. <?php print_unescaped($theme->getLongFooter()); ?>
  51. </p>
  52. </footer>
  53. </body>
  54. </html>