git-annex/templates/repolist.hamlet
Joey Hess 341269e035 git-annex (4.20130815) unstable; urgency=low
* assistant, watcher: .gitignore files and other git ignores are now
    honored, when git 1.8.4 or newer is installed.
    (Thanks, Adam Spiers, for getting the necessary support into git for this.)
  * importfeed: Ignores transient problems with feeds. Only exits nonzero
    when a feed has repeatedly had a problems for at least 1 day.
  * importfeed: Fix handling of dots in extensions.
  * Windows: Added support for encrypted special remotes.
  * Windows: Fixed permissions problem that prevented removing files
    from directory special remote. Directory special remotes now fully usable.

# imported from the archive
2013-08-15 04:14:33 -04:00

72 lines
2.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
$if unfinished uuid
<tr .repoline>
<td>
<a .btn .btn-mini .disabled>
<i .icon-time></i>
&nbsp; unfinished repository
<td>
<a href="@{CheckUnfinishedRepositoriesR}">
<i .icon-question-sign></i> check status
<td>
$else
<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
$if notWanted actions
<i .icon-trash></i> cleaning out..
$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
<span .dropdown #menu-#{fromUUID uuid}>
<a .dropdown-toggle data-toggle="dropdown" href="#menu-#{fromUUID uuid}">
<i .icon-cog></i> settings
<b .caret></b>
<ul .dropdown-menu>
<li>
<a href="@{setupRepoLink actions}">
<i .icon-pencil></i> Edit
<a href="@{DisableRepositoryR uuid}">
<i .icon-minus></i> Disable
<a href="@{DeleteRepositoryR uuid}">
<i .icon-trash></i> Delete
$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 device, or #
share with a friend.