summaryrefslogtreecommitdiff
path: root/templates/configurators/adddrive.hamlet
blob: 030ef8a4c20288a9b1ff01159ecf9e65151696b8 (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
<div .span9 .hero-unit>
  <h2>
    Adding a removable drive
  <p>
    Clone this repository to a USB drive, memory stick, or other #
    removable media.
  <p>
  $if (null writabledrives)
    <div .span6 .alert .alert-error .alert-block>
      $if (null removabledrives)
        <h4 .alert-heading>
          No removable drives found
        Please make sure you have a removable drive plugged in and mounted.
      $else
        <h4 .alert-heading>
          No usable removable drives found
        Seems you cannot write to any of the removable drives that are #
        currently mounted. Try plugging in a removable drive that you can #
        write to, or correcting the write permissions.
      <p>
        <a .btn .btn-primary href="@{AddDriveR}">
          Rescan for removable drives
  $else
    <form enctype=#{enctype}>
      <fieldset>
        ^{form}
        ^{authtoken}
        <button .btn .btn-primary type=submit>Use this drive</button> #
        <a .btn href="@{AddDriveR}">
          Rescan for removable drives