Skip to content

Commit

Permalink
Add 'Moscone Flipped' panels layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
revagomes committed Feb 14, 2023
1 parent 9d397a8 commit e1e2e43
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?php
/**
* @file
* Template for Radix Moscone Flipped.
*
* 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 moscone-flipped clearfix <?php if (!empty($classes)) { print $classes; } ?><?php 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-8 radix-layouts-content panel-panel">
<div class="panel-panel-inner">
<?php print $content['contentmain']; ?>
</div>
</div>
<div class="col-md-4 radix-layouts-sidebar panel-panel">
<div class="panel-panel-inner">
<?php print $content['sidebar']; ?>
</div>
</div>
</div>

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

</div><!-- /.moscone-flipped -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
// Plugin definition
$plugin = array(
'title' => t('Moscone Flipped'),
'icon' => 'pece-moscone-flipped.png',
'category' => t('PECE'),
'theme' => 'pece_moscone_flipped',
'regions' => array(
'header' => t('Header'),
'sidebar' => t('Content Sidebar'),
'contentmain' => t('Content'),
'footer' => t('Footer'),
),
);

0 comments on commit e1e2e43

Please sign in to comment.