Example #1
0
class OpeningForm(FlaskForm):
    tag = TextField('Opening Tag',
                    validators=[InputRequired()],
                    render_kw={'autofocus': True})
    wall_tag = TextField('Wall Tag', validators=[InputRequired()])
    category = SelectField('Category', coerce=int)
    width = DecimalField('Width')
    height = DecimalField('Height')
    amount = DecimalField('Amount')
Example #2
0
class WallEntryForm(FlaskForm):
    tag = TextField('Wall Tag',
                    validators=[InputRequired()],
                    render_kw={'autofocus': True})
    length = DecimalField('Length')
    height = DecimalField('Height')
    v_bar_type = TextField('Vertical BarType')
    h_bar_type = DecimalField('Horizontal BarType')
    v_bar_spacing = DecimalField('Vertical BarSpacing')
    h_bar_spacing = DecimalField('Horizontal BarSpacing')
    #wtype = SelectField('Wall Type')
    category = SelectField('Category', coerce=int)
Example #3
0
class BeamEntryForm(FlaskForm):
    tag = TextField('Beam Tag',
                    validators=[InputRequired()],
                    render_kw={'autofocus': True})
    wall_tag = TextField('Wall Tag')
    category = SelectField('Category', coerce=int)

    width = DecimalField('Width')
    depth = DecimalField('Depth')
    length = DecimalField('Length')
    amount = DecimalField('Amount')
    top_bar_type = TextField('Top BarType')
    mid_bar_type = TextField('Mid BarType')
    bot_bar_type = TextField('Botton BarType')
    stir_bar_type = TextField('Stirrup BarType')

    top_bar_amt = TextField('Amount TopBar')
    mid_bar_amt = TextField('Amount MidBar')
    bot_bar_amt = TextField('Amount BottomBar')
    stir_spacing = DecimalField('Stirrup Spacing')
Example #4
0
class ColumnEntryForm(FlaskForm):
    tag = TextField('Column Tag',
                    validators=[InputRequired()],
                    render_kw={'autofocus': True})
    wall_tag = TextField('Wall Tag')
    category = SelectField('Category', coerce=int)

    width = DecimalField('Width')
    depth = DecimalField('Depth')
    height = DecimalField('Height')
    amount = DecimalField('Amount')

    main_bar_type = TextField('Main BarType')
    composite_bar_type = TextField('Composite BarType')
    stir_bar_type = TextField('Stirrup BarType')

    main_bar_amt = TextField('Amount MainBar')
    composite_bar_amt = TextField('Amount CompositeBar')
    stir_spacing = DecimalField('Stirrup Spacing')
Example #5
0
class WallBarsForm(FlaskForm):
    v_bar_type = TextField('Vertical BarType')
    h_bar_type = DecimalField('Horizontal BarType')
    v_bar_spacing = DecimalField('Vertical BarSpacing')
    h_bar_spacing = DecimalField('Horizontal BarSpacing')
Example #6
0
class NameForm(FlaskForm):
    name = TextField('Name',
                     validators=[InputRequired()],
                     render_kw={'autofocus': True})