🧹 remove obsolete/unused css classes
This commit is contained in:
parent
390a53186a
commit
a633f506d9
2 changed files with 10 additions and 11 deletions
|
@ -10,7 +10,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="page-header col">
|
<div class="col">
|
||||||
{% block page_header %}{% endblock %}
|
{% block page_header %}{% endblock %}
|
||||||
<hr/>
|
<hr/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -23,25 +23,26 @@
|
||||||
|
|
||||||
{% block app_content %}
|
{% block app_content %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col col-xs-12 col-sm-6 col-md-6 col-lg-4">
|
<div class="col col-12 col-sm-6 col-md-6 col-lg-4">
|
||||||
<div class='card card-body bg-light'>
|
<div class='card card-body bg-light'>
|
||||||
|
|
||||||
<form class="form" method="post" role="form" novalidate>
|
<form method="post" role="form" novalidate>
|
||||||
|
|
||||||
{{ form.hidden_tag() }}
|
{{ form.hidden_tag() }}
|
||||||
|
|
||||||
{{ wtf.form_errors(form, hiddens="only") }}
|
{{ wtf.form_errors(form, hiddens="only") }}
|
||||||
|
|
||||||
<div class="form-group required">
|
<div class="form-group">
|
||||||
{{ form.start_time.label(class_="form-control-label") }}
|
{{ form.start_time.label() }}
|
||||||
<div class='input-group date' id='start_time_group' data-target-input="nearest">
|
<div class='input-group' id='start_time_group' data-target-input="nearest">
|
||||||
<input name='start_time' id='start_time_'
|
<input name='start_time' id='start_time_'
|
||||||
class="form-control datetimepicker-input {{"is-invalid" if form.start_time.errors else ""}}"
|
class="form-control {{"is-invalid" if form.start_time.errors else ""}}"
|
||||||
type="text" data-target="#start_time_group"
|
type="text" data-target="#start_time_group"
|
||||||
placeholder="{{ form.start_time.format }}"
|
placeholder="{{ form.start_time.format }}"
|
||||||
{% if form.start_time.data %}
|
{% if form.start_time.data %}
|
||||||
value="{{ form.start_time.data.strftime(form.start_time.format) }}"
|
value="{{ form.start_time.data.strftime(form.start_time.format) }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
required
|
||||||
/>
|
/>
|
||||||
<div class="input-group-append" data-target="#start_time_group" data-toggle="datetimepicker">
|
<div class="input-group-append" data-target="#start_time_group" data-toggle="datetimepicker">
|
||||||
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
|
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
|
||||||
|
@ -52,8 +53,8 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group required">
|
<div class="form-group">
|
||||||
{{ form.length.label(class_="form-control-label") }}
|
{{ form.length.label() }}
|
||||||
<div class='input-group'>
|
<div class='input-group'>
|
||||||
{{ form.length(class_="form-control " + ("is-invalid" if form.length.errors else "")) }}
|
{{ form.length(class_="form-control " + ("is-invalid" if form.length.errors else "")) }}
|
||||||
<div class="input-group-append">
|
<div class="input-group-append">
|
||||||
|
@ -65,9 +66,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group required">
|
|
||||||
{{ form.submit(class_="btn btn-primary") }}
|
{{ form.submit(class_="btn btn-primary") }}
|
||||||
</div>
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue