@@ -26,10 +26,6 @@ LocalComponents.Page {
26 backButtonText: i18n.tr("Cancel")
26 backButtonText: i18n.tr("Cancel")
27 forwardButtonSourceComponent: forwardButton
27 forwardButtonSourceComponent: forwardButton
29− Component.onCompleted: {
30− emailInput.forceActiveFocus()
34 id: column
30 id: column
35 anchors.fill: content
31 anchors.fill: content
@@ -123,6 +119,18 @@ LocalComponents.Page {
123 anchors.top: pass2Label.bottom
119 anchors.top: pass2Label.bottom
124 anchors.topMargin: units.gu(1)
120 anchors.topMargin: units.gu(1)
125 echoMode: TextInput.Password
121 echoMode: TextInput.Password
122+ KeyNavigation.tab: encryptCheck
125+ LocalComponents.CheckableSetting {
127+ objectName: "encryptCheck"
129+ anchors.left: parent.left
130+ anchors.right: parent.right
131+ anchors.top: pass2Input.bottom
132+ anchors.topMargin: units.gu(3)
133+ text: i18n.tr("Encrypt my content")
126 KeyNavigation.tab: optoutCheck
134 KeyNavigation.tab: optoutCheck
@@ -132,10 +140,11 @@ LocalComponents.Page {
132 showDivider: false
140 showDivider: false
133 anchors.left: parent.left
141 anchors.left: parent.left
134 anchors.right: parent.right
142 anchors.right: parent.right
135− anchors.top: pass2Input.bottom
143+ anchors.top: encryptCheck.bottom
136 anchors.topMargin: units.gu(3)
144 anchors.topMargin: units.gu(3)
137 text: i18n.tr("Opt out of cloud account (not recommended)")
145 text: i18n.tr("Opt out of cloud account (not recommended)")
138 KeyNavigation.tab: termsCheck
146 KeyNavigation.tab: termsCheck
141 LocalComponents.CheckableSetting {
150 LocalComponents.CheckableSetting {
@@ -149,13 +158,15 @@ LocalComponents.Page {
149 text: i18n.tr("I have read and accept the Ubuntu account <a href='#'>terms of service</a>")
158 text: i18n.tr("I have read and accept the Ubuntu account <a href='#'>terms of service</a>")
150 //onLinkActivated: pageStack.load(Qt.resolvedUrl("here-terms.qml")) // TODO show terms
159 //onLinkActivated: pageStack.load(Qt.resolvedUrl("here-terms.qml")) // TODO show terms
151 KeyNavigation.tab: emailInput
160 KeyNavigation.tab: emailInput
155 Component {
165 Component {
156 id: forwardButton
166 id: forwardButton
157 LocalComponents.StackButton {
167 LocalComponents.StackButton {
158− enabled: emailInput.acceptableInput && termsCheck.checked &&
168+ enabled: emailInput.acceptableInput &&
169+ //termsCheck.checked && // FIXME re-enable when the checkboxes get visible again
159 passInput.text !== "" && pass2Input.text !== "" && passInput.text === pass2Input.text
170 passInput.text !== "" && pass2Input.text !== "" && passInput.text === pass2Input.text
160 text: i18n.tr("Sign Up")
171 text: i18n.tr("Sign Up")
161 onClicked: pageStack.next() // TODO sign up against U1
172 onClicked: pageStack.next() // TODO sign up against U1