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:
parent
e0c3958d9a
commit
e125ce74b8
7 changed files with 196 additions and 32 deletions
30
templates/configurators/adddrive.hamlet
Normal file
30
templates/configurators/adddrive.hamlet
Normal 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
|
|
@ -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 #
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue