mirror of
https://github.com/standardnotes/app.git
synced 2026-01-11 19:56:41 +00:00
* feat: remove extensions manager * fix: remove unused code Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
90 lines
3.5 KiB
Text
90 lines
3.5 KiB
Text
.sn-component
|
|
#footer-bar.sk-app-bar.no-edges.no-bottom-edge
|
|
.left
|
|
.sk-app-bar-item.ml-0(
|
|
click-outside='ctrl.clickOutsideAccountMenu()',
|
|
is-open='ctrl.showAccountMenu',
|
|
ng-click='ctrl.accountMenuPressed()'
|
|
)
|
|
.w-8.h-full.flex.items-center.justify-center.cursor-pointer.rounded-full(
|
|
ng-class="ctrl.showAccountMenu ? 'bg-border' : '' "
|
|
)
|
|
.w-5.h-5(
|
|
ng-class="ctrl.hasError ? 'danger' : (ctrl.user ? 'info' : 'neutral')"
|
|
)
|
|
icon(
|
|
type="account-circle"
|
|
class-name="hover:color-info w-5 h-5 max-h-5"
|
|
)
|
|
account-menu(
|
|
ng-click='$event.stopPropagation()',
|
|
app-state='ctrl.appState'
|
|
application='ctrl.application'
|
|
ng-if='ctrl.showAccountMenu',
|
|
)
|
|
.sk-app-bar-item.ml-0-important(
|
|
click-outside='ctrl.clickOutsideQuickSettingsMenu()',
|
|
is-open='ctrl.showQuickSettingsMenu',
|
|
ng-click='ctrl.quickSettingsPressed()'
|
|
)
|
|
.w-8.h-full.flex.items-center.justify-center.cursor-pointer
|
|
.h-5
|
|
icon(
|
|
type="tune"
|
|
class-name="rounded hover:color-info"
|
|
ng-class="{'color-info': ctrl.showQuickSettingsMenu}"
|
|
)
|
|
quick-settings-menu(
|
|
ng-click='$event.stopPropagation()',
|
|
app-state='ctrl.appState'
|
|
application='ctrl.application'
|
|
ng-if='ctrl.showQuickSettingsMenu',)
|
|
.sk-app-bar-item.border(ng-if="ctrl.state.showBetaWarning")
|
|
.sk-app-bar-item(ng-if="ctrl.state.showBetaWarning")
|
|
a.no-decoration.sk-label.title(
|
|
ng-click="ctrl.displayBetaDialog()"
|
|
) You are using a beta version of the app
|
|
.center
|
|
.sk-app-bar-item(ng-if='ctrl.arbitraryStatusMessage')
|
|
.sk-app-bar-item-column
|
|
span.neutral.sk-label {{ctrl.arbitraryStatusMessage}}
|
|
.right
|
|
.sk-app-bar-item(
|
|
ng-click='ctrl.openSecurityUpdate()'
|
|
ng-if='ctrl.state.dataUpgradeAvailable'
|
|
)
|
|
span.success.sk-label Encryption upgrade available.
|
|
.sk-app-bar-item(
|
|
ng-click='ctrl.clickedNewUpdateAnnouncement()',
|
|
ng-if='ctrl.newUpdateAvailable == true'
|
|
)
|
|
span.info.sk-label New update available.
|
|
.sk-app-bar-item(
|
|
ng-click='ctrl.toggleSyncResolutionMenu()',
|
|
ng-if='(ctrl.state.outOfSync) || ctrl.showSyncResolution'
|
|
)
|
|
.sk-label.warning(ng-if='ctrl.state.outOfSync') Potentially Out of Sync
|
|
sync-resolution-menu(
|
|
close-function='ctrl.toggleSyncResolutionMenu()',
|
|
ng-click='$event.stopPropagation();',
|
|
ng-if='ctrl.showSyncResolution',
|
|
application='ctrl.application'
|
|
)
|
|
.sk-app-bar-item(ng-if='ctrl.offline')
|
|
.sk-label Offline
|
|
.sk-app-bar-item.border(ng-if='ctrl.state.hasAccountSwitcher')
|
|
.sk-app-bar-item(
|
|
ng-if='ctrl.state.hasAccountSwitcher'
|
|
ng-click='ctrl.openAccountSwitcher()',
|
|
)
|
|
#account-switcher-icon(ng-class='{"alone": !ctrl.state.hasPasscode}')
|
|
svg.info.ionicon
|
|
use(href="#layers-sharp")
|
|
.sk-app-bar-item.border(ng-if='ctrl.state.hasPasscode')
|
|
#lock-item.sk-app-bar-item(
|
|
ng-click='ctrl.lockApp()',
|
|
ng-if='ctrl.state.hasPasscode',
|
|
title='Locks application and wipes unencrypted data from memory.'
|
|
)
|
|
.sk-label
|
|
i#footer-lock-icon.icon.ion-locked
|