2018-04-13 17:49:03 +02:00
|
|
|
<header>
|
|
|
|
<div class="left">
|
2022-07-25 12:43:10 +02:00
|
|
|
<button type="button" routerLink="/tabs/settings">
|
2022-01-28 11:53:06 +01:00
|
|
|
<span class="header-icon"><i class="bwi bwi-angle-left" aria-hidden="true"></i></span>
|
2018-04-13 17:49:03 +02:00
|
|
|
<span>{{ "back" | i18n }}</span>
|
2022-07-25 12:43:10 +02:00
|
|
|
</button>
|
2018-04-13 17:49:03 +02:00
|
|
|
</div>
|
2021-11-02 23:28:53 +01:00
|
|
|
<h1 class="center">
|
2018-04-13 17:49:03 +02:00
|
|
|
<span class="title">{{ "sync" | i18n }}</span>
|
2021-11-02 23:28:53 +01:00
|
|
|
</h1>
|
2018-04-13 17:49:03 +02:00
|
|
|
<div class="right"></div>
|
|
|
|
</header>
|
2022-04-29 02:06:33 +02:00
|
|
|
<main tabindex="-1">
|
2018-04-13 17:49:03 +02:00
|
|
|
<div class="content center-content">
|
2019-02-21 22:53:57 +01:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
class="btn block primary"
|
2022-12-21 20:48:22 +01:00
|
|
|
aria-describedby="lastSyncHint"
|
2019-02-21 22:53:57 +01:00
|
|
|
(click)="sync()"
|
|
|
|
#syncBtn
|
2022-11-28 18:59:46 +01:00
|
|
|
[disabled]="$any(syncBtn).loading"
|
2019-02-21 22:53:57 +01:00
|
|
|
[appApiAction]="syncPromise"
|
|
|
|
>
|
2022-11-28 18:59:46 +01:00
|
|
|
<span [hidden]="$any(syncBtn).loading">{{ "syncVaultNow" | i18n }}</span>
|
|
|
|
<i
|
|
|
|
class="bwi bwi-spinner bwi-lg bwi-spin"
|
|
|
|
[hidden]="!$any(syncBtn).loading"
|
|
|
|
aria-hidden="true"
|
|
|
|
></i>
|
2018-04-13 17:49:03 +02:00
|
|
|
</button>
|
2022-12-21 20:48:22 +01:00
|
|
|
<p id="lastSyncHint" class="text-center text-muted small">
|
|
|
|
{{ "lastSync" | i18n }} {{ lastSync }}
|
|
|
|
</p>
|
2018-04-13 17:49:03 +02:00
|
|
|
</div>
|
2022-04-29 02:06:33 +02:00
|
|
|
</main>
|