|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8" /> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 6 | + <title>Spotify Authorization</title> |
| 7 | + <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 8 | + <link |
| 9 | + href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" |
| 10 | + rel="stylesheet" |
| 11 | + /> |
| 12 | + <link href="/auth_assets/main.css" rel="stylesheet" /> |
| 13 | + <script src="/auth_assets/main.js"></script> |
| 14 | + </head> |
3 | 15 |
|
4 | | -<head> |
5 | | - <meta charset='utf-8'> |
6 | | - <meta http-equiv='X-UA-Compatible' content='IE=edge'> |
7 | | - <title>Spotify Authorization</title> |
8 | | - <meta name='viewport' content='width=device-width, initial-scale=1'> |
9 | | - <link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> |
10 | | - <link href="/auth_assets/main.css" rel="stylesheet"> |
11 | | - <script src="/auth_assets/main.js"></script> |
12 | | -</head> |
13 | | - |
14 | | -<body> |
15 | | - <main> |
16 | | - <div class="flex justify-center flex-wrap logo"> |
17 | | - <div class="w-1/8"> |
18 | | - <img src="/auth_assets/logo.svg" width="120" height="120" /> |
| 16 | + <body> |
| 17 | + <main> |
| 18 | + <div class="flex justify-center flex-wrap logo"> |
| 19 | + <div class="w-1/8"> |
| 20 | + <img src="/auth_assets/logo.svg" width="120" height="120" /> |
| 21 | + </div> |
19 | 22 | </div> |
20 | | - </div> |
21 | | - <h1 class="text-4xl">Success!</h1> |
22 | | - <p class="text-xl mx-2"> |
23 | | - Spotify Authorization was successful. You can close this tab and go back to your app. |
24 | | - </p> |
25 | | - <div class="text-center py-4 lg:px-4 my-6"> |
26 | | - <div class="p-2 bg-teal-800 items-center text-teal-100 leading-none lg:rounded-full flex lg:inline-flex" |
27 | | - role="alert"> |
28 | | - <span class="flex rounded-full bg-teal-500 uppercase px-2 py-1 text-xs font-bold mr-3">Tip</span> |
29 | | - <span class="font-semibold mr-2 text-left flex-auto"> |
30 | | - If the app does not detect the authorization, make sure you use one of the following supported Browsers: |
31 | | - <b>Chrome</b>, <b>Edge</b> or <b>Firefox</b> |
32 | | - </span> |
| 23 | + <div id="error" class="hidden"> |
| 24 | + <h1 class="text-4xl">Error!</h1> |
| 25 | + <p class="text-xl mx-2"> |
| 26 | + Spotify Authorization was not successful. You may want to retry. |
| 27 | + </p> |
33 | 28 | </div> |
34 | | - </div> |
35 | | - </main> |
36 | | -</body> |
37 | | - |
| 29 | + <div id="success" class="hidden"> |
| 30 | + <h1 class="text-4xl">Success!</h1> |
| 31 | + <p class="text-xl mx-2"> |
| 32 | + Spotify Authorization was successful. You can close this tab and go |
| 33 | + back to your app. |
| 34 | + </p> |
| 35 | + </div> |
| 36 | + <div class="text-center py-4 lg:px-4 my-6"> |
| 37 | + <div |
| 38 | + class="p-2 bg-teal-800 items-center text-teal-100 leading-none lg:rounded-full flex lg:inline-flex" |
| 39 | + role="alert" |
| 40 | + > |
| 41 | + <span |
| 42 | + class="flex rounded-full bg-teal-500 uppercase px-2 py-1 text-xs font-bold mr-3" |
| 43 | + >Tip</span |
| 44 | + > |
| 45 | + <span class="font-semibold mr-2 text-left flex-auto"> |
| 46 | + If the app does not detect the authorization, make sure you use one |
| 47 | + of the following supported Browsers: |
| 48 | + <b>Chrome</b>, <b>Edge</b> or <b>Firefox</b> |
| 49 | + </span> |
| 50 | + </div> |
| 51 | + </div> |
| 52 | + </main> |
| 53 | + </body> |
38 | 54 | </html> |
0 commit comments