diff options
author | 2012-07-31 02:30:26 -0400 | |
---|---|---|
committer | 2012-07-31 02:30:26 -0400 | |
commit | 2c8bbdf307899683ea8e2d934ec0ed2bfa3bc3d4 (patch) | |
tree | 072eb160445f0c3cb6ba5db3448aa7483f15a4e6 /templates/page.hamlet | |
parent | 5fed026bcdaa0724acd2640193e341bb8358980b (diff) |
made navbar work
also added an About page and a stub Config page.
Diffstat (limited to 'templates/page.hamlet')
-rw-r--r-- | templates/page.hamlet | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/templates/page.hamlet b/templates/page.hamlet index 67b19aaf7..d9fee6eaf 100644 --- a/templates/page.hamlet +++ b/templates/page.hamlet @@ -4,10 +4,9 @@ <a .brand href="#"> git-annex <ul .nav> - <li .active> - <a href="#">Dashboard</a> - <li> - <a href="@{ConfigR}">Config</a> + $forall (name, route, isactive) <- navbar + <li :isactive:.active> + <a href="@{route}">#{name}</a> <ul .nav .pull-right> <li .dropdown #menu1> <a .dropdown-toggle data-toggle="dropdown" href="#menu1"> @@ -21,4 +20,3 @@ <div .container-fluid> <div .row-fluid> ^{content} -<div #modal></div> |