forked from firebase/firebaseui-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpages.soy
1509 lines (1430 loc) · 54.3 KB
/
pages.soy
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/**
* Copyright 2016 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing permissions and
* limitations under the License.
*/
// UI components for the FirebaseUI widget.
{namespace firebaseui.auth.soy2.page autoescape="strict"}
/**
* Renders a sign-in page.
*/
{template .signIn}
{@param? email: string} /** The email address to prefill. */
{@param? displayCancelButton: bool} /** Whether to display the cancel button. */
{@param? displayFullTosPpMessage: bool} /** Whether to display the full message of ToS and PP. */
<div class="mdl-card mdl-shadow--2dp firebaseui-container firebaseui-id-page-sign-in">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of the email/password sign-in page."}Sign in with email{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<div class="firebaseui-relative-wrapper">
{call firebaseui.auth.soy2.element.email data="all" /}
</div>
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-actions">
{if $displayCancelButton}
{call firebaseui.auth.soy2.element.cancelButton /}
{/if}
{call firebaseui.auth.soy2.element.submitButton /}
</div>
</div>
<div class="firebaseui-card-footer">
{if $displayFullTosPpMessage}
{call firebaseui.auth.soy2.element.fullMessageTosPp data="all" /}
{else}
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
{/if}
</div>
</form>
</div>
{/template}
/**
* Renders a sign-in page for password account.
*/
{template .passwordSignIn}
{@param? email: string} /** The email address to prefill. */
{@param? displayFullTosPpMessage: bool} /** Whether to display the full message of ToS and PP. */
<div class="mdl-card mdl-shadow--2dp firebaseui-container firebaseui-id-page-password-sign-in">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">{msg desc="Header of a sign-in page."}Sign in{/msg}</h1>
</div>
<div class="firebaseui-card-content">
{call firebaseui.auth.soy2.element.email data="all" /}
{call firebaseui.auth.soy2.element.password /}
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-links">
{call firebaseui.auth.soy2.element.passwordRecoveryButton /}
</div>
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.signInButton /}
</div>
</div>
<div class="firebaseui-card-footer">
{if $displayFullTosPpMessage}
{call firebaseui.auth.soy2.element.fullMessageTosPp data="all" /}
{else}
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
{/if}
</div>
</form>
</div>
{/template}
/**
* Renders a sign-up page for password account.
*/
{template .passwordSignUp}
{@param? email: string} /** The email address to prefill. */
{@param? requireDisplayName: bool} /** Whether to show the display name. */
{@param? name: string} /** The name to prefill. */
{@param? allowCancel: bool} /** Whether to show the cancel link. */
{@param? displayFullTosPpMessage: bool} /** Whether to display the full message of ToS and PP. */
<div class="mdl-card mdl-shadow--2dp firebaseui-container firebaseui-id-page-password-sign-up">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a sign-up page."}Create account{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
{call firebaseui.auth.soy2.element.email data="all" /}
{if $requireDisplayName}
{call firebaseui.auth.soy2.element.name data="all" /}
{/if}
{call firebaseui.auth.soy2.element.newPassword /}
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-actions">
{if $allowCancel}
{call firebaseui.auth.soy2.element.cancelButton /}
{/if}
{call firebaseui.auth.soy2.element.saveButton /}
</div>
</div>
<div class="firebaseui-card-footer">
{if $displayFullTosPpMessage}
{call firebaseui.auth.soy2.element.fullMessageTosPp data="all" /}
{else}
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
{/if}
</div>
</form>
</div>
{/template}
/**
* Renders a password recovery page.
*/
{template .passwordRecovery}
{@param? email: string} /** The email address to prefill. */
{@param? allowCancel: bool} /** Whether to show the cancel link. */
<div class="mdl-card mdl-shadow--2dp firebaseui-container firebaseui-id-page-password-recovery">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a password recovery page."}Recover password{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text">
{msg desc="Information on how the user resets their password."}
Get instructions sent to this email that explain how to reset your password
{/msg}
</p>
{call firebaseui.auth.soy2.element.email data="all" /}
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-actions">
{if $allowCancel}
{call firebaseui.auth.soy2.element.cancelButton /}
{/if}
{call firebaseui.auth.soy2.element.submitButton}
{param label kind="text"}
{msg desc="The button that sends a password recovery email."}
Send
{/msg}
{/param}
{/call}
</div>
</div>
<div class="firebaseui-card-footer">
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
</div>
</form>
</div>
{/template}
/**
* Renders a notice page to indicate the password recovery email has been sent.
*/
{template .passwordRecoveryEmailSent}
{@param email: string} /** The email address to which the password reset email has been sent. */
{@param? allowContinue: bool} /** Whether to show the continue button. */
<div class="mdl-card mdl-shadow--2dp{sp}
firebaseui-container firebaseui-id-page-password-recovery-email-sent">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a notice page when the password recovery email has been sent."}
Check your email
{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text">
{msg desc="Detailed info of a notice page when the password recovery email has been sent."}
Follow the instructions sent to <strong>{$email}</strong> to recover your password
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
{if $allowContinue}
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.submitButton}
{param label kind="text"}
{msg desc="Label of a button that finishes the password recovery flow."}
Done
{/msg}
{/param}
{/call}
</div>
{/if}
</div>
<div class="firebaseui-card-footer">
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
</div>
</div>
{/template}
/**
* Renders a callback page which simply shows an activity loading indicator when calling the remote
* API so that the user won't be confused by the blank page.
*/
{template .callback}
<div class="mdl-card mdl-shadow--2dp firebaseui-container firebaseui-id-page-callback">
<div class="firebaseui-callback-indicator-container">
{call firebaseui.auth.soy2.element.busyIndicator /}
</div>
</div>
{/template}
/**
* Renders a page which simply shows a spinner.
*/
{template .spinner}
<div class="firebaseui-container firebaseui-id-page-spinner">
{call firebaseui.auth.soy2.element.busyIndicator}
{param useSpinner: true /}
{/call}
</div>
{/template}
/**
* Renders a blank callback page which simply shows an activity loading indicator when calling a
* remote API so that the user won't be confused by the blank page.
*/
{template .blank}
<div class="firebaseui-container firebaseui-id-page-blank firebaseui-use-spinner">
</div>
{/template}
/**
* Renders an email link sign-in sent page.
*/
{template .emailLinkSignInSent}
/** The user's email. */
{@param email:string}
<div class="mdl-card mdl-shadow--2dp firebaseui-container
firebaseui-id-page-email-link-sign-in-sent">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a email link sign-in sent page."}Sign-in email sent{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<div class="firebaseui-email-sent"></div>
<p class="firebaseui-text">
{msg desc="Message that a link was sent to user's email to complete sign-in."}
A sign-in email with additional instructions was sent to <strong>{$email}</strong>.
Check your email to complete sign-in.
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-links">
{call firebaseui.auth.soy2.element.troubleGettingEmailButton /}
</div>
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.cancelButton}
{param label kind="text"}
{msg desc="Label for the button to go back to the previous page."}
Back
{/msg}
{/param}
{/call}
</div>
</div>
<div class="firebaseui-card-footer">
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
</div>
</form>
</div>
{/template}
/**
* Renders an email not received troubleshooting page.
*/
{template .emailNotReceived}
<div class="mdl-card mdl-shadow--2dp firebaseui-container
firebaseui-id-page-email-not-received">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header for email not received troubleshooting page."}
Trouble getting email?
{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text">
{msg desc="Introduction to common fixes when a user fails to receive an email."}
Try these common fixes:
{/msg}
<ul>
<li>
{msg desc="Some common reason why an email was not received."}
Check if the email was marked as spam or filtered.
{/msg}
</li>
<li>
{msg desc="Some common reason why an email was not received."}
Check your internet connection.
{/msg}
</li>
<li>
{msg desc="Some common reason why an email was not received."}
Check that you did not misspell your email.
{/msg}
</li>
<li>
{msg desc="Some common reason why an email was not received."}
Check that your inbox space is not running out or other inbox settings related
issues.
{/msg}
</li>
</ul>
</p>
<p class="firebaseui-text">
{msg desc="Message that a user can resend an email but that the new email will expire any
sign-in codes sent in the previous email."}
If the steps above didn't work, you can resend the email. Note that this will
deactivate the link in the older email.
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-links">
{call firebaseui.auth.soy2.element.resendEmailLinkButton /}
</div>
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.cancelButton}
{param label kind="text"}
{msg desc="Label for the button to go back to the previous page."}
Back
{/msg}
{/param}
{/call}
</div>
</div>
<div class="firebaseui-card-footer">
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
</div>
</form>
</div>
{/template}
/**
* Renders an email link sign-in confirmation page. User would need to confirm their email before
* completing sign-in.
*/
{template .emailLinkSignInConfirmation}
/** The user's email. */
{@param? email:string}
<div class="mdl-card mdl-shadow--2dp firebaseui-container
firebaseui-id-page-email-link-sign-in-confirmation">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a email link sign-in confirmation page."}Confirm email{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text">
{msg desc="Header of a page displayed when the user is required to provide their email
before completing sign-in."}
Confirm your email to complete sign in
{/msg}
</p>
<div class="firebaseui-relative-wrapper">
{call firebaseui.auth.soy2.element.email data="all" /}
</div>
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.cancelButton /}
{call firebaseui.auth.soy2.element.submitButton /}
</div>
</div>
<div class="firebaseui-card-footer">
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
</div>
</form>
</div>
{/template}
/**
* Renders a notice page that the flow was opened on a different device.
*/
{template .differentDeviceError}
<div class="mdl-card mdl-shadow--2dp firebaseui-container
firebaseui-id-page-different-device-error">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a notice page when a user tries to complete sign-in on a device or
browser different from the one they started the sign-in flow with."}
New device or browser detected
{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text">
{msg desc="Header of a page displayed when the user opens the sign-in email link on a
different device or browser. The user is expected to open the email link on the same
device they started the flow with."}
Try opening the link using the same device or browser where you started the sign-in
process.
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.cancelButton}
{param label kind="text"}
{msg desc="Label for the button to go back to the previous page."}
Dismiss
{/msg}
{/param}
{/call}
</div>
</div>
</div>
{/template}
/**
* Renders a notice page when the email link anonymous upgrade flow is finished with a different
* anonymous user being found.
*/
{template .anonymousUserMismatch}
<div class="mdl-card mdl-shadow--2dp firebaseui-container
firebaseui-id-page-anonymous-user-mismatch">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a notice page when a user session is expired or cleared."}
Session ended
{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text">
{msg desc="Message that explains to the user that their sign-in session was cleared or
expired. This may happen when an anonymous user tries to upgrade to an email user but
on sign-in completion, the underlying anonymous user is discovered to no longer be
available."}
The session associated with this sign-in request has either expired or was cleared.
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.cancelButton}
{param label kind="text"}
{msg desc="Label for the button to go back to the previous page."}
Dismiss
{/msg}
{/param}
{/call}
</div>
</div>
</div>
{/template}
/**
* Renders an account linking page for a password account.
*/
{template .passwordLinking}
/** The user's email. */
{@param email:string}
<div class="mdl-card mdl-shadow--2dp firebaseui-container firebaseui-id-page-password-linking">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">{msg desc="Header of a sign-in page."}Sign in{/msg}</h1>
</div>
<div class="firebaseui-card-content">
<h2 class="firebaseui-subtitle">
{msg desc="Header of a page displayed when the user has signed in before with an email and
password account."}
You already have an account
{/msg}
</h2>
<p class="firebaseui-text">
{msg desc="Message that reminds the user the previous and current sign-in status."}
You’ve already used <strong>{$email}</strong> to sign in. Enter your password for that
account.
{/msg}
</p>
{call firebaseui.auth.soy2.element.password /}
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-links">
{call firebaseui.auth.soy2.element.passwordRecoveryButton /}
</div>
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.signInButton /}
</div>
</div>
<div class="firebaseui-card-footer">
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
</div>
</form>
</div>
{/template}
/**
* Renders an account linking page for an email link account.
*/
{template .emailLinkSignInLinking}
{@param email: string}
{@param? providerConfig: [providerId:string|null, providerName:string|null, fullLabel:string|null,
buttonColor:string|null, iconUrl: string|null]} /** The IdP provider config. */
{let $idpDisplayName kind="text"}{call firebaseui.auth.soy2.element.idpName data="all" /}{/let}
<div class="mdl-card mdl-shadow--2dp firebaseui-container
firebaseui-id-page-email-link-sign-in-linking">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">{msg desc="Header of a sign-in page."}Sign in{/msg}</h1>
</div>
<div class="firebaseui-card-content">
<h2 class="firebaseui-subtitle">
{msg desc="Header of a page displayed when the user has signed in before with the provided
email."}
You already have an account
{/msg}
</h2>
<p class="firebaseui-text firebaseui-text-justify">
{msg desc="Message that reminds the user that they previously used a different method of
sign-in for the current email. The user is expected to sign in with their existing
sign-in provider and then connect the new provider to the same account. For example,
a user could have signed in with email link but is now trying to sign in with
Facebook."}
You’ve already used <strong>{$email}</strong>. You can connect your{sp}
<strong>{$idpDisplayName}</strong> account with <strong>{$email}</strong> by signing in
with email link below.
{/msg}
<p class="firebaseui-text firebaseui-text-justify">
{msg desc="Message that notifies the user that in order to connect their current sign-in
provider (Facebook, Twitter, etc) with their email account, they need to open a link
that was emailed to them on the same current device or browser."}
For this flow to successfully connect your {$idpDisplayName} account with this email,
you have to open the link on the same device or browser.
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.signInButton /}
</div>
</div>
<div class="firebaseui-card-footer">
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
</div>
</form>
</div>
{/template}
/**
* Renders an account linking page for an email link account.
*/
{template .emailLinkSignInLinkingDifferentDevice}
{@param? providerConfig: [providerId:string|null, providerName:string|null, fullLabel:string|null,
buttonColor:string|null, iconUrl: string|null]} /** The IdP provider config. */
{let $idpDisplayName kind="text"}{call firebaseui.auth.soy2.element.idpName data="all" /}{/let}
<div class="mdl-card mdl-shadow--2dp firebaseui-container
firebaseui-id-page-email-link-sign-in-linking-different-device">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">{msg desc="Header of a sign-in page."}Sign in{/msg}</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text firebaseui-text-justify">
{msg desc="Message that explains to the user that the email link they clicked to sign in
with was opened on a different device where they are not signed in with an identity
provider such as Facebook, Twitter, etc. This makes it not possible to connect that
identity provider to the same email account unless the user opens the link on the same
device where they started the sign-in flow with."}
You originally intended to connect <strong>{$idpDisplayName}</strong> to your email
account but have opened the link on a different device where you are not signed in.
{/msg}
</p>
<p class="firebaseui-text firebaseui-text-justify">
{msg desc="Message that gives the user two choices: connect an identity provider such as
Facebook, Twitter, etc to their email account by opening a sign-in link on the same
device they started the sign-in flow with or complete sign-in without connecting
that provider."}
If you still want to connect your <strong>{$idpDisplayName}</strong> account, open
the link on the same device where you started sign-in. Otherwise, tap Continue to
sign-in on this device.
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.continueButton /}
</div>
</div>
<div class="firebaseui-card-footer">
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
</div>
</form>
</div>
{/template}
/**
* Renders an account linking page for a federated account.
*/
{template .federatedLinking}
{@param email: string}
{@param? providerConfig: [providerId:string|null, providerName:string|null, fullLabel:string|null,
buttonColor:string|null, iconUrl: string|null]} /** The IdP provider config. */
{let $idpDisplayName kind="text"}{call firebaseui.auth.soy2.element.idpName data="all" /}{/let}
<div class="mdl-card mdl-shadow--2dp firebaseui-container firebaseui-id-page-federated-linking">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">{msg desc="Header of a sign-in page."}Sign in{/msg}</h1>
</div>
<div class="firebaseui-card-content">
<h2 class="firebaseui-subtitle">
{msg desc="Header of a page displayed when the user has signed in before with the provided
email."}
You already have an account
{/msg}
</h2>
<p class="firebaseui-text">
{msg desc="Message that reminds the user the previous sign-in status."}
You’ve already used <strong>{$email}</strong>. Sign in with {$idpDisplayName} to
continue.
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.submitButton}
{param label kind="text"}
{msg desc="Label of a button that signs in a user with a federated identity provider
(e.g. Sign in with Google, Sign in with Facebook)."}
Sign in with {$idpDisplayName}
{/msg}
{/param}
{/call}
</div>
</div>
<div class="firebaseui-card-footer">
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
</div>
</form>
</div>
{/template}
/**
* Renders an unauthorized user page.
*/
{template .unauthorizedUser}
{@param? userIdentifier: string}
{@param? adminEmail: string}
{@param? displayHelpLink: bool}
<div class="mdl-card mdl-shadow--2dp firebaseui-container
firebaseui-id-page-unauthorized-user">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a page notifying the user that they are not authorized
to register an account for the current application."}
Not Authorized
{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text">
{if $userIdentifier}
{msg desc="Message notifying the user that they are not authorized to
register an account for the current application."}
<strong>{$userIdentifier}</strong> is not authorized to view the requested page.
{/msg}
{else}
User is not authorized to view the requested page.
{/if}
</p>
{if $adminEmail}
<p class="firebaseui-text firebaseui-id-unauthorized-user-admin-email">
{msg desc="Instructions on how to contact the site administrator for access."}
Please contact <strong>{$adminEmail}</strong> for authorization.
{/msg}
</p>
{/if}
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-links">
{if $displayHelpLink}
<a class="firebaseui-link firebaseui-id-unauthorized-user-help-link"
href="javascript:void(0)" target="_blank">
{msg desc="Label for the help link"}Learn More{/msg}
</a>
{/if}
</div>
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.cancelButton}
{param label kind="text"}
{msg desc="Label for the button to go back to the previous page."}
Back
{/msg}
{/param}
{/call}
</div>
</div>
<div class="firebaseui-card-footer">
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
</div>
</form>
</div>
{/template}
/**
* Renders an unsupported provider page.
*/
{template .unsupportedProvider}
{@param email: string}
<div class="mdl-card mdl-shadow--2dp firebaseui-container
firebaseui-id-page-unsupported-provider">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">{msg desc="Header of a sign-in page."}Sign in{/msg}</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text">
{msg desc="Message that asks the user to recover the password."}
To continue sign in with <strong>{$email}</strong> on this device, you have to recover
the password.
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.cancelButton /}
{call firebaseui.auth.soy2.element.submitButton}
{param label kind="text"}
{msg desc="Label of a button that starts the password recovery flow."}
Recover password
{/msg}
{/param}
{/call}
</div>
</div>
<div class="firebaseui-card-footer">
{call firebaseui.auth.soy2.element.tosPpLink data="all" /}
</div>
</form>
</div>
{/template}
/**
* Renders a reset password page.
*/
{template .passwordReset}
{@param email: string} /** The email address of the account to reset password. */
<div class="mdl-card mdl-shadow--2dp firebaseui-container firebaseui-id-page-password-reset">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a page where the user can reset their password."}
Reset your password
{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
{msg desc="Tell the user the email of the account for which the password is being
changed."}
<p class="firebaseui-text">
for <strong>{$email}</strong>
</p>
{/msg}
{call firebaseui.auth.soy2.element.newPassword data="all"}
{param label kind="text"}
{msg desc="Label for the password input field in the Reset Password page."}
New password
{/msg}
{/param}
{/call}
</div>
<div class="firebaseui-card-actions">
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.saveButton /}
</div>
</div>
</form>
</div>
{/template}
/**
* Renders a notice page for password reset success.
*/
{template .passwordResetSuccess}
{@param? allowContinue: bool} /** Whether to show the continue button. */
<div class="mdl-card mdl-shadow--2dp{sp}
firebaseui-container firebaseui-id-page-password-reset-success">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a successful password change notice page"}Password changed{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text">
{msg desc="Detailed info of a notice page that password reset succeeded."}
You can now sign in with your new password
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
{if $allowContinue}
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.continueButton /}
</div>
{/if}
</div>
</div>
{/template}
/**
* Renders a notice page for password reset failure.
*/
{template .passwordResetFailure}
{@param? allowContinue: bool} /** Whether to show the continue button. */
<div class="mdl-card mdl-shadow--2dp{sp}
firebaseui-container firebaseui-id-page-password-reset-failure">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a password reset failure notice page"}
Try resetting your password again
{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text">
{msg desc="Detailed info of a notice page that password reset failed."}
Your request to reset your password has expired or the link has already been used
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
{if $allowContinue}
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.continueButton /}
</div>
{/if}
</div>
</div>
{/template}
/**
* Renders a notice page for email change revocation success.
*/
{template .emailChangeRevokeSuccess}
{@param email: string} /** The old email address of the account to reactivate. */
{@param? allowContinue: bool} /** Whether to show the continue button. */
<div class="mdl-card mdl-shadow--2dp{sp}
firebaseui-container firebaseui-id-page-email-change-revoke-success">
<form onsubmit="return false;">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a page notifying that an email change request has been revoked"}
Updated email address
{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text">
{msg desc="Detailed info of a notice page that an email change request has been revoked."}
Your sign-in email address has been changed back to <strong>{$email}</strong>.
{/msg}
</p>
<p class="firebaseui-text">
{msg desc="Message that explains to the user that they can reset their password if they
suspect someone has accessed their account."}
If you didn’t ask to change your sign-in email, it’s possible someone is trying to
access your account and you should <a
class="firebaseui-link firebaseui-id-reset-password-link"
href="javascript:void(0)">
change your password right away
</a>.
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
{if $allowContinue}
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.continueButton /}
</div>
{/if}
</div>
</form>
</div>
{/template}
/**
* Renders a notice page for email change revocation failure.
*/
{template .emailChangeRevokeFailure}
{@param? allowContinue: bool} /** Whether to show the continue button. */
<div class="mdl-card mdl-shadow--2dp{sp}
firebaseui-container firebaseui-id-page-email-change-revoke-failure">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a page notifying that an email change revocation request has failed"}
Unable to update your email address
{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
{msg desc="Detailed info of a notice page that email change revocation has failed."}
<p class="firebaseui-text">
There was a problem changing your sign-in email back.
</p>
<p class="firebaseui-text">
If you try again and still can’t reset your email, try asking your administrator for help.
</p>
{/msg}
</div>
<div class="firebaseui-card-actions">
{if $allowContinue}
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.continueButton /}
</div>
{/if}
</div>
</div>
{/template}
/**
* Renders a notice page that confirms the user's email has been verified.
*/
{template .emailVerificationSuccess}
{@param? allowContinue: bool} /** Whether to show the continue button. */
<div class="mdl-card mdl-shadow--2dp{sp}
firebaseui-container firebaseui-id-page-email-verification-success">
<div class="firebaseui-card-header">
<h1 class="firebaseui-title">
{msg desc="Header of a page telling the user their email address has been verified."}
Your email has been verified
{/msg}
</h1>
</div>
<div class="firebaseui-card-content">
<p class="firebaseui-text">
{msg desc="Detailed info of a notice page that confirms user's email is verified"}
You can now sign in with your new account
{/msg}
</p>
</div>
<div class="firebaseui-card-actions">
{if $allowContinue}
<div class="firebaseui-form-actions">
{call firebaseui.auth.soy2.element.continueButton /}
</div>
{/if}
</div>
</div>
{/template}
/**