git-annex/templates/repolist.hamlet
Joey Hess 52f8ec3dc7 change syncing pause icon
This icon was using paused to indicate syncing was paused, while the
transfers display uses the same icon as a way to *pause* a transfer.
2013-03-15 01:43:51 -04:00

48 lines
1.6 KiB
Text

<div ##{ident}>
$if onlyCloud reposelector
$if not (null repolist)
<h2>
Cloud repositories
$else
No cloud repositories are configured yet.
$else
$if not (null repolist)
<h2>
Repositories
<table .table .table-condensed>
<tbody #costsortable>
$forall (name, uuid, actions) <- repolist
<tr .repoline ##{fromUUID uuid}>
<td .handle>
<a .btn .btn-mini .disabled>
<i .icon-resize-vertical></i>
&nbsp; #{name}
<td .draghide>
$if needsEnabled actions
<a href="@{setupRepoLink actions}">
<i .icon-warning-sign></i> not enabled
$else
<a href="@{syncToggleLink actions}">
$if notSyncing actions
<i .icon-ban-circle></i> syncing disabled
$else
<i .icon-refresh></i> syncing enabled
<td .draghide>
$if needsEnabled actions
<a href="@{setupRepoLink actions}">
enable
$else
<a href="@{setupRepoLink actions}">
configure
$if addmore
<tr>
<td colspan="3">
$if nootherrepos
<a .btn .btn-primary .btn-large href="@{AddRepositoryR}">
<i .icon-plus-sign></i> Add another repository
$else
<a .btn .btn-small href="@{AddRepositoryR}">
<i .icon-plus-sign></i> Add another repository
<span>
&nbsp; Sync your files with another drive, device, or #
share with a friend.