summaryrefslogtreecommitdiff
path: root/templates/page.hamlet
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.hamlet')
-rw-r--r--templates/page.hamlet23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/page.hamlet b/templates/page.hamlet
new file mode 100644
index 000000000..0c07c9130
--- /dev/null
+++ b/templates/page.hamlet
@@ -0,0 +1,23 @@
+<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}