summaryrefslogtreecommitdiff
path: root/templates/configurators/intro.hamlet
blob: 4a1f228c80e493db637bc4988b83baf9cb99bf01 (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
<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="@{RepositoriesR}">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) <- repolist
              <tr>
                <td>
                  #{num}
                <td>
                  #{name}
        <a .btn .btn-primary .btn-large href="@{RepositoriesR}">Add another repository</a>
        <p>
          Or just sit back, watch the magic, and get on with using your files.