summaryrefslogtreecommitdiff
path: root/templates/configurators/intro.hamlet
blob: be451a91fecffa0bdf8015ceafb5b6ea75b39d16 (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
<div .span9 ##{ident} .hero-unit>
  $maybe reldir <- relDir webapp
   <h2>
      git-annex is watching over your files in <small><tt>#{reldir}</tt></small>
    <p>
      It will automatically notice changes, and keep files in sync between #
      $if notenough
        repositories on your devices ...
        <h2>
          But no other repositories are set up yet.
        <a .btn .btn-primary .btn-large href="@{AddRepositoryR}">Add another repository</a>
      $else
        $if barelyenough
          <span .badge .badge-warning>#{numrepos}</span>
        $else
          <span .badge .badge-success>#{numrepos}</span>
        \ repositories and devices:
        <table .table .table-striped .table-condensed>
          <tbody>
            $forall (num, name) <- remotelist
              <tr>
                <td>
                  #{num}
                <td>
                  #{name}
        <a .btn .btn-primary .btn-large href="@{AddRepositoryR}">Add another repository</a>
        <p>
          Or just sit back, watch the magic, and get on with using your files.
  $nothing
    <h2>
      Creating a git-annex repository
    <p>
      Files in this repository will managed by git-annex, #
      and kept in sync with your repositories on other devices.
    <form .form-inline>
      <input type="text" .input-xlarge placeholder="directory"> #
      <button type="submit" .btn .btn-primary .btn-large>Make Repository</button>