A lot of work-in-progress and far from complete. Lots of improvements related to user-friendliness, fully new web-UI. Better infrastructure.... more coming soon
		
			
				
	
	
		
			13 lines
		
	
	
		
			468 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			468 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from flask_wtf import FlaskForm
 | |
| from wtforms import BooleanField
 | |
| 
 | |
| #from wtforms import StringField, PasswordField, BooleanField, SubmitField, SelectField
 | |
| #from wtforms.validators import DataRequired
 | |
| 
 | |
| 
 | |
| class LoginForm(FlaskForm):
 | |
|     #username = StringField('api-key', validators=[DataRequired()])
 | |
|     #modules = SelectField(u'modules', choices = [(_[0], _[1]) for _ in modules])
 | |
|     remember_me = BooleanField('Show info section')
 | |
|     #submit = SubmitField('Sign In')
 |