packages feed

git-annex-3.20121112: templates/configurators/ssh/confirm.hamlet

<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, including the full #
          git repository. This is a great choice if you want to set up #
          other devices to use the same server, or share the repository with #
          others.
        <p style="text-align: center">
          -or-
      <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. This is the best choice if you don't run the server #
        yourself, or have sensative data.
    <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.