Skip to content

Instantly share code, notes, and snippets.

@michellemhey
Created October 18, 2013 15:06
Show Gist options
  • Save michellemhey/7042946 to your computer and use it in GitHub Desktop.
Save michellemhey/7042946 to your computer and use it in GitHub Desktop.
page--front.tpl.php for urgentteam
<?php
//kpr(get_defined_vars());
//kpr($theme_hook_suggestions);
//template naming
//page--[CONTENT TYPE].tpl.php
?>
<?php if( theme_get_setting('mothership_poorthemers_helper') ){ ?>
<!-- page.tpl.php-->
<?php } ?>
<?php print $mothership_poorthemers_helper; ?>
<header role="banner">
<div class="siteinfo">
<?php if ($logo): ?>
<figure>
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home">
<img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
</a>
</figure>
<?php endif; ?>
<?php if($site_name OR $site_slogan ): ?>
<hgroup>
<?php if($site_name): ?>
<h1><?php print $site_name; ?></h1>
<?php endif; ?>
<?php if ($site_slogan): ?>
<h2><?php print $site_slogan; ?></h2>
<?php endif; ?>
</hgroup>
<?php endif; ?>
</div>
<?php if($page['header']): ?>
<div class="header-region">
<button class="navbar-toggle">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse">
<?php print render($page['header']); ?>
</div>
<div class="navbar-buttons">
<div class="navbar-btn-left">Patient Forms</div>
<div class="navbar-btn-right">Pay Your Bill</div>
</div>
<?php endif; ?>
</header>
<div class="page">
<div role="main" id="main-content">
<?php print render($title_prefix); ?>
<?php if ($title): ?>
<?php if (!$is_front): ?>
<h1><?php print $title; ?></h1>
<?php endif; ?>
<?php endif; ?>
<?php print render($title_suffix); ?>
<?php print $breadcrumb; ?>
<?php if ($action_links): ?>
<ul class="action-links"><?php print render($action_links); ?></ul>
<?php endif; ?>
<?php if (isset($tabs['#primary'][0]) || isset($tabs['#secondary'][0])): ?>
<nav class="tabs"><?php print render($tabs); ?></nav>
<?php endif; ?>
<?php if($page['highlighted'] OR $messages){ ?>
<div class="drupal-messages">
<?php print render($page['highlighted']); ?>
<?php print $messages; ?>
</div>
<?php } ?>
<section class="hero-container">
<div class="hero-content">
<div class="hero-left">
<div class="hero-left-container center">
<span class="hero-location-title">Location Near You</span>
<!-- <div class="search-form">
<input></input>
</div> -->
<div class="hero-address">
<div class="view-filters">
<form action="/location-search" method="get" id="views-exposed-form-location-search-page" accept-charset"UTF-8">
<div class="views-exposed-form">
<div class="views-exposed-widgets clearfix">
<div id="edit-keys-wrapper" class="views-exposed-widget views-widget-filter-keys">
<label for="edit-keys">
Search Terms
</label>
<div class="views-widget">
<div>
<input title="Enter the terms you wish to search for." type="text" id="edit-keys" name="keys" value="" size="20" maxlength="128" />
</div>
</div>
</div>
<div class="views-exposed-widget views-submit-button">
<input type="submit" id="edit-submit-location-search" name="" value="Search" />
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="hero-right">
<h2>
Solare Dolare Etsam
<br>
Lorem Ipsum Dolor
</h2>
<p>
Donec sed odio dui. Aenean lacinia
<br>
biben dum nulla sed consect.
<div class="hero-download-coupon-btn">
Download Coupon
</div>
</p>
<?php //print render($page['hero']); ?>
</div>
</div>
</section><!-- /.hero-container -->
<section class="home-content">
<div class="center">
<h1>Pellentesque habitant morbi tristique senectus et</h1>
</div>
<div class="home-content-left">
<img style="border-radius: 6px;" src="http://placehold.it/336x216">
</div>
<div class="home-content-right">
<?php print render($page['content_pre']); ?>
<?php print render($page['content']); ?>
<?php print render($page['content_post']); ?>
<p class="home-content-more"><a href="#">Find Out More &raquo;</a></p>
</div>
</section>
<section class="home-bottom">
<div class="home-bottom-left">
<h3>What Our Patients Are Saying</h3>
<div class="home-testimonial-image">
<img style="border-radius: 6px;" src="http://placehold.it/140x126">
</div>
<div class="home-testimonial">
<p>
“Donec id elit non mi porta gravida at eget. Maecenas sed diam eget risus varius blandit sit amet.”
</p>
<div class="home-testimonial-meta">
Tom Watkins | Nashville
</div>
</div>
<div class="clearfix"></div>
<div class="home-testimonial-image">
<img style="border-radius: 6px;" src="http://placehold.it/140x126">
</div>
<div class="home-testimonial">
<p>
“Donec id elit non mi porta gravida at eget. Maecenas sed diam eget risus varius blandit sit amet.”
</p>
<div class="home-testimonial-meta">
Sue Ellen Mischke | Nolensville
</div>
</div>
</div><!-- /.home-bottom-left -->
<div class="home-bottom-right">
<div class="home-newsletter">
<h3>
Sign Up For The
<br>
Urgent Team Newsletter
</h3>
<p>Sign up to receive our health tips and updates via email as well as our urgent care center news.</p>
<input>
<br>
<input>
<div class="home-newsletter-btn">Sign Up <span></span></div>
</div>
</div><!-- /.home-bottom-right -->
</section>
</div><!-- /main-->
<?php if ($page['sidebar_first']): ?>
<div class="sidebar-first">
<?php print render($page['sidebar_first']); ?>
</div>
<?php endif; ?>
<?php if ($page['sidebar_second']): ?>
<div class="sidebar-second">
<?php print render($page['sidebar_second']); ?>
</div>
<?php endif; ?>
</div><!-- /page-->
<footer role="contentinfo">
<?php print render($page['footer']); ?>
</footer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment