2012-11-13 21:50:54 +00:00
|
|
|
<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>
|
2013-03-14 02:47:16 +00:00
|
|
|
<tbody #costsortable>
|
2013-03-15 04:34:42 +00:00
|
|
|
$forall (name, uuid, actions) <- repolist
|
2013-08-02 16:32:16 +00:00
|
|
|
$if unfinished uuid
|
webapp: Improve handling of remotes whose setup has stalled.
This includes recovery from the ssh-agent problem that led to many reporting
http://git-annex.branchable.com/bugs/Internal_Server_Error:_Unknown_UUID/
(Including fixing up .ssh/config to set IdentitiesOnly.)
Remotes that have no known uuid are now displayed in the webapp as
"unfinished". There's a link to check their status, and if the remote
has been set annex-ignore, a retry button can be used to unset that and
try again to set up the remote.
As this bug has shown, the process of adding a ssh remote has some failure
modes that are not really ideal. It would certianly be better if, when
setting up a ssh remote it would detect if it's failed to get the UUID,
and handle that in the remote setup process, rather than waiting until
later and handling it this way.
However, that's hard to do, particularly for local pairing, since the
PairListener runs as a background thread. The best it could do is pop up an
alert if there's a problem. This solution is not much different.
Also, this solution handles cases where the user has gotten their repo into
a mess manually and let's the assistant help with cleaning it up.
This commit was sponsored by Chia Shee Liang. Thanks!
2013-07-31 20:01:20 +00:00
|
|
|
<tr .repoline>
|
|
|
|
<td>
|
|
|
|
<a .btn .btn-mini .disabled>
|
|
|
|
<i .icon-time></i>
|
|
|
|
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>
|
|
|
|
#{name}
|
|
|
|
<td .draghide>
|
|
|
|
$if needsEnabled actions
|
|
|
|
<a href="@{setupRepoLink actions}">
|
|
|
|
<i .icon-warning-sign></i> not enabled
|
2013-04-04 01:58:08 +00:00
|
|
|
$else
|
webapp: Improve handling of remotes whose setup has stalled.
This includes recovery from the ssh-agent problem that led to many reporting
http://git-annex.branchable.com/bugs/Internal_Server_Error:_Unknown_UUID/
(Including fixing up .ssh/config to set IdentitiesOnly.)
Remotes that have no known uuid are now displayed in the webapp as
"unfinished". There's a link to check their status, and if the remote
has been set annex-ignore, a retry button can be used to unset that and
try again to set up the remote.
As this bug has shown, the process of adding a ssh remote has some failure
modes that are not really ideal. It would certianly be better if, when
setting up a ssh remote it would detect if it's failed to get the UUID,
and handle that in the remote setup process, rather than waiting until
later and handling it this way.
However, that's hard to do, particularly for local pairing, since the
PairListener runs as a background thread. The best it could do is pop up an
alert if there's a problem. This solution is not much different.
Also, this solution handles cases where the user has gotten their repo into
a mess manually and let's the assistant help with cleaning it up.
This commit was sponsored by Chia Shee Liang. Thanks!
2013-07-31 20:01:20 +00:00
|
|
|
$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
|
2013-03-15 04:34:42 +00:00
|
|
|
$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>
|
2013-04-02 19:45:35 +00:00
|
|
|
Sync your files with another device, or #
|
2013-03-15 04:34:42 +00:00
|
|
|
share with a friend.
|