on xenial help sign in
add draft Ubuntu Account page
commit56484a06b6d10abba5af1ded9533dbabe1eb939a authorLukáš Tinkl <lukas.tinkl@canonical.com> dateFri 10 Jul 2015, 17:17 (11 years ago) parentbc56fb5
1 file changed+69
qml/Wizard/Pages/55-uaccount.qml+69
qml/Wizard/Pages/55-uaccount.qmlnew file+69
@@ -0,0 +1,69 @@
1+/*
2+ * Copyright (C) 2015 Canonical, Ltd.
3+ *
4+ * This program is free software; you can redistribute it and/or modify
5+ * it under the terms of the GNU General Public License as published by
6+ * the Free Software Foundation; version 3.
7+ *
8+ * This program is distributed in the hope that it will be useful,
9+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
10+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+ * GNU General Public License for more details.
12+ *
13+ * You should have received a copy of the GNU General Public License
14+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
15+ */
16+
17+import QtQuick 2.3
18+import Ubuntu.Components 1.2
19+import ".." as LocalComponents
20+
21+LocalComponents.Page {
22+ objectName: "ubuntuAccountPage"
23+
24+ title: i18n.tr("Ubuntu Account")
25+ forwardButtonSourceComponent: forwardButton
26+
27+ Column {
28+ id: column
29+ anchors.fill: content
30+ spacing: units.gu(3)
31+ anchors.topMargin: units.gu(4)
32+
33+ Label {
34+ id: infoLabel
35+ anchors.left: parent.left
36+ anchors.right: parent.right
37+ wrapMode: Text.Wrap
38+ text: i18n.tr("Secure my device using Ubuntu account")
39+ color: "#525252"
40+ font.weight: Font.Light
41+ fontSize: "small"
42+ }
43+
44+ Button {
45+ anchors {
46+ left: parent.left
47+ right: parent.right
48+ }
49+ text: i18n.tr("Create Account")
50+ }
51+
52+ Button {
53+ anchors {
54+ left: parent.left
55+ right: parent.right
56+ }
57+ text: i18n.tr("Sign In")
58+ }
59+
60+ }
61+
62+ Component {
63+ id: forwardButton
64+ LocalComponents.StackButton {
65+ text: i18n.tr("Skip")
66+ onClicked: pageStack.next()
67+ }
68+ }
69+}