summaryrefslogtreecommitdiff
path: root/templates/configurators/confirmssh.hamlet
blob: f82335ceb35f9da848821925e14ed957d1146b55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<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.