tasiapi commited on
Commit
94a0f43
·
verified ·
1 Parent(s): b3b69a6

Create in_spotify.html

Browse files
Files changed (1) hide show
  1. templates/in_spotify.html +128 -0
templates/in_spotify.html ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="pl">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <title>Playlist Added - Wargames Terminal</title>
6
+ <style>
7
+ /* Background and base font */
8
+ body {
9
+ background-color: black;
10
+ color: #39ff14; /* classic neon green */
11
+ font-family: 'Courier New', Courier, monospace;
12
+ height: 100vh;
13
+ margin: 0;
14
+ display: flex;
15
+ flex-direction: column;
16
+ justify-content: center;
17
+ align-items: center;
18
+ user-select: none;
19
+ text-shadow:
20
+ 0 0 5px #39ff14,
21
+ 0 0 10px #39ff14,
22
+ 0 0 20px #39ff14,
23
+ 0 0 40px #39ff14;
24
+ }
25
+
26
+ h1 {
27
+ font-size: 3rem;
28
+ margin-bottom: 1rem;
29
+ letter-spacing: 0.2rem;
30
+ text-transform: uppercase;
31
+ }
32
+
33
+ p {
34
+ font-size: 1.25rem;
35
+ margin-bottom: 3rem;
36
+ color: #32cd32;
37
+ text-shadow:
38
+ 0 0 3px #32cd32,
39
+ 0 0 8px #32cd32;
40
+ }
41
+
42
+ /* Terminal style buttons */
43
+ .button-link {
44
+ display: inline-block;
45
+ padding: 15px 40px;
46
+ margin: 0.5rem 1rem;
47
+ background-color: black;
48
+ color: #39ff14;
49
+ border: 2px solid #39ff14;
50
+ border-radius: 5px;
51
+ font-size: 1.25rem;
52
+ font-weight: bold;
53
+ text-decoration: none;
54
+ cursor: pointer;
55
+ box-shadow:
56
+ 0 0 10px #39ff14,
57
+ 0 0 20px #39ff14;
58
+ transition: all 0.3s ease-in-out;
59
+ position: relative;
60
+ overflow: hidden;
61
+ }
62
+ .button-link:hover {
63
+ background-color: #39ff14;
64
+ color: black;
65
+ box-shadow:
66
+ 0 0 20px #39ff14,
67
+ 0 0 40px #39ff14;
68
+ }
69
+
70
+ /* Glowing blinking cursor effect for the URL */
71
+ .url-text {
72
+ margin-top: 2rem;
73
+ font-family: 'Courier New', Courier, monospace;
74
+ font-size: 1rem;
75
+ color: #32cd32;
76
+ text-shadow:
77
+ 0 0 5px #32cd32,
78
+ 0 0 10px #32cd32;
79
+ user-select: all;
80
+ white-space: nowrap;
81
+ position: relative;
82
+ }
83
+ .url-text::after {
84
+ content: "_";
85
+ display: inline-block;
86
+ margin-left: 5px;
87
+ animation: blink 1.2s steps(2, start) infinite;
88
+ color: #32cd32;
89
+ text-shadow:
90
+ 0 0 10px #32cd32,
91
+ 0 0 20px #32cd32;
92
+ font-weight: bold;
93
+ }
94
+
95
+ @keyframes blink {
96
+ 0%, 50% { opacity: 1; }
97
+ 51%, 100% { opacity: 0; }
98
+ }
99
+
100
+ /* Footer text */
101
+ footer {
102
+ position: absolute;
103
+ bottom: 10px;
104
+ font-size: 0.75rem;
105
+ color: #224422;
106
+ text-shadow: none;
107
+ user-select: none;
108
+ }
109
+ </style>
110
+ </head>
111
+ <body>
112
+ <h1>PLAYLIST ADDED</h1>
113
+ <p>Your playlist "<em>{{ playlist_name }}</em>" is now in your Spotify account.</p>
114
+ <a href="{{ playlist_url }}" class="button-link" target="_blank" rel="noopener noreferrer">
115
+ VIEW PLAYLIST ON SPOTIFY
116
+ </a>
117
+ <br>
118
+ <div class="url-text">{{ playlist_url }}</div>
119
+ <br>
120
+ <a href="{{ url_for('dashboard') }}" class="button-link">
121
+ CREATE ANOTHER PLAYLIST
122
+ </a>
123
+
124
+
125
+
126
+ <footer>Made with ♥ by Shape Tasia & Marty</footer>
127
+ </body>
128
+ </html>