Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
Added hamburger
Browse files Browse the repository at this point in the history
Added hamburger as the last attempt broke the mainpage layout.
This one should be correct as I do not change any containers to
container-fluids.

I also made a small change to the gitignore file to ignore the idea
folder instead of the files in it separately.
  • Loading branch information
Wesobi committed May 9, 2016
1 parent ca1b0e3 commit a465c4a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
12 changes: 1 addition & 11 deletions .gitignore
Expand Up @@ -19,14 +19,4 @@ Homestead.json
/vagrant/.vagrant
/vagrant/puphpet
/vagrant/html
.idea/blade.xml

.idea/copyright/profiles_settings.xml

.idea/modules.xml

.idea/workspace.xml

.idea/vcs.xml

.idea/W4P.iml
.idea
15 changes: 7 additions & 8 deletions resources/views/layouts/core.blade.php
Expand Up @@ -27,11 +27,17 @@
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#hamburger" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ URL::route('home') }}">
<img src="{{ URL::to('/platform/logo.png') }}" class="navlogo" />
</a>
</div>
<div>
<div class="collapse navbar-collapse" id="hamburger">
<ul class="nav navbar-nav">
<li @if (Request::is('/')) class="active" @endif>
<a href="{{ URL::route('home') }}">{{ $W4P_project->title }}</a>
Expand All @@ -41,13 +47,6 @@
</li>
</ul>
</div>
<div>
<ul class="nav navbar-nav navbar-right">
<li>
{{-- For now, the navbar on the right remains empty --}}
</li>
</ul>
</div>
</div>
</nav>
</div>
Expand Down

0 comments on commit a465c4a

Please sign in to comment.