From f62cc484826991bfdb5469b8cf0b7b6b7a617e43 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 Sep 2012 23:32:08 -0400 Subject: reorg templates --- templates/configurators/pairing/disabled.hamlet | 5 +++ templates/configurators/pairing/inprogress.hamlet | 10 +++++ templates/configurators/pairing/prompt.hamlet | 50 +++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 templates/configurators/pairing/disabled.hamlet create mode 100644 templates/configurators/pairing/inprogress.hamlet create mode 100644 templates/configurators/pairing/prompt.hamlet (limited to 'templates/configurators/pairing') diff --git a/templates/configurators/pairing/disabled.hamlet b/templates/configurators/pairing/disabled.hamlet new file mode 100644 index 000000000..c946aacc4 --- /dev/null +++ b/templates/configurators/pairing/disabled.hamlet @@ -0,0 +1,5 @@ +
+

+ Pairing not supported +

+ This build of git-annex does not support pairing. Sorry! diff --git a/templates/configurators/pairing/inprogress.hamlet b/templates/configurators/pairing/inprogress.hamlet new file mode 100644 index 000000000..7b655b5a9 --- /dev/null +++ b/templates/configurators/pairing/inprogress.hamlet @@ -0,0 +1,10 @@ +

+

+ Pairing in progress .. +

+ Now you should either go tell the owner of the computer you want to pair # + with the secret phrase you selected ("#{secret}"), or go enter it into # + the computer you want to pair with. +

+ You do not need to leave this page open; pairing will finish automatically # + as soon as the secret phrase is entered into the other computer. diff --git a/templates/configurators/pairing/prompt.hamlet b/templates/configurators/pairing/prompt.hamlet new file mode 100644 index 000000000..82ca48b5a --- /dev/null +++ b/templates/configurators/pairing/prompt.hamlet @@ -0,0 +1,50 @@ +

+

+ Pairing with a local computer +

+ $if start + Pair with a computer on your local network (or VPN), and the # + two git annex repositories will be combined into one, with changes # + kept in sync between them. + $else + Pairing with #{username}@#{hostname} will combine the two git annex # + repositories into one, with changes kept in sync between them. +

+ $if start + For security, enter a secret phrase. This same secret phrase will # + also need to be entered on the computer you're pairing with. # + It will be used to verify you're pairing with the right computer. + $else + $if sameusername + For security, you need to enter the same secret phrase that was # + entered on #{hostname} when the pairing was started. + $else + For security, a secret phrase has been selected, which you need # + to enter here to complete the pairing. If you don't know the # + phrase, go ask #{username} ... + $if badphrase +

+ #{problem} +

+

+
+ ^{form} + ^{authtoken} +
+