layout.base.php 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2012-2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. ?>
  8. <!DOCTYPE html>
  9. <html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" translate="no" >
  10. <head data-requesttoken="<?php p($_['requesttoken']); ?>">
  11. <meta charset="utf-8">
  12. <title>
  13. <?php p($theme->getTitle()); ?>
  14. </title>
  15. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  16. <meta name="theme-color" content="<?php p($theme->getColorPrimary()); ?>">
  17. <link rel="icon" href="<?php print_unescaped(image_path('core', 'favicon.ico')); /* IE11+ supports png */ ?>">
  18. <link rel="apple-touch-icon" href="<?php print_unescaped(image_path('core', 'favicon-touch.png')); ?>">
  19. <link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('core', 'favicon-mask.svg')); ?>" color="<?php p($theme->getColorPrimary()); ?>">
  20. <?php emit_css_loading_tags($_); ?>
  21. <?php emit_script_loading_tags($_); ?>
  22. <?php print_unescaped($_['headers']); ?>
  23. </head>
  24. <body id="body-public" class="layout-base">
  25. <?php include 'layout.noscript.warning.php'; ?>
  26. <?php include 'layout.initial-state.php'; ?>
  27. <div id="content" class="app-public" role="main">
  28. <?php print_unescaped($_['content']); ?>
  29. </div>
  30. </body>
  31. </html>