2014-04-20 10:42:31 +00:00
|
|
|
<div .col-sm-9 .jumbotron>
|
2012-09-08 06:02:39 +00:00
|
|
|
<h2>
|
|
|
|
Pairing with a local computer
|
|
|
|
<p>
|
|
|
|
$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 #
|
2012-09-08 17:04:19 +00:00
|
|
|
kept in sync between them.
|
2012-09-08 06:02:39 +00:00
|
|
|
$else
|
2012-11-12 02:29:16 +00:00
|
|
|
Pairing with #{username}@#{hostname} will combine your two git annex #
|
|
|
|
repositories into one, allowing you to share files.
|
2012-09-08 06:02:39 +00:00
|
|
|
<p>
|
|
|
|
$if start
|
2013-07-25 19:52:48 +00:00
|
|
|
For security, enter a secret phrase. To verify that you're pairing #
|
|
|
|
with the right computer, its git-annex webapp will then prompt for the #
|
|
|
|
same secret phrase. That's all this secret phrase will be used for.
|
2012-09-08 06:02:39 +00:00
|
|
|
$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 #
|
2012-09-09 05:05:23 +00:00
|
|
|
to enter here to finish the pairing. If you don't know the #
|
2012-09-08 06:02:39 +00:00
|
|
|
phrase, go ask #{username} ...
|
|
|
|
$if badphrase
|
2014-04-20 10:42:31 +00:00
|
|
|
<div .alert .alert-danger>
|
2014-04-21 11:05:52 +00:00
|
|
|
<span .glyphicon .glyphicon-warning-sign>
|
|
|
|
\ #{problem}
|
2012-09-08 06:02:39 +00:00
|
|
|
<p>
|
2013-03-16 22:48:23 +00:00
|
|
|
<form method="post" .form-horizontal enctype=#{enctype}>
|
2012-09-08 06:02:39 +00:00
|
|
|
<fieldset>
|
|
|
|
^{form}
|
2012-11-25 04:38:11 +00:00
|
|
|
^{webAppFormAuthToken}
|
2014-04-18 00:07:09 +00:00
|
|
|
<div .form-group>
|
|
|
|
<div .col-sm-offset-2>
|
|
|
|
<button .btn .btn-primary type=submit>
|
|
|
|
$if start
|
|
|
|
Start pairing
|
|
|
|
$else
|
|
|
|
Finish pairing
|
2012-09-08 06:02:39 +00:00
|
|
|
<div .alert .alert-info>
|
|
|
|
$if start
|
|
|
|
<p>
|
|
|
|
A good secret phrase is reasonably long. You'll only #
|
|
|
|
type it a few times. Only letters and numbers matter; #
|
|
|
|
punctuation and white space is ignored.
|
|
|
|
<p>
|
|
|
|
A quotation is one good choice, something like: #
|
|
|
|
"#{sampleQuote}"
|
|
|
|
$else
|
2012-09-08 17:04:19 +00:00
|
|
|
Only letters and numbers matter; punctuation and spaces are #
|
2012-09-08 06:02:39 +00:00
|
|
|
ignored.
|