git-annex/templates/configurators/adddrive.hamlet

33 lines
1.2 KiB
Text
Raw Normal View History

<div .span9 .hero-unit>
<h2>
Adding a removable drive
<p>
Clone this repository to a USB drive, memory stick, or other #
2012-10-14 19:22:33 +00:00
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
2013-03-16 22:48:23 +00:00
<form method="post" enctype=#{enctype}>
<fieldset>
^{form}
2012-11-25 04:38:11 +00:00
^{webAppFormAuthToken}
<button .btn .btn-primary type=submit onclick="$('#clonemodal').modal('show');">Use this drive</button> #
<a .btn href="@{AddDriveR}">
Rescan for removable drives
2013-03-20 20:46:35 +00:00
^{cloneModal}