git-annex/templates/page.hamlet
Joey Hess e125ce74b8 work toward adding new repos on removable drives
This actually does add a new repo, but it doesn't yet set up
remotes, or sync to it.
2012-08-04 18:17:16 -04:00

24 lines
871 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>
<a href="@{FileBrowserR}" onclick="(function( $ ) { $.post('@{FileBrowserR}'); })( jQuery ); return false;">
<i .icon-folder-open .icon-white></i> Files
<li .dropdown #menu1>
<a .dropdown-toggle data-toggle="dropdown" href="#menu1">
Current Repository: #{reldir}
<b .caret></b>
<ul .dropdown-menu>
<li><a href="@{AddRepositoryR}">Add another repository</a></li>
$nothing
<div .container-fluid>
<div .row-fluid>
^{content}