Commit c3887788c9445ff92d0791f19acb443c5b07320d

Authored by Ryan Glover
1 parent 3e1560b198
Exists in master

Fix bootstrap menu toggle not working on mobile.

Closes #41.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
client/includes/_header.html
1 <template name="header"> 1 <template name="header">
2 <nav class="navbar navbar-default" role="navigation"> 2 <nav class="navbar navbar-default" role="navigation">
3 <div class="container"> 3 <div class="container">
4 <div class="navbar-header"> 4 <div class="navbar-header">
5 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> 5 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
6 <span class="sr-only">Toggle navigation</span> 6 <span class="sr-only">Toggle navigation</span>
7 <span class="icon-bar"></span> 7 <span class="icon-bar"></span>
8 <span class="icon-bar"></span> 8 <span class="icon-bar"></span>
9 <span class="icon-bar"></span> 9 <span class="icon-bar"></span>
10 </button> 10 </button>
11 <a class="navbar-brand" href="{{pathFor 'index'}}">Base</a> 11 <a class="navbar-brand" href="{{pathFor 'index'}}">Base</a>
12 </div> 12 </div>
13 <div class="collapse navbar-collapse"> 13 <div id="bs-example-navbar-collapse-1" class="collapse navbar-collapse">
14 {{#if currentUser}} 14 {{#if currentUser}}
15 <ul class="nav navbar-nav navbar-right"> 15 <ul class="nav navbar-nav navbar-right">
16 <li class="dropdown"> 16 <li class="dropdown">
17 <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{currentUser.emails.[0].address}} <span class="caret"></span></a> 17 <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{currentUser.emails.[0].address}} <span class="caret"></span></a>
18 <ul class="dropdown-menu" role="menu"> 18 <ul class="dropdown-menu" role="menu">
19 <li class="logout"><a href="#">Logout</a></li> 19 <li class="logout"><a href="#">Logout</a></li>
20 </ul> 20 </ul>
21 </li> 21 </li>
22 </ul> 22 </ul>
23 {{else}} 23 {{else}}
24 <ul class="nav navbar-nav navbar-right"> 24 <ul class="nav navbar-nav navbar-right">
25 <li class="{{currentRoute 'login'}}"><a href="{{pathFor 'login'}}">Login</a></li> 25 <li class="{{currentRoute 'login'}}"><a href="{{pathFor 'login'}}">Login</a></li>
26 <li class="{{currentRoute 'signup'}}"><a href="{{pathFor 'signup'}}">Sign Up</a></li> 26 <li class="{{currentRoute 'signup'}}"><a href="{{pathFor 'signup'}}">Sign Up</a></li>
27 </ul> 27 </ul>
28 {{/if}} 28 {{/if}}
29 </div> <!-- end .navbar-collapse --> 29 </div> <!-- end .navbar-collapse -->
30 </div> <!-- end .container-fluid --> 30 </div> <!-- end .container-fluid -->
31 </nav> 31 </nav>
32 </template> 32 </template>
33 33