webapp: Initial support for setting up encrypted removable drives.

No support yet for generating new gpg keys.
No support yet for adding existing encrypted repos from removable drives.
This commit is contained in:
Joey Hess 2013-09-16 16:07:27 -04:00
parent f53526501d
commit b37aad6c06
9 changed files with 93 additions and 27 deletions

View file

@ -0,0 +1,19 @@
<div .span9 .hero-unit>
<h2>
Combine repositories?
<p>
The removable drive at <tt>#{mountPoint drive}</tt> already
has files in its repository <tt>#{driveRepoPath drive}</tt>
<p>
Do you want to combine these files into your repository?
<p>
<a .btn href="@{FinishAddDriveR (RemovableDriveKey drive Nothing)}">
<i .icon-resize-small></i> Combine the repositories #
The combined repositories will sync and share their files.
<p>
<p>
<a .btn href="@{AddDriveR}">
<i .icon-resize-full></i> Go back #
Use a different directory than <tt>#{driveRepoPath drive}</tt> to #
avoid combining the repositories.
^{cloneModal}