286
286
$ ( '#user-code' ) . html ( user_code )
287
287
$ ( '#verification-uri' ) . attr ( 'href' , verification_uri )
288
288
$ ( '#verification-uri' ) . html ( verification_uri )
289
- $ ( '#expiry' ) . html ( expiresAt )
290
289
$ ( '#refresh-interval' ) . html ( interval )
291
290
292
291
pollingIntervalId = setInterval ( async ( ) => {
442
441
443
442
# user-code {
444
443
font-family : 'Courier New' , Courier, monospace;
444
+ font-size : 140% ;
445
+ font-weight : bold;
446
+ color : # 3737bd ;
445
447
}
446
448
447
449
# device-code a {
448
450
text-decoration : underline !important ;
449
451
}
452
+
453
+ # device-code .step {
454
+ height : 25px ;
455
+ width : 25px ;
456
+ line-height : 25px ;
457
+ color : rgb (236 , 233 , 233 );
458
+ background-color : rgb (114 , 137 , 160 );
459
+ border-radius : 50% ;
460
+ display : inline-block;
461
+ }
450
462
</ style >
451
463
452
464
< script type ="text/html " data-template-name ="vsh-connection ">
@@ -467,20 +479,35 @@ <h1>Account Linking</h1>
467
479
that connection instead of creating another one!
468
480
</ p >
469
481
< p >
470
- The connection must be linked to the same Amazon Alexa account that was /
471
- will be used to activate the 'virtual smart home' skill.
482
+ Follow these steps to link this connection to the < i > same</ i > Amazon Alexa
483
+ account that was used to activate the 'virtual smart home' skill.
472
484
</ p >
485
+
473
486
< p >
487
+ < span class = "step" > 1</ span >
488
+ < br />
474
489
Go to
475
- < a id = "verification-uri" href = "" target = "_blank" > VERIFICATION_URI</ a > on
476
- your smartphone, computer, or tablet and enter this code after logging in:
490
+ < a id = "verification-uri" href = "" target = "_blank" > VERIFICATION_URI</ a >
491
+ </ p >
492
+ < p >
493
+ < span class = "step" > 2</ span >
494
+ < br />
495
+ Enter this code (after logging in)
496
+ < br />
497
+ < span id = "user-code" > USER_CODE</ span >
498
+ </ p >
499
+ < p >
500
+ < span class = "step" > 3</ span >
501
+ < br />
502
+ Wait up to < span id = "refresh-interval" > REFRESH-INTERVAL</ span > seconds for
503
+ this message to disappear
477
504
</ p >
478
- < h2 id = "user-code" > USER_CODE</ h2 >
479
505
< p >
480
- Once you entered the code, the linking process may take up to
481
- < span id = "refresh-interval" > REFRESH-INTERVAL</ span > seconds.
506
+ < span class = "step" > 4</ span >
507
+ < br />
508
+ Close this dialog by clicking the "Add" / "Update"
509
+ button
482
510
</ p >
483
- < p > The code expires < span id = "expiry" > EXPIRY</ span > .</ p >
484
511
</ div >
485
512
486
513
< div id = "provisioned" >
0 commit comments