This commit is contained in:
Mo Bitar
2020-02-09 16:46:12 -06:00
parent 1a87df0db8
commit 1497048c72
16 changed files with 307 additions and 210 deletions

View File

@@ -192,7 +192,7 @@
ng-if='self.state.noteReady && !self.state.note.errorDecrypting'
)
panel-resizer.left(
control='self.leftResizeControl',
control='self.leftPanelPuppet',
hoverable='true',
min-width='300',
ng-if='self.state.marginResizersEnabled',
@@ -219,7 +219,7 @@
)
| {{self.onSystemEditorLoad()}}
panel-resizer(
control='self.rightResizeControl',
control='self.rightPanelPuppet',
hoverable='true', min-width='300',
ng-if='self.state.marginResizersEnabled',
on-resize-finish='self.onPanelResizeFinish',

View File

@@ -84,10 +84,10 @@
elem-ready='ctrl.initSvgForShortcut(shortcut)',
ng-attr-id='dock-svg-{{shortcut.component.uuid}}'
)
.sk-app-bar-item.border(ng-if='ctrl.hasPasscode')
.sk-app-bar-item.border(ng-if='ctrl.state.hasPasscode')
#lock-item.sk-app-bar-item(
ng-click='ctrl.lockApp()',
ng-if='ctrl.hasPasscode',
ng-if='ctrl.state.hasPasscode',
title='Locks application and wipes unencrypted data from memory.'
)
.sk-label

View File

@@ -143,7 +143,7 @@
.faded {{note.savedTagsString || note.tagsString()}}
panel-resizer(
collapsable="true"
control="self.panelController"
control="self.panelPuppet"
default-width="300"
hoverable="true"
on-resize-finish="self.onPanelResize"

View File

@@ -1,19 +1,19 @@
.main-ui-view(
ng-class='self.platformString'
)
ng-class='self.platformString'
)
lock-screen(
ng-if='self.state.needsUnlock'
on-value='self.state.onLockscreenValue',
puppet='self.lockScreenPuppet'
ng-if='self.state.needsUnlock'
on-value='self.state.onLockscreenValue',
puppet='self.lockScreenPuppet'
)
#app.app(
ng-class='self.state.appClass',
ng-if='!self.state.needsUnlock'
ng-class='self.state.appClass',
ng-if='!self.state.needsUnlock'
)
tags-panel
notes-panel
editor-panel
footer(
ng-if='!self.state.needsUnlock'
ng-if='!self.state.needsUnlock'
)

View File

@@ -56,7 +56,7 @@
| No tags. Create one using the add button above.
panel-resizer(
collapsable='true',
control='self.panelController',
control='self.panelPuppet',
default-width='150',
hoverable='true',
on-resize-finish='self.onPanelResize',