summaryrefslogtreecommitdiff
path: root/templates/configurators/newrepository
diff options
context:
space:
mode:
Diffstat (limited to 'templates/configurators/newrepository')
-rw-r--r--templates/configurators/newrepository/first.hamlet14
-rw-r--r--templates/configurators/newrepository/form.hamlet11
2 files changed, 25 insertions, 0 deletions
diff --git a/templates/configurators/newrepository/first.hamlet b/templates/configurators/newrepository/first.hamlet
new file mode 100644
index 000000000..88b1fa72b
--- /dev/null
+++ b/templates/configurators/newrepository/first.hamlet
@@ -0,0 +1,14 @@
+<div .span9 .hero-unit>
+ <h2>
+ Welcome to git-annex!
+ <p>
+ There's just one thing to do before you can start using the power #
+ and convenience of git-annex.
+ <h2>
+ Create a git-annex repository
+ <p>
+ Files in this repository will managed by git-annex, #
+ and kept in sync with your repositories on other devices.
+ <p>
+ <form .form-inline enctype=#{enctype}>
+ ^{form}
diff --git a/templates/configurators/newrepository/form.hamlet b/templates/configurators/newrepository/form.hamlet
new file mode 100644
index 000000000..6c2405be6
--- /dev/null
+++ b/templates/configurators/newrepository/form.hamlet
@@ -0,0 +1,11 @@
+#{msg}
+<p>
+ <div .input-prepend .input-append>
+ <span .add-on>
+ <i .icon-folder-open></i>
+ ^{fvInput pathView}
+ <button type=submit .btn .btn-primary>
+ Make Repository
+$if err
+ <div .alert .alert-error>
+ #{errmsg}