Last active
August 29, 2015 14:08
-
-
Save lsolesen/27e49089271d83f4308c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @file | |
| * Default theme implementation to display a single Drupal page. | |
| * | |
| * @see template_preprocess() | |
| * @see template_preprocess_page() | |
| * @see template_process() | |
| * @see html.tpl.php | |
| */ | |
| ?> | |
| <div class="container l-wrapper"> | |
| <header id="header" class="header" role="header"> | |
| <a class="pull-right" href="<?php print $front_page; ?>" id="logo" class="navbar-brand"> | |
| <?php print $site_name; ?> | |
| </a> | |
| </header> | |
| <div class="container-md-height"> | |
| <div id="main-wrapper" class="row row-eq-height"> | |
| <div class="navigation col-md-3 col-md-height"> | |
| <nav class="navbar navbar-default" role="navigation"> | |
| <!-- Brand and toggle get grouped for better mobile display --> | |
| <div class="navbar-header"> | |
| <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse"> | |
| <span class="sr-only"><?php print t('Toggle navigation'); ?></span> | |
| <span class="icon-bar"></span> | |
| <span class="icon-bar"></span> | |
| <span class="icon-bar"></span> | |
| </button> | |
| <a href="<?php print $front_page; ?>" id="logo" class="navbar-brand"> | |
| <?php print $site_name; ?> | |
| </a> | |
| </div> <!-- /.navbar-header --> | |
| <!-- Collect the nav links, forms, and other content for toggling --> | |
| <div class="collapse navbar-collapse" id="navbar-collapse"> | |
| <?php if ($main_menu): ?> | |
| <ul id="main-menu" class="menu nav navbar-pills"> | |
| <?php print render($main_menu); ?> | |
| </ul> | |
| <?php endif; ?> | |
| <?php if ($search_form): ?> | |
| <?php print $search_form; ?> | |
| <?php endif; ?> | |
| </div><!-- /.navbar-collapse --> | |
| </nav><!-- /.navbar --> | |
| </div> | |
| <div id="main" class="main col-md-6 col-md-height"> | |
| <div> | |
| <?php if ($breadcrumb): ?> | |
| <div id="breadcrumb" class="visible-desktop"> | |
| <?php print $breadcrumb; ?> | |
| </div> | |
| <?php endif; ?> | |
| <?php if ($messages): ?> | |
| <div id="messages"> | |
| <?php print $messages; ?> | |
| </div> | |
| <?php endif; ?> | |
| <div id="page-header"> | |
| <?php if ($title): ?> | |
| <div class="page-header"> | |
| <h1 class="title"><?php print $title; ?></h1> | |
| </div> | |
| <?php endif; ?> | |
| <?php if ($tabs): ?> | |
| <div class="tabs"> | |
| <?php print render($tabs); ?> | |
| </div> | |
| <?php endif; ?> | |
| <?php if ($action_links): ?> | |
| <ul class="action-links"> | |
| <?php print render($action_links); ?> | |
| </ul> | |
| <?php endif; ?> | |
| </div> | |
| </div> | |
| <div id="content"> | |
| <?php print render($page['content']); ?> | |
| </div> | |
| </div> <!-- /#main --> | |
| <div class="col-md-3 sidebar col-md-height"> | |
| <?php print render($page['sidebar_second']); ?> | |
| </div> | |
| </div> <!-- /#main-wrapper --> | |
| </div> | |
| <footer id="footer" class="footer" role="footer"> | |
| <div> | |
| <?php if ($copyright): ?> | |
| <small class="copyright pull-left"><?php print $copyright; ?></small> | |
| <?php endif; ?> | |
| <small class="pull-right"><a href="#"><?php print t('Back to Top'); ?></a></small> | |
| </div> | |
| </footer> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment