1
0

Added Logo

This commit is contained in:
2014-05-19 17:50:42 +02:00
parent ed31f9c6d6
commit 116f64e692
7 changed files with 77 additions and 35 deletions

View File

@@ -29,7 +29,8 @@
$this->widget('bootstrap.widgets.TbNavbar',
[
'brandLabel' => Yii::app()->name,
'brandLabel'=>'<img src="/images/logo.png" class="brandLogo"/>',
'brandUrl'=>'/',
'display' => null,
'htmlOptions' =>
[
@@ -43,8 +44,8 @@
[
array('label' => 'Home', 'url' => '/', 'active' => ($this->selectedNav === 'index')),
array('label' => 'Blog', 'url' => '#', 'active' => ($this->selectedNav === 'blog')),
array('label' => 'Programme', 'url' => 'programme/', 'active' => ($this->selectedNav === 'prog')),
array('label' => 'About', 'url' => 'about', 'active' => ($this->selectedNav === 'about')),
array('label' => 'Programme', 'url' => '/programme/', 'active' => ($this->selectedNav === 'prog')),
array('label' => 'About', 'url' => '/about', 'active' => ($this->selectedNav === 'about')),
],
],

View File

@@ -44,7 +44,7 @@ or <b>=</b>) at the beginning of each of your search values to specify how the c
'model'=>$model,
)); ?>
</div><!-- search-form -->
<br><br>
<?php $this->widget('bootstrap.widgets.TbGridView',array(
'type' => TbHtml::GRID_TYPE_BORDERED,
'id'=>'programme-grid',

View File

@@ -22,7 +22,7 @@ $this->selectedNav = 'about';
<div class="well cstm-background-white">
<p>Welcome to my private homepage.</p>
<p>My name is Mike Schwörer, and this is my homepage - here i upload programs i write in my free time and sometimes i even write a blog entry ...'); </p>
<p>My name is Mike Schwörer, and this is my homepage - here i upload programs i write in my free time and sometimes i even write a blog entry. </p>
<p>If you want you can look <?php echo TbHtml::link('here', '#'); // TODO Add Link ?> at the things I programmed </p>
</div>