work toward adding new repos on removable drives

This actually does add a new repo, but it doesn't yet set up
remotes, or sync to it.
This commit is contained in:
Joey Hess 2012-08-04 18:17:16 -04:00
parent e0c3958d9a
commit e125ce74b8
7 changed files with 196 additions and 32 deletions

View file

@ -0,0 +1,30 @@
<div .span9 .hero-unit>
<h2>
Adding a removable drive
<p>
Clone this repository to a USB drive, memory stick, or other #
removable media.
<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

View file

@ -1,10 +1,8 @@
<div .span9>
<h2>
Add repositories
<div .row-fluid>
<div .span4>
<h3>
<a href="">
<a href="@{AddDriveR}">
Clone to a removable drive
<p>
Clone this repository to a USB drive, memory stick, or other #

View file

@ -1,14 +1,14 @@
<div .span9 .hero-unit>
<h2>
Welcome to git-annex!
<p>
There's just one thing to do before you can start using the power #
and convenience of git-annex.
<h2>
Create a git-annex repository
<p>
Files in this repository will managed by git-annex, #
and kept in sync with your repositories on other devices.
<p>
<form .form-inline enctype=#{enctype}>
^{form}
<h2>
Welcome to git-annex!
<p>
There's just one thing to do before you can start using the power #
and convenience of git-annex.
<h2>
Create a git-annex repository
<p>
Files in this repository will managed by git-annex, #
and kept in sync with your repositories on other devices.
<p>
<form .form-inline enctype=#{enctype}>
^{form}