Example #1
0
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->
<a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button">
	<span class="sr-only">Toggle navigation</span>
	<span class="icon-bar"></span>
	<span class="icon-bar"></span>
	<span class="icon-bar"></span>
</a>

<div class="navbar-right">
<ul class="nav navbar-nav">

	<?php 
echo LanguageSelector::widget(['viewFile' => '@app/views/layouts/partials_backend/_languageSelector']);
?>


	<!-- User Account: style can be found in dropdown.less -->
	<li class="dropdown user user-menu">
		<a href="#" class="dropdown-toggle" data-toggle="dropdown">
			<i class="glyphicon glyphicon-user"></i>
			<span><?php 
echo Yii::$app->user->username;
?>
 <i class="caret"></i></span>
		</a>
		<ul class="dropdown-menu">

			<!-- Menu Footer-->
Example #2
0
echo Setting::get('twitter');
?>
" target="_blank"><i class="fa fa-tumblr  twe"></i></a></li>
        <li><a href=" <?php 
echo Setting::get('instagram');
?>
" target="_blank"><i class="fa fa-instagram  in"></i></a></li>
        <li><a href=" <?php 
echo Setting::get('youtube');
?>
" target="_blank"><i class="fa fa-youtube uTube"></i></a></li>
      </ul>   
      <ul class="heder-r">
        <li>
            <?php 
echo \webvimark\behaviors\multilanguage\language_selector_widget\LanguageSelector::widget();
?>
        </li>
        
        
        
        
       <li>
             <span class="searchclick">
                  <img src="<?php 
echo Yii::$app->getUrlManager()->getBaseUrl();
?>
/theme/images/search-purple-icon.png" class="search"/></span>
			 
         </li>
      </ul>  
Example #3
0
use webvimark\ybc\content\components\MenuWidget;
use webvimark\ybc\content\models\ContentTemplate;
use yii\bootstrap\NavBar;
?>

<?php 
$this->beginContent('@app/views/layouts/main.php');
?>


<?php 
NavBar::begin(['brandLabel' => Yii::$app->name]);
?>

<?php 
echo LanguageSelector::widget(['wrapperClass' => 'navbar-right', 'useFullLanguageName' => false]);
?>

<?php 
echo MenuWidget::widget(['code' => 'topMenu', 'options' => ['class' => 'nav navbar-nav navbar-right']]);
?>

<?php 
NavBar::end();
?>

<div class="container">
	<div class="row">
		<div class="col-lg-12">
			<img class="img-responsive" src="http://placehold.it/1200x300" alt="">
		</div>