summaryrefslogtreecommitdiff
path: root/Login.qml
blob: edc345b2d1a6353091ca6e19804871b09f0c6818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Controls.Material 2.12
import QtQuick.Layouts 1.12
import "larva/features"

Page {
	header: ToolBar {
		background: Rectangle {
			color: "#FAFFFFFF"
		}
		RowLayout {
			ToolButton {
				id: toolButton
				icon.name: "back-button"
                icon.source: "assets/arrow-back-24px.svg"
				highlighted: true
				onClicked:
					if (pageView.depth > 1)
						pageView.pop()
					else
						drawer.open()
			}
		}
	}
    footer: RowLayout {
        id: continueLayout
        height: 64
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 0
        anchors.right: parent.right
        anchors.rightMargin: 0
        anchors.left: parent.left
        anchors.leftMargin: 0

        Text {
            id: disclaimer
            text: qsTr("By continuing, you are agree to our Terms of Use and Privacy Policy.")
            Layout.rightMargin: 16
            Layout.leftMargin: 16
            font.family: "Roboto"
            font.pointSize: 12
            color: "#FA000000"
            wrapMode: Text.WordWrap
            verticalAlignment: Text.AlignVCenter
            rightPadding: 0
            leftPadding: 0
            Layout.alignment: Qt.AlignVCenter
            Layout.fillWidth: true
        }
        RoundButton {
            id: continueButton
            implicitWidth: 64
            implicitHeight: 64
            Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
            Material.background: Material.primary
            display: AbstractButton.IconOnly
            icon.name: "arrow-forward-icon"
            icon.source: "assets/arrow-forward-24px.svg"
            highlighted: true
            enabled: false

        }
    }

	StackView {
		id: contentView
		anchors.fill: parent
        initialItem: LoginEmail{
        }
	}
}

/*##^##
Designer {
    D{i:0;autoSize:true;height:480;width:640}
}
##^##*/