git-annex/templates/page.hamlet
2012-08-08 17:07:38 -04:00

23 lines
780 B
Text

<div .navbar .navbar-fixed-top>
<div .navbar-inner>
<div .container>
<a .brand>
git-annex
<ul .nav>
$forall (name, route, isactive) <- navbar
<li :isactive:.active>
<a href="@{route}">#{name}</a>
$maybe reldir <- relDir webapp
<ul .nav .pull-right>
<li>
^{actionButton FileBrowserR (Just "Files") "" "icon-folder-open icon-white"}
<li .dropdown #menu1>
<a .dropdown-toggle data-toggle="dropdown" href="#menu1">
Current Repository: #{reldir}
<b .caret></b>
<ul .dropdown-menu>
<li><a href="@{RepositoriesR}">Add another repository</a></li>
$nothing
<div .container-fluid>
<div .row-fluid>
^{content}