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-03-14 20:22:18 +00:00
|
|
|
<tr .repoline ##{fromUUID uuid}>
|
2013-03-14 02:47:16 +00:00
|
|
|
<td .handle>
|
2013-03-15 04:41:42 +00:00
|
|
|
<a .btn .btn-mini .disabled>
|
|
|
|
<i .icon-resize-vertical></i>
|
|
|
|
#{name}
|
2013-03-14 02:47:16 +00:00
|
|
|
<td .draghide>
|
2012-11-13 21:50:54 +00:00
|
|
|
$if needsEnabled actions
|
|
|
|
<a href="@{setupRepoLink actions}">
|
|
|
|
<i .icon-warning-sign></i> not enabled
|
|
|
|
$else
|
2013-04-04 01:58:08 +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
|
2013-03-14 02:47:16 +00:00
|
|
|
<td .draghide>
|
2012-11-13 21:50:54 +00:00
|
|
|
$if needsEnabled actions
|
|
|
|
<a href="@{setupRepoLink actions}">
|
|
|
|
enable
|
|
|
|
$else
|
2013-04-04 01:26:38 +00:00
|
|
|
<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.
|