moving toward configuring new repos in the webapp

This commit is contained in:
Joey Hess 2012-08-03 14:36:16 -04:00
parent 2d4f1441c8
commit b1a5a4f985
13 changed files with 147 additions and 67 deletions

View file

@ -1,15 +1,10 @@
<div .span9 .hero-unit>
$if firstrun
<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
<div .row-fluid>
<div .span4>
<h3>
Clone to removable drive
<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}
Clone this repository to a USB drive, or other removable media, #
for offline archiving, backups, or to #
<a href="http://en.wikipedia.org/wiki/Sneakernet">SneakerNet</a> #
between computers.

View file

@ -0,0 +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}

View file

@ -17,7 +17,7 @@
\ repositories and devices:
<table .table .table-striped .table-condensed>
<tbody>
$forall (num, name) <- remotelist
$forall (num, name) <- repolist
<tr>
<td>
#{num}

View file

@ -1,3 +1,42 @@
<div .span9 .hero-unit>
<h2>
Sorry, no configuration is implemented yet...
<div .span9>
<div .row-fluid>
<div .span4>
<h3>
<a href="">
Clone to removable drive
<p>
Clone this repository to a USB drive, memory stick, or other #
removable media.
<p>
For offline archiving, backups, or to #
<a href="http://en.wikipedia.org/wiki/Sneakernet">SneakerNet</a> #
between computers.
<div .span4>
<h3>
<a href="">
Clone to a local computer
<p>
Automatically keep files in sync between computers on your #
local network.
<p>
For easy sharing with family and friends, or between your devices.
<div .span4>
<div .row-fluid>
<div .span4>
<h3>
<a href="">
Store data in the cloud
<p>
Store your data on a third-party cloud platform, #
including Amazon S3, Box.com, and Rsync.net.
<p>
Pay someone to keep your data safe. With strong encryption to #
protect your privacy.
<div .span4>
<h3>
<a href="">
Clone to a remote server
<p>
Set up a repository on a remote Unix server running SSH.
<p>
For when you want to run your own cloud.

View file

@ -0,0 +1,18 @@
<div .alert .alert-info>
<h4 .alert-heading>
git-annex is managing #
$if notenough
only #
<span .badge .badge-error>#{numrepos}</span> repository. #
$else
$if barelyenough
<span .badge .badge-warning>#{numrepos}</span> repositories. #
$else
<span .badge .badge-success>#{numrepos}</span> repositories. #
$if notenough
Recommend you add more clones to avoid data loss.
$else
$if barelyenough
Consider adding more.
$else
Adding more can't hurt!

View file

@ -10,8 +10,8 @@
<hr>
git-annex is © 2010-2012 Joey Hess. It is free software, licensed #
under the terms of the GNU General Public License, version 3 or above. #
<br>
<i class="icon-heart"></i> Its development was made possible by #
<p>
Its development was made possible by #
<a href="http://git-annex.branchable.com/design/assistant/thanks/">
many excellent people
.
. <i class="icon-heart"></i>

View file

@ -7,7 +7,7 @@
<i class="icon-#{name}"></i> #
$maybe h <- heading
$if block
<h4 class="alert-heading">#{h}</h4> #
<h4 .alert-heading>#{h}</h4> #
$else
<strong>#{h}</strong> #
^{widget}