-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'Moscone Flipped' panels layout.
- Loading branch information
Showing
3 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+7.7 KB
...hemes/pece_scholarly_lite/layouts/pece_moscone_flipped/pece-moscone-flipped.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions
46
...pece/themes/pece_scholarly_lite/layouts/pece_moscone_flipped/pece-moscone-flipped.tpl.php
This file contains 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
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 --> |
14 changes: 14 additions & 0 deletions
14
...les/pece/themes/pece_scholarly_lite/layouts/pece_moscone_flipped/pece_moscone_flipped.inc
This file contains 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
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'), | ||
), | ||
); |