nextcloud/core/templates/layout.guest.php

54 lines
2.2 KiB
PHP
Raw Normal View History

2011-04-17 01:29:54 +04:00
<!DOCTYPE html>
2016-06-16 09:28:43 +03:00
<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" >
<head data-requesttoken="<?php p($_['requesttoken']); ?>">
<meta charset="utf-8">
<title>
<?php p($theme->getTitle()); ?>
</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="referrer" content="never">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
2014-08-28 12:12:59 +04:00
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
<meta name="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">
<link rel="icon" href="<?php print_unescaped(image_path('', 'favicon.ico')); /* IE11+ supports png */ ?>">
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
<link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('', 'favicon-mask.svg')); ?>" color="#1d2d44">
2011-08-20 00:53:07 +04:00
<?php foreach($_['cssfiles'] as $cssfile): ?>
2015-06-10 13:16:45 +03:00
<link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>">
<?php endforeach; ?>
<?php foreach($_['printcssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="print">
<?php endforeach; ?>
2011-08-20 00:53:07 +04:00
<?php foreach($_['jsfiles'] as $jsfile): ?>
<script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" src="<?php print_unescaped($jsfile); ?>"></script>
<?php endforeach; ?>
<?php print_unescaped($_['headers']); ?>
</head>
<body id="<?php p($_['bodyid']);?>">
<?php include('layout.noscript.warning.php'); ?>
<div class="wrapper">
<div class="v-align">
<?php if ($_['bodyid'] === 'body-login' ): ?>
<header role="banner">
<div id="header">
2016-06-23 14:39:28 +03:00
<div class="logo">
2014-12-18 12:50:05 +03:00
<h1 class="hidden-visually">
<?php p($theme->getName()); ?>
</h1>
</div>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
</div>
</header>
<?php endif; ?>
<?php print_unescaped($_['content']); ?>
<div class="push"></div><!-- for sticky footer -->
</div>
2013-07-22 15:16:01 +04:00
</div>
<footer role="contentinfo">
2013-06-12 16:49:30 +04:00
<p class="info">
<?php print_unescaped($theme->getLongFooter()); ?>
</p>
</footer>
</body>
</html>