|
|
@ -3,6 +3,6 @@ from wtforms import DateTimeField, DecimalField, SubmitField
|
|
|
|
from wtforms.validators import DataRequired
|
|
|
|
from wtforms.validators import DataRequired
|
|
|
|
|
|
|
|
|
|
|
|
class DownloadForm(FlaskForm):
|
|
|
|
class DownloadForm(FlaskForm):
|
|
|
|
date = DateTimeField('Date', validators=[DataRequired()])
|
|
|
|
start_time = DateTimeField('Start time', validators=[DataRequired()])
|
|
|
|
length = DecimalField('Length', validators=[DataRequired()])
|
|
|
|
length = DecimalField('Length', validators=[DataRequired()])
|
|
|
|
submit = SubmitField('Download')
|
|
|
|
submit = SubmitField('Download')
|
|
|
|