from flask_wtf import FlaskForm from flask_wtf.file import FileField, FileAllowed, FileRequired from wtforms import StringField, PasswordField, BooleanField, SubmitField class UploadForm(FlaskForm): uploadFile = FileField('file', validators=[ FileRequired(message="You must specify to upload"), FileAllowed(['txt', 'gz', 'zip', 'log'], 'Log files only!') ]) submit = SubmitField('Upload')
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#8 | 25220 | robert_cowham |
Moved project files to new location: //guest/perforce_software/log-analyzer/psla/... Required by Swarm project structure for workshop. |
||
#7 | 24979 | robert_cowham | Tidy up charting to add db selection and titles. Clarify README | ||
#6 | 24321 | robert_cowham | Allow canned queries to be included | ||
#5 | 23933 | robert_cowham | Create new seperate charting page | ||
#4 | 23846 | robert_cowham | Made sql field larger | ||
#3 | 23845 | robert_cowham | Basic query form working | ||
#2 | 23772 | robert_cowham | Allow user to select from all db files | ||
#1 | 23765 | robert_cowham | Moved things down one level to psla dir to make it easier to see what belongs | ||
//guest/perforce_software/utils/log_analyzer/app/forms.py | |||||
#2 | 23705 | robert_cowham | Basics working in simplified form | ||
#1 | 23704 | robert_cowham | Save before simplifying |