Change submit button style.

This commit is contained in:
Patrick Jentsch 2019-10-30 14:26:13 +01:00
parent 14f779d66a
commit 326507d361
4 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ class NewNLPJobForm(FlaskForm):
('pt', 'Portuguese'), ('pt', 'Portuguese'),
('es', 'Spanish')], ('es', 'Spanish')],
validators=[DataRequired()]) validators=[DataRequired()])
submit = SubmitField('Submit') submit = SubmitField()
title = StringField('Title', validators=[DataRequired(), Length(1, 32)]) title = StringField('Title', validators=[DataRequired(), Length(1, 32)])
version = SelectField('Version', version = SelectField('Version',
choices=[('2.1.0', 'Latest (2.1.0)'), choices=[('2.1.0', 'Latest (2.1.0)'),
@ -52,7 +52,7 @@ class NewOCRJobForm(FlaskForm):
('spa', 'Spanish; Castilian')], ('spa', 'Spanish; Castilian')],
validators=[DataRequired()]) validators=[DataRequired()])
split = BooleanField('Split') split = BooleanField('Split')
submit = SubmitField('Submit') submit = SubmitField()
title = StringField('Title', validators=[DataRequired(), Length(1, 32)]) title = StringField('Title', validators=[DataRequired(), Length(1, 32)])
version = SelectField('Version', version = SelectField('Version',
choices=[('latest', 'Latest')], choices=[('latest', 'Latest')],

View File

@ -116,7 +116,7 @@
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
{{ create_corpus_form.submit(class='btn') }} <button class="btn waves-effect waves-light" id="submit" name="submit" type="submit">Submit<i class="material-icons right">send</i></button>
</div> </div>
</form> </form>
</div> </div>

View File

@ -116,7 +116,7 @@
</div> </div>
</div> </div>
<div class="card-action right-align"> <div class="card-action right-align">
{{ new_job_form.submit(class='btn') }} <button class="btn waves-effect waves-light" id="submit" name="submit" type="submit">Submit<i class="material-icons right">send</i></button>
</div> </div>
</form> </form>
</div> </div>

View File

@ -204,7 +204,7 @@
</div> </div>
</div> </div>
<div class="card-action right-align"> <div class="card-action right-align">
{{ new_job_form.submit(class='btn') }} <button class="btn waves-effect waves-light" id="submit" name="submit" type="submit">Submit<i class="material-icons right">send</i></button>
</div> </div>
</form> </form>
</div> </div>