sync status

This commit is contained in:
Mo Bitar
2017-01-25 21:58:32 -06:00
parent b2200c5707
commit 5141b963bc
9 changed files with 82 additions and 7 deletions

View File

@@ -10,7 +10,7 @@
%account-sync-section{"ng-if" => "showSync"}
%section.account-item
%h3{"ng-click" => "showKeys = !showKeys"} Encryption Keys
%h3{"ng-click" => "showKeys = !showKeys"} Encryption Keys ({{keys.length}})
%account-keys-section{"ng-if" => "showKeys"}
%section.account-item

View File

@@ -17,6 +17,9 @@
%button.light{"ng-if" => "syncProviders.length > 1", "ng-click" => "enableSyncProvider(provider, false)"} Enable as Secondary sync provider
%button.light{"ng-if" => "provider.keyName", "ng-click" => "changeEncryptionKey(provider)"} Change Encryption Key
%button.light{"ng-click" => "removeSyncProvider(provider)"} Remove Provider
.sync-status{"delay-hide" => "true", "show" => "provider.syncOpInProgress", "delay" => "1000"}
.text{"style" => "float: left;"} Syncing: {{provider.syncStatus.statusString}}
.spinner{"style" => "float: right"}
%a{"ng-click" => "newSyncData.showAddSyncForm = !newSyncData.showAddSyncForm"} Add external sync with Secret URL
%form.sync-form{"ng-if" => "newSyncData.showAddSyncForm"}