12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- /**
- * @file
- * Default theme implementation to display a single Drupal page while offline.
- *
- * All the available variables are mirrored in html.tpl.php and page.tpl.php.
- * Some may be blank but they are provided for consistency.
- *
- * @see template_preprocess()
- * @see template_preprocess_maintenance_page()
- *
- * @ingroup themeable
- */
- ?><!DOCTYPE html>
- <html<?php print $html_attributes;?><?php print $rdf_namespaces;?>>
- <head>
- <link rel="profile" href="<?php print $grddl_profile; ?>" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <?php print $head; ?>
- <title><?php print $head_title; ?></title>
- <?php print $styles; ?>
- <!-- HTML5 element support for IE6-8 -->
- <!--[if lt IE 9]>
- <script src="https://cdn.jsdelivr.net/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
- <![endif]-->
- <?php print $scripts; ?>
- </head>
- <body<?php print $body_attributes; ?>>
- <div id="skip-link">
- <a href="#main-content" class="element-invisible element-focusable"><?php print t('Skip to main content'); ?></a>
- </div>
- <?php print $page_top; ?>
- <header id="navbar" role="banner" class="<?php print $navbar_classes; ?>">
- <div class="<?php print $container_class; ?>">
- <div class="navbar-header">
- <?php if ($logo): ?>
- <a class="logo navbar-btn pull-left" href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>">
- <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
- </a>
- <?php endif; ?>
- <?php if (!empty($site_name)): ?>
- <a class="name navbar-brand" href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a>
- <?php endif; ?>
- </div>
- </div>
- </header>
- <div class="main-container <?php print $container_class; ?>">
- <div class="row">
- <section class="col-sm-12">
- <a id="main-content"></a>
- <?php if (!empty($title)): ?>
- <h1 class="page-header"><?php print $title; ?></h1>
- <?php endif; ?>
- <?php if (!empty($content)): ?>
- <?php print $content; ?>
- <?php endif; ?>
- </section>
- </div>
- </div>
- <?php print $page_bottom; ?>
- </body>
- </html>
|