You are here

radix-webb.tpl.php in Radix Layouts 7.3

Same filename and directory in other branches
  1. 7.2 plugins/layouts/radix_webb/radix-webb.tpl.php

Template for Radix Webb.

Variables:

  • $css_id: An optional CSS id to use for the layout.
  • $content: An array of content, each item in the array is keyed to one

panel of the layout. This layout supports the following sections:

File

plugins/layouts/radix_webb/radix-webb.tpl.php
View source
<?php

/**
 * @file
 * Template for Radix Webb.
 *
 * Variables:
 * - $css_id: An optional CSS id to use for the layout.
 * - $content: An array of content, each item in the array is keyed to one
 * panel of the layout. This layout supports the following sections:
 */
?>

<div class="panel-display webb clearfix <?php

if (!empty($classes)) {
  print $classes;
}
if (!empty($class)) {
  print $class;
}
?>" <?php

if (!empty($css_id)) {
  print "id=\"{$css_id}\"";
}
?>>

  <div class="container-fluid">
    <div class="row">
      <div class="col-md-12 radix-layouts-header panel-panel">
        <div class="panel-panel-inner">
          <?php

print $content['header'];
?>
        </div>
      </div>
    </div>

    <div class="row">
      <div class="col-md-4 radix-layouts-sidebar panel-panel">
        <div class="panel-panel-inner">
          <?php

print $content['sidebar'];
?>
        </div>
      </div>
      <div class="col-md-8 panel-panel">
        <div class="row">
          <div class="col-md-12 radix-layouts-contentheader panel-panel">
            <div class="panel-panel-inner">
              <?php

print $content['contentheader'];
?>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col-md-6 radix-layouts-contentcolumn1 radix-layouts-content panel-panel">
            <div class="panel-panel-inner">
              <?php

print $content['contentcolumn1'];
?>
            </div>
          </div>
          <div class="col-md-6 radix-layouts-contentcolumn2 radix-layouts-content panel-panel">
            <div class="panel-panel-inner">
              <?php

print $content['contentcolumn2'];
?>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>

</div><!-- /.webb -->