diff options
author | 2012-07-31 02:30:26 -0400 | |
---|---|---|
committer | 2012-07-31 02:30:26 -0400 | |
commit | 2c8bbdf307899683ea8e2d934ec0ed2bfa3bc3d4 (patch) | |
tree | 072eb160445f0c3cb6ba5db3448aa7483f15a4e6 /templates | |
parent | 5fed026bcdaa0724acd2640193e341bb8358980b (diff) |
made navbar work
also added an About page and a stub Config page.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/bootstrap.hamlet | 1 | ||||
-rw-r--r-- | templates/configurators/main.hamlet | 3 | ||||
-rw-r--r-- | templates/documentation/about.hamlet | 16 | ||||
-rw-r--r-- | templates/page.hamlet | 8 |
4 files changed, 23 insertions, 5 deletions
diff --git a/templates/bootstrap.hamlet b/templates/bootstrap.hamlet index 13aefd486..cf686f843 100644 --- a/templates/bootstrap.hamlet +++ b/templates/bootstrap.hamlet @@ -7,3 +7,4 @@ $doctype 5 ^{pageHead page} <body> ^{pageBody page} + <div #modal></div> diff --git a/templates/configurators/main.hamlet b/templates/configurators/main.hamlet new file mode 100644 index 000000000..150e08981 --- /dev/null +++ b/templates/configurators/main.hamlet @@ -0,0 +1,3 @@ +<div .span9 .hero-unit> + <h2> + Sorry, no configuration is implemented yet... diff --git a/templates/documentation/about.hamlet b/templates/documentation/about.hamlet new file mode 100644 index 000000000..6236fb22c --- /dev/null +++ b/templates/documentation/about.hamlet @@ -0,0 +1,16 @@ +<div .span9 .hero-unit> + <h2> + git-annex watches over your files + <p> + It will automatically notice changes, and keep files in sync between # + repositories and devices. + <p> + For full details, see # + <a href="http://git-annex.branchable.com/">the git-annex website</a>. + <hr> + git-annex is © 2010-2012 Joey Hess. It is free software, licensed # + under the terms of the GNU General Public License, version 3 or above. # + Its development was made possible by # + <a href="http://git-annex.branchable.com/design/assistant/thanks/"> + many excellent people + . 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> |