summaryrefslogtreecommitdiff
path: root/templates/configurators
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-31 01:24:49 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-31 01:24:49 -0400
commit5fed026bcdaa0724acd2640193e341bb8358980b (patch)
tree97463af6af63042458adbc71f1253fc0fe9bc027 /templates/configurators
parent58dfa3fa5b1b8be6f344e9ef5bfb3adda11069ab (diff)
reorg templates
Diffstat (limited to 'templates/configurators')
-rw-r--r--templates/configurators/intro.hamlet27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/configurators/intro.hamlet b/templates/configurators/intro.hamlet
new file mode 100644
index 000000000..ecb15f39c
--- /dev/null
+++ b/templates/configurators/intro.hamlet
@@ -0,0 +1,27 @@
+<div .span9 ##{ident} .hero-unit>
+ <h2>
+ git-annex is watching over your files in <small><tt>#{reldir}</tt></small>
+ <p>
+ It will automatically notice changes, and keep files in sync between #
+ $if notenough
+ repositories on your devices ...
+ <h2>
+ But no other repositories are set up yet.
+ <a .btn .btn-primary .btn-large href="@{AddRepositoryR}">Add another repository</a>
+ $else
+ $if barelyenough
+ <span .badge .badge-warning>#{numrepos}</span>
+ $else
+ <span .badge .badge-success>#{numrepos}</span>
+ \ repositories and devices:
+ <table .table .table-striped .table-condensed>
+ <tbody>
+ $forall (num, name) <- remotelist
+ <tr>
+ <td>
+ #{num}
+ <td>
+ #{name}
+ <a .btn .btn-primary .btn-large href="@{AddRepositoryR}">Add another repository</a>
+ <p>
+ Or just sit back, watch the magic, and get on with using your files.