2015-04-23 10:24:50 +02:00
< ? php $this -> layout ( 'theme::layout/00_layout' ) ?>
< ? php if ( $params [ 'repo' ]) { ?>
< a href = " https://github.com/<?php echo $params['repo'] ; ?> " target = " _blank " id = " github-ribbon " class = " hidden-print " >< img src = " https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png " alt = " Fork me on GitHub " ></ a >
< ? php } ?>
< div class = " container-fluid fluid-height wrapper " >
< div class = " navbar navbar-fixed-top hidden-print " >
< div class = " container-fluid " >
< a class = " brand navbar-brand pull-left " href = " <?php echo $index ;?> " >< ? php echo $params [ 'title' ]; ?> </a>
< p class = " navbar-text pull-right " > Generated by < a href = " http://daux.io " > Daux . io </ a ></ p >
</ div >
</ div >
< div class = " row columns content " >
< div class = " left-column article-tree col-sm-3 hidden-print " >
<!-- For Mobile -->
< div class = " responsive-collapse " >
< button type = " button " class = " btn btn-sidebar " id = " menu-spinner-button " >
< span class = " icon-bar " ></ span >
< span class = " icon-bar " ></ span >
< span class = " icon-bar " ></ span >
</ button >
</ div >
< div id = " sub-nav-collapse " class = " sub-nav-collapse " >
<!-- Navigation -->
< ? php
if ( $page [ 'language' ] !== '' ) echo $this -> get_navigation ( $tree -> value [ $page [ 'language' ]], $page [ 'language' ], $params [ 'request' ], $base_page , $params [ 'mode' ]);
else echo $this -> get_navigation ( $tree , '' , $params [ 'request' ], $base_page , $params [ 'mode' ]);
?>
2015-04-23 15:47:05 +02:00
< ? php if ( ! empty ( $params [ 'links' ]) || ! empty ( $params [ 'twitter' ]) || $params [ 'toggle_code' ]) { ?>
2015-04-23 10:24:50 +02:00
< div class = " well well-sidebar " >
<!-- Links -->
< ? php foreach ( $params [ 'links' ] as $name => $url ) echo '<a href="' . $url . '" target="_blank">' . $name . '</a><br>' ; ?>
< ? php if ( $params [ 'toggle_code' ]) echo '<a href="#" id="toggleCodeBlockBtn" onclick="toggleCodeBlocks();">Show Code Blocks Inline</a><br>' ; ?>
<!-- Twitter -->
< ? php foreach ( $params [ 'twitter' ] as $handle ) { ?>
< div class = " twitter " >
< hr />
< iframe allowtransparency = " true " frameborder = " 0 " scrolling = " no " style = " width:162px; height:20px; " src = " https://platform.twitter.com/widgets/follow_button.html?screen_name=<?php echo $handle ;?>&show_count=false " ></ iframe >
</ div >
< ? php } ?>
</ div >
< ? php } ?>
</ div >
</ div >
< div class = " right-column <?php echo ( $params['float'] ?'float-view':''); ?> content-area col-sm-9 " >
< div class = " content-page " >
< ? = $this -> section ( 'content' ); ?>
</ div >
</ div >
</ div >
</ div >