Fix lock icon placement when offline

This commit is contained in:
Mo Bitar
2017-11-01 18:47:11 -05:00
parent 5b9e5b7b91
commit c5d19c0cf4
2 changed files with 3 additions and 7 deletions

View File

@@ -49,11 +49,7 @@ h2 {
font-weight: bold;
margin-bottom: 4px;
}
strong {
display: block;
}
h1 {
font-size: 16px;
}

View File

@@ -18,7 +18,7 @@
%span.tinted.normal New update downloaded. Installs on app restart.
.footer-bar-link{"style" => "margin-right: 5px;"}
%div{"ng-if" => "ctrl.lastSyncDate", "style" => "float: left; font-weight: normal; margin-right: 8px;"}
%span{"ng-if" => "ctrl.lastSyncDate", "style" => "float: left; font-weight: normal; margin-right: 8px;"}
%span{"ng-if" => "!ctrl.isRefreshing"}
Last refreshed {{ctrl.lastSyncDate | appDateTime}}
%span{"ng-if" => "ctrl.isRefreshing"}
@@ -28,4 +28,4 @@
%a{"ng-if" => "!ctrl.offline", "ng-click" => "ctrl.refreshData()"} Refresh
%span{"ng-if" => "ctrl.hasPasscode()"}
%i.icon.ion-locked{"ng-click" => "ctrl.lockApp()"}
%i.icon.ion-locked{"ng-if" => "ctrl.hasPasscode()", "ng-click" => "ctrl.lockApp()"}