Commit 9bc930a8 authored by Michael Joyce's avatar Michael Joyce
Browse files

Add the View/Edit tabs back on the node pages.

Split the page template into page--front and page, to make it
more drupalish.
parent 85ba41fd
<div class="wrapper">
<div class="segment socmed">
<div class="layout">
<?php print render($page['socmed']); ?>
</div>
</div>
<div class="segment">
<div class="layout nav" role="navigation">
<?php $menu = menu_navigation_links('main-menu'); print theme('links__system_main_menu', array('links' => $menu)); ?>
</div><!-- .layout.nav -->
</div><!-- .segment closes -->
<div class="segment">
<div class="layout">
<div class="box name">
<!-- Logo from CSS in background here -->
<?php print render($page['intro']); ?>
</div>
<div class="box video">
<?php print render($page['video']); ?>
</div>
</div>
<div class="layout">
<div class="box one">
<h2>Many different stories</h2>
<?php print render($page['video-text']); ?>
</div>
</div>
</div><!-- .segment closes -->
<div class="segment">
<div class="triptych">
<div class="layout" role="">
<div class="box third column-1">
<div class="formatter">
<h2>Search</h2>
<!-- print the contents of the content block if in the region -->
<?php print render($page['triptych-column-1']); ?>
</div>
</div>
<div class="box third column-2">
<div class="formatter">
<?php print render($page['triptych-column-2']); ?>
</div>
</div>
<div class="box third column-3">
<div class="formatter">
<?php print render($page['triptych-column-3']); ?>
</div>
</div>
</div>
</div>
</div><!-- close segment? -->
<div class="push"></div><!-- needed for sticky footer -->
</div> <!-- closes div.wrapper for sticky footer -->
<?php print render($page['footer']); ?>
<?php if ($is_front): ?>
<div class="wrapper">
<div class="segment socmed">
<div class="layout">
<a href="https://www.facebook.com/alotarchives">Follow us on Facebook <?php print '<img src="'.base_path() . path_to_theme() .'/images/facebook-2-24.png">'; ?></a>
<?php print render($page['socmed']); ?>
</div>
</div>
<div class="segment">
<div class="layout nav" role="navigation">
<?php $menu = menu_navigation_links('main-menu'); print theme('links__system_main_menu', array('links' => $menu)); ?>
</div><!-- .layout.nav -->
</div><!-- .segment closes -->
<div class="segment">
<div class="layout">
<div class="box name">
<!-- Logo from CSS in background here -->
<?php print render($page['intro']); ?>
</div>
<div class="box video">
<?php print render($page['video']); ?>
</div>
</div>
<div class="layout">
<div class="box one">
<h2>Many different stories</h2>
<?php print render($page['video-text']); ?>
</div>
</div>
</div><!-- .segment closes -->
<div class="segment">
<div class="triptych">
<div class="layout" role="">
<div class="box third column-1">
<div class="formatter">
<h2>Search</h2>
<!-- print the contents of the content block if in the region -->
<?php print render($page['triptych-column-1']); ?>
</div>
</div>
<div class="box third column-2">
<div class="formatter">
<?php print render($page['triptych-column-2']); ?>
</div>
</div>
<div class="box third column-3">
<div class="formatter">
<?php print render($page['triptych-column-3']); ?>
</div>
</div>
</div>
</div>
</div><!-- close segment? -->
<div class="push"></div><!-- needed for sticky footer -->
</div> <!-- closes div.wrapper for sticky footer -->
<?php print render($page['footer']); ?>
<?php else: ?>
<div class="wrapper">
<div class="segment socmed">
<div class="layout">
<?php print render($page['socmed']); ?>
<a href="https://www.facebook.com/alotarchives">Follow us on Facebook <?php print '<img src="'.base_path() . path_to_theme() .'/images/facebook-2-24.png">'; ?></a>
</div>
</div>
<div class="segment integrated">
<div class="layout">
<a href="/" class="box quarter name-inside">
......@@ -78,23 +13,28 @@
</a>
<div class="box three-quarter nav" role="navigation">
<?php $menu = menu_navigation_links('main-menu'); print theme('links__system_main_menu', array('links' => $menu)); ?>
<div class="layout-inside-box">
<div class="box quarter push"></div>
<div class="box three-quarter search-inside">
<?php print render($page['search-inside']); ?>
</div>
</div>
</div><!-- .box.nav -->
</div>
</div>
</div><!-- .segment closes -->
<div class="segment content-1">
<div class="layout">
<?php print render($title_suffix); ?>
<?php print $messages; ?>
<?php print render($tabs); ?>
<?php if ($page['content-1']): ?>
<?php print render($page['content-1']); ?>
<?php print render($page['content-1']); ?>
<?php endif; ?>
</div>
</div><!-- .segment closes -->
......@@ -114,5 +54,4 @@
</div><!-- .segment closes -->
<div class="push"></div><!-- needed for sticky footer -->
</div> <!-- closes div.wrapper for sticky footer -->
<?php print render($page['footer']); ?>
<?php endif; ?>
<?php print render($page['footer']); ?>
......@@ -24,4 +24,4 @@
<?php endif; ?>
</div>
</div>
</div>
\ No newline at end of file
</div>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment