summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-03 00:39:55 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-03 00:39:55 -0400
commitb584d96c131a23d0f7d6ed424a8915e9e15a6bc4 (patch)
treeda5f81e4000a58326a95fc94cd5a5ad22e76e34c /templates
parent6a45ca465877c3dcf17e4f41ff538dd66b2438c0 (diff)
rsync.net configurator display
Doesn't set up the repo yet.
Diffstat (limited to 'templates')
-rw-r--r--templates/configurators/addrsync.net.hamlet43
-rw-r--r--templates/configurators/main.hamlet2
2 files changed, 44 insertions, 1 deletions
diff --git a/templates/configurators/addrsync.net.hamlet b/templates/configurators/addrsync.net.hamlet
new file mode 100644
index 000000000..163d0721e
--- /dev/null
+++ b/templates/configurators/addrsync.net.hamlet
@@ -0,0 +1,43 @@
+<div .span9 .hero-unit>
+ <h2>
+ Adding a Rsync.net repository
+ <p>
+ <a href="http://rsync.net/">
+ Rsync.net #
+ is a well-respected cloud storage provider. Its rsync repositories are #
+ supported very well by git-annex. #
+ <a href="http://www.rsync.net/products/pricing.html">
+ pricing details
+ <p>
+ $case status
+ $of UnusableServer msg
+ <div .alert .alert-error>
+ <i .icon-warning-sign></i> #{msg}
+ $of _
+ <i .icon-warning-sign></i> #
+ All your data will be synced to the Rsync.net repository, so make #
+ sure it has enough available space. Your data will be encrypted before #
+ it is sent to Rsync.net.
+ <p>
+ When you sign up for a Rsync.net account, you receive an #
+ email from them with a host name and a username. Fill that #
+ information in below. You also likely don't want to use your whole #
+ rsync.net repository for git-annex alone, so git-annex will use a #
+ subdirectory of it, as configured below.
+ <p>
+ <form .form-horizontal enctype=#{enctype}>
+ <fieldset>
+ ^{form}
+ ^{authtoken}
+ <div .form-actions>
+ <button .btn .btn-primary type=submit onclick="$('#testmodal').modal('show');">
+ Use this rsync.net repository
+<div .modal .fade #testmodal>
+ <div .modal-header>
+ <h3>
+ Making repository ...
+ <div .modal-body>
+ <p>
+ Setting up your rsync.net repository. This could take a minute.
+ <p>
+ You may be prompted for your rsync.net password.
diff --git a/templates/configurators/main.hamlet b/templates/configurators/main.hamlet
index 1482a904b..b0fdcc282 100644
--- a/templates/configurators/main.hamlet
+++ b/templates/configurators/main.hamlet
@@ -5,5 +5,5 @@
<a href="@{RepositoriesR}">
Manage repositories
<p>
- Distribute the files in this repository to other devices,
+ Distribute the files in this repository to other devices, #
make backups, and more, by adding repositories.