summaryrefslogtreecommitdiff
path: root/templates/configurators
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-02 15:04:21 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-02 15:04:29 -0400
commit78f9e954a063a2a8d7f9879fae8c03c9bd77c71a (patch)
treeab619df7a4f34174efa230319ce162826540677c /templates/configurators
parent93f29997a90474b740f624729029acf184906b35 (diff)
show modal while cloning to removable drive
Diffstat (limited to 'templates/configurators')
-rw-r--r--templates/configurators/adddrive.hamlet10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/configurators/adddrive.hamlet b/templates/configurators/adddrive.hamlet
index e3dfdd03e..948c9f1ee 100644
--- a/templates/configurators/adddrive.hamlet
+++ b/templates/configurators/adddrive.hamlet
@@ -26,6 +26,14 @@
<fieldset>
^{form}
^{authtoken}
- <button .btn .btn-primary type=submit>Use this drive</button> #
+ <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.