tasiapi commited on
Commit
bc4835b
·
verified ·
1 Parent(s): 07e54d4

Update templates/dashboard.html

Browse files
Files changed (1) hide show
  1. templates/dashboard.html +11 -2
templates/dashboard.html CHANGED
@@ -65,7 +65,16 @@
65
  transition: all 0.2s ease-in-out;
66
  box-shadow: 0 0 5px #00ff00;
67
  }
 
 
 
 
68
 
 
 
 
 
 
69
  .button-link:hover {
70
  background-color: #00ff00;
71
  color: #000;
@@ -82,10 +91,10 @@
82
  <h1>hello, {{ user.display_name }}!</h1>
83
  <form action="{{ url_for('generate') }}" method="POST">
84
  <label for="prompt">put topic and number of songs you wanna use to make playlist like:<br> <em>40 songs Best of Rock</em></label>
85
- <input type="text" id="prompt" name="prompt" required>
86
  <br>
87
  <label for="prompt">Name of Playlist:</label>
88
- <input type="text" id="playlist_name" name="playlist_name" placeholder="My Awesome Rock Mix" required style="background-color:black; color:green;">
89
  <br>
90
  <button type="submit" class="button-link">Generate</button>
91
  </form>
 
65
  transition: all 0.2s ease-in-out;
66
  box-shadow: 0 0 5px #00ff00;
67
  }
68
+ .blinking-cursor::after {
69
+ content: '_';
70
+ animation: blink 1s step-start infinite;
71
+ }
72
 
73
+ @keyframes blink {
74
+ 50% {
75
+ opacity: 0;
76
+ }
77
+ }
78
  .button-link:hover {
79
  background-color: #00ff00;
80
  color: #000;
 
91
  <h1>hello, {{ user.display_name }}!</h1>
92
  <form action="{{ url_for('generate') }}" method="POST">
93
  <label for="prompt">put topic and number of songs you wanna use to make playlist like:<br> <em>40 songs Best of Rock</em></label>
94
+ <input type="text" id="prompt" name="prompt" placeholder="40 songs best Rock Mix" required>
95
  <br>
96
  <label for="prompt">Name of Playlist:</label>
97
+ <input type="text" id="playlist_name" name="playlist_name" placeholder="My Awesome Rock Mix" required style="background-color:black; color:green;" class="blinking-cursor">
98
  <br>
99
  <button type="submit" class="button-link">Generate</button>
100
  </form>