summaryrefslogtreecommitdiff
path: root/features/Login.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-19 09:21:47 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-19 09:21:47 +0700
commit7625e24271ebb98848f92eb69d5706221a2efac3 (patch)
treebe36d8acc3a91bf4999d328f8755b6f5b4b54dc7 /features/Login.qml
parent6cf5f636652fa68c40baf8e3b34532ccc9e3d65d (diff)
rearrange `Login` flow
Diffstat (limited to 'features/Login.qml')
-rw-r--r--features/Login.qml33
1 files changed, 32 insertions, 1 deletions
diff --git a/features/Login.qml b/features/Login.qml
index 44bf53c..863e908 100644
--- a/features/Login.qml
+++ b/features/Login.qml
@@ -3,8 +3,39 @@ import QtQuick.Controls 2.12
import QtQuick.Controls.Material 2.12
import QtQuick.Layouts 1.12
-LoginForm {}
+Page {
+ header:
+ ToolBar {
+ background: Rectangle {
+ color: "#FAFFFFFF"
+ }
+ RowLayout {
+ ToolButton {
+ id: toolButton
+ icon.name: "back-button"
+ icon.source: "../components/icons/arrow-back-24px.svg"
+ highlighted: true
+ onClicked: {
+ if (pageView.depth > 1) {
+ pageView.pop()
+ } else {
+ drawer.open()
+ }
+ }
+ }
+ }
+ }
+
+
+StackView {
+ id: contentView
+ anchors.topMargin: 432
+ anchors.fill: parent
+ initialItem: LoginEmail{
+ }
+}
+}
/*##^##
Designer {
D{i:0;autoSize:true;height:480;width:640}