Esempio n. 1
0
class HistoryTaskForm(ProjectForm):
    task_id = IntegerField("task_id", [validators.DataRequired()])
Esempio n. 2
0
class HistoryNodeForm(ProjectForm):
    node_id = IntegerField("node_id", [validators.DataRequired()])
Esempio n. 3
0
class HandleForm(HistoryTaskForm, HistoryNodeForm):
    step_id = IntegerField("step_id", [validators.DataRequired()])
Esempio n. 4
0
class HistoryGetForm(ProjectForm):
    start = IntegerField("start", [validators.NumberRange(min = 0)])
    limit = IntegerField("limit", [validators.DataRequired()])
Esempio n. 5
0
class HistoryServerForm(ProjectForm):
    server_id = IntegerField("server_id", [validators.DataRequired()])
Esempio n. 6
0
class ProcedureGetForm(ProjectForm):
    procedure_id = IntegerField("procedure_id", [validators.DataRequired()])
Esempio n. 7
0
class ProcedureAddForm(ProjectForm):
    procedure = StringField("procedure", [validators.DataRequired()])
Esempio n. 8
0
class ProcedureSaveForm(ProjectForm):
    procedure_id = IntegerField("procedure_id", [validators.DataRequired()])
    procedure = StringField("procedure", [validators.DataRequired()])
Esempio n. 9
0
class LoginForm(Form):
    username = StringField("username", [validators.DataRequired()])
    password = StringField("password", [validators.DataRequired()])