diff options
Diffstat (limited to 'templates/configurators/adddrive.hamlet')
-rw-r--r-- | templates/configurators/adddrive.hamlet | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/configurators/adddrive.hamlet b/templates/configurators/adddrive.hamlet new file mode 100644 index 000000000..030ef8a4c --- /dev/null +++ b/templates/configurators/adddrive.hamlet @@ -0,0 +1,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 |