+ add Web App (WIP)

This commit is contained in:
oleting
2021-01-13 22:30:45 +01:00
parent a47f2c06ac
commit cd128cbe5c
9 changed files with 210 additions and 7 deletions

7
Web/main/forms.py Normal file
View File

@@ -0,0 +1,7 @@
from flask_wtf import FlaskForm
from wtforms import FileField, SubmitField
from flask_wtf.file import FileAllowed
class UploadJavaForm(FlaskForm):
java = FileField('.java hochladen', validators=[FileAllowed(['java', 'txt'])])
submit = SubmitField('Bestätigen')