Skip to content

Instantly share code, notes, and snippets.

@molekilla
Created March 27, 2012 19:04
Show Gist options
  • Save molekilla/2219280 to your computer and use it in GitHub Desktop.
Save molekilla/2219280 to your computer and use it in GitHub Desktop.
Escuelita de Scala - Parte 3a - Navbar tag
@(navbar: Html)
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">RegPubFinder</a>
<div class="nav-collapse">
<ul class="nav">
@navbar
</ul>
<p class="navbar-text pull-right">Logged in as <a href="#">anonymous</a></p>
</div>
<form class="navbar-search pull-left">
<input type="text" class="search-query" placeholder="Search" data-provide="typeahead">
</form>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment