Created
July 16, 2014 14:42
-
-
Save uranio-235/560d7da1d91575132df7 to your computer and use it in GitHub Desktop.
application.html.ejs the navbar part
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= partial('layout_header'); %> | |
<body> | |
<!-- La barra superior --> | |
<nav class="navbar navbar-default" role="navigation"> | |
<div class="container-fluid"> | |
<!-- Brand and toggle get grouped for better mobile display --> | |
<div class="navbar-header"> | |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> | |
<span class="sr-only">Toggle navigation</span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</button> | |
<%- linkTo('Geddy App', mainsPath, {class: 'navbar-brand'}) %> | |
</div> | |
<!-- Collect the nav links, forms, and other content for toggling --> | |
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | |
<ul class="nav navbar-nav"> | |
<li class="active"><%- linkTo('Home', mainsPath) %></li> | |
<li><a href="#">Another link</a></li> | |
<li class="dropdown"> | |
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation<span class="caret"></span></a> | |
<ul class="dropdown-menu" role="menu"> | |
<li><%- linkTo('Tutorial', 'http://geddyjs.org/tutorial') %></li> | |
<li><%- linkTo('Docs', 'http://geddyjs.org/documentation') %></li> | |
<li class="divider"></li> | |
<li><%- linkTo('FAQ', 'http://geddyjs.org/faq') %></li> | |
<li><%- linkTo('Community', 'http://geddyjs.org/community') %></li> | |
<li class="divider"></li> | |
<li><%- linkTo('Recent Activity', 'http://geddyjs.org/changelog') %></li> | |
</ul> | |
</li> | |
</ul> | |
<form action='https://www.google.com.cu/search' class="navbar-form navbar-left" role="search"> | |
<div class="form-group"> | |
<input name="q" type="text" class="form-control" placeholder="Documentation"> | |
</div> | |
<button type="submit" class="btn btn-default">Search</button> | |
</form> | |
</div><!-- /.navbar-collapse --> | |
</div><!-- /.container-fluid --> | |
</nav> | |
<div class="container"> | |
<%- displayFlash(flash); %> | |
<%- render(); %> | |
</div> | |
</body> | |
<%= partial('layout_footer'); %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment