summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-31 14:23:17 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-31 16:13:09 -0400
commitc70496dc7f89f07e05bea0257b7d93986dd61d89 (patch)
tree767eb09e1e3531e8f1f44b5d02764b7fb1ca00a6 /templates
parent0d3686972d9b08b061f86b3e38fb681becf1c833 (diff)
improve first run screen
Diffstat (limited to 'templates')
-rw-r--r--templates/configurators/addrepository.hamlet17
-rw-r--r--templates/configurators/intro.hamlet9
2 files changed, 15 insertions, 11 deletions
diff --git a/templates/configurators/addrepository.hamlet b/templates/configurators/addrepository.hamlet
index 150e08981..20ece2806 100644
--- a/templates/configurators/addrepository.hamlet
+++ b/templates/configurators/addrepository.hamlet
@@ -1,3 +1,16 @@
<div .span9 .hero-unit>
- <h2>
- Sorry, no configuration is implemented yet...
+ $if firstrun
+ <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.
+ <form .form-inline>
+ <i class="icon-folder-open"></i> #
+ <input type="text" .input-xlarge placeholder="directory"> #
+ <button type="submit" .btn .btn-primary .btn-large>Make Repository</button>
diff --git a/templates/configurators/intro.hamlet b/templates/configurators/intro.hamlet
index be451a91f..5062346a8 100644
--- a/templates/configurators/intro.hamlet
+++ b/templates/configurators/intro.hamlet
@@ -26,12 +26,3 @@
<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.
- $nothing
- <h2>
- Creating a git-annex repository
- <p>
- Files in this repository will managed by git-annex, #
- and kept in sync with your repositories on other devices.
- <form .form-inline>
- <input type="text" .input-xlarge placeholder="directory"> #
- <button type="submit" .btn .btn-primary .btn-large>Make Repository</button>