Require data storage consent before signup
color: black;
}
+.blerg-dialog a {
+ color: inherit;
+}
+
.blerg-error {
color: red;
font-weight: bold;
.enyo-no-touch-action#blerg {
-ms-touch-action: pan-y;
}
+
+.checkbox-label {
+ width: calc(100% - 40px);
+ margin-left: 8px;
+}
]},
{kind: "onyx.InputDecorator", components: [
{name: "password", kind: "onyx.Input", placeholder: "Password", type: "password"}
+ ]},
+ {kind: "onyx.InputDecorator", components: [
+ {name: "dataConsent", kind: "onyx.Checkbox"},
+ {classes: "checkbox-label", components: [
+ {tag: null, content: "I consent to have my data stored in accordance with the "},
+ {kind: "blerg.Link", content: "Privacy and Data Policies", href: "/doc/privacy_data.html"},
+ {tag: null, content: "."}
+ ]}
]}
]},
{name: "message", tag: "p", content: "No, really, that's all I need. I don't want to send you email. It's too much work to program in email updates. :-P"},
onSignupFailure: "signupFailure"}
],
signupClick: function() {
+ if (!this.$.dataConsent.getValue()) {
+ alert('You must consent to data storage to sign up.');
+ return;
+ }
this.$.signupButton.setDisabled(true);
this.$.spinner.show();
this.$.spinner.start();