You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dom._kids(document.body,dom.div(dom._class('page'),dom.h1('Account created'),dom.p(dom.span("If all is well",attr.title('If you already have an account with essentially the same email address (wildcards removed, etc), you can not create another account via the website, only by sending us a signup email.')),", we've sent an email to ",dom.b(email)," with a confirmation link."),dom.p("If the email is not coming in, don't forget to check your spam mailbox. Also, some mail servers employ 'grey listing', holding off first-time deliveries for up to half an hour."),dom.p("Go back ",dom.a(attr.href('#'),'home',functionclick(){route();}),'.')));
1116
+
dom._kids(document.body,dom.div(dom._class('page'),dom.h1('Account created'),dom.p(dom.span("If all is well",attr.title('If you already have an account with essentially the same email address (wildcards removed, etc), you can not create another account via the website and we actually did not send you an email. You can only sign up with those similar addresses through a signup email.')),", we've sent an email to ",dom.b(email)," with a confirmation link."),dom.p("If the email is not coming in, don't forget to check your spam mailbox. Also, some mail servers employ 'grey listing', holding off first-time deliveries for up to half an hour."),dom.p("Go back ",dom.a(attr.href('#'),'home',functionclick(){route();}),'.')));
dom.p('Send us an email with "signup for ',home.ServiceName,'" as the subject:'),
1129
-
dom.p(style({marginLeft: '3em'}),dom.a(attr.href('mailto:'+encodeURIComponent(home.SignupAddress)+'?subject='+encodeURIComponent('signup for '+home.ServiceName)+'&body='+encodeURIComponent('sign me up for gopherwatch!')),home.SignupAddress)),
1130
-
dom.p(`Any message body will do, it's ignored. You'll get a reply with a link to confirm and set a password, after which we'll automatically log you in. Easy.`),
1131
-
home.SignupWebsiteDisabled ? [] : dom.p("Sending us the first email ",dom.span("helps your junk filter realize we're good people.",attr.title(`Because our email address will be a known correspondent in your account. It may also prevent delays in delivery. Hopefully your junk filter will seize the opportunity! On top of that, it will also prevent us from being misused into sending messages to unsuspecting people, because we only reply to messages from legitimate senders (spf/dkim/dmarc-verified). For similar reasons, you can only sign up with wildcard email addresses (like user+$anything@domain) via email and not via the website.`))),
1132
-
dom.br(),
1124
+
] : [],home.SignupEmailDisabled&&home.SignupWebsiteDisabled ? dom.p('Signups are disabled at the moment, sorry.') : [],dom.div(dom._class('signupoptions'),home.SignupEmailDisabled ? [] : [
1125
+
dom.div(
1126
+
// Only show header if there is a choice.
1127
+
home.SignupWebsiteDisabled ? [] : dom.h2('Option 1: Signup through email (recommended option)'),dom.p('Send us an email with "signup for ',home.ServiceName,'" as the subject:'),dom.p(style({marginLeft: '3em'}),dom.a(attr.href('mailto:'+encodeURIComponent(home.SignupAddress)+'?subject='+encodeURIComponent('signup for '+home.ServiceName)+'&body='+encodeURIComponent('sign me up for gopherwatch!')),home.SignupAddress)),dom.p(`Any message body will do, it's ignored. You'll get a reply with a link to confirm and set a password, after which we'll automatically log you in. Easy.`),home.SignupWebsiteDisabled ? [] : dom.p("Sending us the first email ",dom.span("helps your junk filter realize we're good people.",attr.title(`Because our email address will be a known correspondent in your account. It may also prevent delays in delivery. Hopefully your junk filter will seize the opportunity! On top of that, it will also prevent us from being misused into sending messages to unsuspecting people, because we only reply to messages from legitimate senders (spf/dkim/dmarc-verified). For similar reasons, you can only sign up with wildcard email addresses (like user+$anything@domain) via email and not via the website.`))),dom.br()),
1133
1128
],home.SignupWebsiteDisabled ? [] : [
1134
-
home.SignupEmailDisabled ? [] : dom.h2('Option 2: Signup through website'),
1135
-
dom.form(asyncfunctionsubmit(e){
1129
+
dom.div(home.SignupEmailDisabled ? [] : dom.h2('Option 2: Signup through website (fallback option)'),dom.p('Please have a look at signing up with option 1 first.'),dom.form(asyncfunctionsubmit(e){
1136
1130
e.stopPropagation();
1137
1131
e.preventDefault();
1138
1132
awaitcheck(fieldset,async()=>{
1139
1133
awaitclient.Signup(email.value.trim());
1140
1134
signedup(email.value.trim());
1141
1135
});
1142
-
},fieldset=dom.fieldset(dom.label(style({display: 'inline'}),'Email address',' ',email=dom.input(attr.type('email'),attr.required(''))),' ',dom.submitbutton('Create account')),dom.p("We'll send you an email with a confirmation link."))
1143
-
]));
1136
+
},fieldset=dom.fieldset(dom.label(style({display: 'inline'}),'Email address',' ',email=dom.input(attr.type('email'),attr.required(''))),' ',dom.submitbutton('Create account')),dom.p("We'll send you an email with a confirmation link."))),
dom.p('Send us an email with "signup for ',home.ServiceName,'" as the subject:'),
575
-
dom.p(style({marginLeft: '3em'}),dom.a(attr.href('mailto:'+encodeURIComponent(home.SignupAddress)+'?subject='+encodeURIComponent('signup for '+home.ServiceName)+'&body='+encodeURIComponent('sign me up for gopherwatch!')),home.SignupAddress)),
576
-
dom.p(`Any message body will do, it's ignored. You'll get a reply with a link to confirm and set a password, after which we'll automatically log you in. Easy.`),
577
-
home.SignupWebsiteDisabled ? [] : dom.p("Sending us the first email ",dom.span("helps your junk filter realize we're good people.",attr.title(`Because our email address will be a known correspondent in your account. It may also prevent delays in delivery. Hopefully your junk filter will seize the opportunity! On top of that, it will also prevent us from being misused into sending messages to unsuspecting people, because we only reply to messages from legitimate senders (spf/dkim/dmarc-verified). For similar reasons, you can only sign up with wildcard email addresses (like user+$anything@domain) via email and not via the website.`))),
578
-
dom.br(),
579
-
],
580
-
581
-
home.SignupWebsiteDisabled ? [] : [
582
-
home.SignupEmailDisabled ? [] : dom.h2('Option 2: Signup through website'),
dom.p('Send us an email with "signup for ',home.ServiceName,'" as the subject:'),
577
+
dom.p(style({marginLeft: '3em'}),dom.a(attr.href('mailto:'+encodeURIComponent(home.SignupAddress)+'?subject='+encodeURIComponent('signup for '+home.ServiceName)+'&body='+encodeURIComponent('sign me up for gopherwatch!')),home.SignupAddress)),
578
+
dom.p(`Any message body will do, it's ignored. You'll get a reply with a link to confirm and set a password, after which we'll automatically log you in. Easy.`),
579
+
home.SignupWebsiteDisabled ? [] : dom.p("Sending us the first email ",dom.span("helps your junk filter realize we're good people.",attr.title(`Because our email address will be a known correspondent in your account. It may also prevent delays in delivery. Hopefully your junk filter will seize the opportunity! On top of that, it will also prevent us from being misused into sending messages to unsuspecting people, because we only reply to messages from legitimate senders (spf/dkim/dmarc-verified). For similar reasons, you can only sign up with wildcard email addresses (like user+$anything@domain) via email and not via the website.`))),
580
+
dom.br(),
601
581
),
602
-
dom.p("We'll send you an email with a confirmation link."),
0 commit comments