summaryrefslogtreecommitdiff
path: root/templates/configurators/adddrive.hamlet
diff options
context:
space:
mode:
Diffstat (limited to 'templates/configurators/adddrive.hamlet')
-rw-r--r--templates/configurators/adddrive.hamlet39
1 files changed, 0 insertions, 39 deletions
diff --git a/templates/configurators/adddrive.hamlet b/templates/configurators/adddrive.hamlet
deleted file mode 100644
index 948c9f1ee..000000000
--- a/templates/configurators/adddrive.hamlet
+++ /dev/null
@@ -1,39 +0,0 @@
-<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 onclick="$('#clonemodal').modal('show');">Use this drive</button> #
- <a .btn href="@{AddDriveR}">
- Rescan for removable drives
-<div .modal .fade #clonemodal>
- <div .modal-header>
- <h3>
- Cloning to drive
- <div .modal-body>
- <p>
- Cloning the repository to the drive. This may take a few minutes; #
- do not remove the drive.