merge two repository screens into one
This commit is contained in:
parent
46feae36b6
commit
aab3a01a71
7 changed files with 33 additions and 44 deletions
|
@ -8,7 +8,7 @@
|
|||
repositories on your devices ...
|
||||
<h2>
|
||||
But no other repositories are set up yet.
|
||||
<a .btn .btn-primary .btn-large href="@{AddRepositoryR}">Add another repository</a>
|
||||
<a .btn .btn-primary .btn-large href="@{RepositoriesR}">Add another repository</a>
|
||||
$else
|
||||
$if barelyenough
|
||||
<span .badge .badge-warning>#{numrepos}</span>
|
||||
|
@ -23,6 +23,6 @@
|
|||
#{num}
|
||||
<td>
|
||||
#{name}
|
||||
<a .btn .btn-primary .btn-large href="@{AddRepositoryR}">Add another repository</a>
|
||||
<a .btn .btn-primary .btn-large href="@{RepositoriesR}">Add another repository</a>
|
||||
<p>
|
||||
Or just sit back, watch the magic, and get on with using your files.
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
<div .span9>
|
||||
<table .table .table-striped .table-condensed>
|
||||
<tbody>
|
||||
$forall (num, name) <- repolist
|
||||
<tr>
|
||||
<td>
|
||||
#{num}
|
||||
<td>
|
||||
#{name}
|
|
@ -2,14 +2,8 @@
|
|||
<div .row-fluid>
|
||||
<div .span4>
|
||||
<h3>
|
||||
<a href="@{AddRepositoryR}">
|
||||
Add repositories
|
||||
<a href="@{RepositoriesR}">
|
||||
Manage repositories
|
||||
<p>
|
||||
Distribute the files in this repository to other devices;
|
||||
make backups; and more by adding repositories.
|
||||
<div .span4>
|
||||
<h3>
|
||||
<a href="@{ListRepositoriesR}">
|
||||
Repository list
|
||||
<p>
|
||||
An overview of your repositories.
|
||||
Distribute the files in this repository to other devices,
|
||||
make backups, and more, by adding repositories.
|
||||
|
|
|
@ -1,9 +1,21 @@
|
|||
<div .span9>
|
||||
<h2>
|
||||
Your repositories
|
||||
<table .table .table-condensed>
|
||||
<tbody>
|
||||
$forall (num, name) <- repolist
|
||||
<tr>
|
||||
<td>
|
||||
#{num}
|
||||
<td>
|
||||
#{name}
|
||||
<h2>
|
||||
Add more repositories
|
||||
<div .row-fluid>
|
||||
<div .span4>
|
||||
<h3>
|
||||
<a href="@{AddDriveR}">
|
||||
Add a removable drive
|
||||
<i .icon-plus></i> Removable drive
|
||||
<p>
|
||||
Clone this repository to a USB drive, memory stick, or other #
|
||||
removable media.
|
||||
|
@ -13,15 +25,15 @@
|
|||
between computers.
|
||||
<div .span4>
|
||||
<h3>
|
||||
Pair with a local computer
|
||||
<i .icon-plus></i> Local computer
|
||||
<p>
|
||||
Automatically keep files in sync between computers on your #
|
||||
local network.
|
||||
Pair with a local computer to 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>
|
||||
<h3>
|
||||
Connect to your phone
|
||||
<i .icon-plus></i> Phone
|
||||
<p>
|
||||
Save photos and recordings from your phone.
|
||||
<p>
|
||||
|
@ -29,7 +41,7 @@
|
|||
<div .row-fluid>
|
||||
<div .span4>
|
||||
<h3>
|
||||
Store data in the cloud
|
||||
<i .icon-plus></i> The cloud
|
||||
<p>
|
||||
Store your data on a third-party cloud platform, #
|
||||
including Amazon S3, Box.com, and Rsync.net.
|
||||
|
@ -38,7 +50,7 @@
|
|||
With strong encryption to protect your privacy.
|
||||
<div .span4>
|
||||
<h3>
|
||||
Clone to a remote server
|
||||
<i .icon-plus></i> Remote server
|
||||
<p>
|
||||
Set up a repository on a remote server using #
|
||||
<tt>ssh</tt> or <tt>rsync</tt>.
|
|
@ -17,7 +17,7 @@
|
|||
Current Repository: #{reldir}
|
||||
<b .caret></b>
|
||||
<ul .dropdown-menu>
|
||||
<li><a href="@{AddRepositoryR}">Add another repository</a></li>
|
||||
<li><a href="@{RepositoriesR}">Add another repository</a></li>
|
||||
$nothing
|
||||
<div .container-fluid>
|
||||
<div .row-fluid>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue