summaryrefslogtreecommitdiff
path: root/templates/configurators/ssh
diff options
context:
space:
mode:
Diffstat (limited to 'templates/configurators/ssh')
-rw-r--r--templates/configurators/ssh/add.hamlet33
-rw-r--r--templates/configurators/ssh/confirm.hamlet42
-rw-r--r--templates/configurators/ssh/enable.hamlet30
-rw-r--r--templates/configurators/ssh/error.hamlet10
4 files changed, 0 insertions, 115 deletions
diff --git a/templates/configurators/ssh/add.hamlet b/templates/configurators/ssh/add.hamlet
deleted file mode 100644
index c2336a169..000000000
--- a/templates/configurators/ssh/add.hamlet
+++ /dev/null
@@ -1,33 +0,0 @@
-<div .span9 .hero-unit>
- <h2>
- Adding a remote server using ssh
- <p>
- You can use nearly any server that has ssh and rsync. For example, you #
- could use a <a href="http://linode.com/">Linode</a> or another VPS, or #
- an account on a friend's server.
- <p>
- $case status
- $of UnusableServer msg
- <div .alert .alert-error>
- <i .icon-warning-sign></i> #{msg}
- $of _
- <i .icon-warning-sign></i> Do keep in mind that all your data #
- will be synced to the server, so make sure it has enough available #
- disk space and bandwidth, and that you trust it with your data.
- <p>
- <form .form-horizontal enctype=#{enctype}>
- <fieldset>
- ^{form}
- ^{authtoken}
- <div .form-actions>
- <button .btn .btn-primary type=submit onclick="$('#testmodal').modal('show');">
- Check this server
-<div .modal .fade #testmodal>
- <div .modal-header>
- <h3>
- Testing server ...
- <div .modal-body>
- <p>
- Checking ssh connection to the server. This could take a minute.
- <p>
- You may be prompted for your password to log into the server.
diff --git a/templates/configurators/ssh/confirm.hamlet b/templates/configurators/ssh/confirm.hamlet
deleted file mode 100644
index f82335ceb..000000000
--- a/templates/configurators/ssh/confirm.hamlet
+++ /dev/null
@@ -1,42 +0,0 @@
-<div .span9 .hero-unit>
- <h2>
- Ready to add remote server
- <div .row-fluid>
- <div .span8>
- <p>
- The server #{sshHostName sshdata} has been verified to be usable.
- $if not (rsyncOnly sshdata)
- <p>
- You have two options for how to use the server.
- <p>
- <a .btn .btn-primary href="@{MakeSshGitR sshdata}" onclick="$('#setupmodal').modal('show');">
- Use a git repository on the server
- <br>
- All your data will be uploaded to the server. If you set up other #
- devices to use the same server, they will all be kept in sync, #
- using the server as a central hub. #
- <p>
- <a .btn .btn-primary href="@{MakeSshRsyncR sshdata}" onclick="$('#setupmodal').modal('show');">
- Use an encrypted rsync repository on the server
- <br>
- The contents of your files will be stored, fully encrypted, on the #
- server. The server will not store other information about your #
- git repository.
- <div .span4>
- $if needsPubKey sshdata
- <div .alert .alert-info>
- <i .icon-info-sign></i> #
- A ssh key will be installed on the server, allowing git-annex to #
- access it securely without a password.
-<div .modal .fade #setupmodal>
- <div .modal-header>
- <h3>
- Making repository ...
- <div .modal-body>
- <p>
- Setting up repository on the remote server. This could take a minute.
- $if needsPubKey sshdata
- <p>
- You will be prompted once more for your ssh password. A ssh key #
- is being installed on the server, allowing git-annex to access it #
- securely without a password.
diff --git a/templates/configurators/ssh/enable.hamlet b/templates/configurators/ssh/enable.hamlet
deleted file mode 100644
index 1e35e481b..000000000
--- a/templates/configurators/ssh/enable.hamlet
+++ /dev/null
@@ -1,30 +0,0 @@
-<div .span9 .hero-unit>
- <h2>
- Enabling #{description}
- <p>
- Another repository uses this server, but the server is not #
- yet enabled for use here. The first step to enable it is to check if it's #
- usable here.
- <p>
- <p>
- <form .form-horizontal enctype=#{enctype}>
- <fieldset>
- <div .form-actions>
- <button .btn .btn-primary type=submit onclick="$('#testmodal').modal('show');">
- Check this server
- $case status
- $of UnusableServer msg
- <div .alert .alert-error>
- <i .icon-warning-sign></i> #{msg}
- $of _
- ^{form}
- ^{authtoken}
-<div .modal .fade #testmodal>
- <div .modal-header>
- <h3>
- Testing server ...
- <div .modal-body>
- <p>
- Checking ssh connection to the server. This could take a minute.
- <p>
- You may be prompted for your password to log into the server.
diff --git a/templates/configurators/ssh/error.hamlet b/templates/configurators/ssh/error.hamlet
deleted file mode 100644
index 05d2de412..000000000
--- a/templates/configurators/ssh/error.hamlet
+++ /dev/null
@@ -1,10 +0,0 @@
-<div .span9 .hero-unit>
- <h2>
- <i .icon-warning-sign></i> Failed to make repository
- <p>
- Something went wrong setting up the repository on the remote server.
- <p>
- Transcript: #{msg}
- <p>
- <a .btn .btn-primary href="#">
- Retry