diff options
author | 2012-08-27 14:49:09 -0400 | |
---|---|---|
committer | 2012-08-27 14:49:09 -0400 | |
commit | c1adde5294fe995c2d92f1ac81a2295bbbef62d4 (patch) | |
tree | a50eb6a55220fbdc28abf1af7936d64590364756 /templates/configurators/adddrive.hamlet | |
parent | 8660f3043c8968dc231727fe151063197f491a5f (diff) | |
parent | 1cbfd6368c5b82f7559fb1f1da1209ba0c37a793 (diff) |
finally merge the assistant into master
Progress bars still need to be done, otherwise it's fully working.
Although much work remains to hit all the use cases.
Diffstat (limited to 'templates/configurators/adddrive.hamlet')
-rw-r--r-- | templates/configurators/adddrive.hamlet | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/configurators/adddrive.hamlet b/templates/configurators/adddrive.hamlet new file mode 100644 index 000000000..e3dfdd03e --- /dev/null +++ b/templates/configurators/adddrive.hamlet @@ -0,0 +1,31 @@ +<div .span9 .hero-unit> + <h2> + Adding a removable drive + <p> + Clone this repository to a USB drive, memory stick, or other # + removable media. Whenever the removable drive is plugged in, its + content will be synced with the content of this repository. + <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 |