Switched from flask-bootstrap to standalone Bootstrap 5 and overhaul of UI

This commit is contained in:
Maximilian Wagner
2023-08-03 16:57:57 +02:00
parent d1489c134b
commit 0f2b607e88
55 changed files with 59032 additions and 134 deletions

View File

@@ -4,6 +4,6 @@ from wtforms.validators import URL, DataRequired, AnyOf
class DownloadForm(FlaskForm):
url = URLField('Video, Channel or Playlist', validators=[DataRequired(), URL()], render_kw={'placeholder': 'YouTube Link'})
url = URLField('Video, Channel or Playlist', validators=[DataRequired(), URL()], render_kw={'placeholder': 'URL'})
ext = SelectField('Type', choices=[('mp3', 'Audio'), ('mp4', 'Video')], validators=[AnyOf(('mp3', 'mp4'))])
submit = SubmitField('Go')