Clean up some forms.

This commit is contained in:
James Cole 2020-03-13 20:56:26 +01:00
parent e1bcfb9ac9
commit 92ba56ae2b
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
25 changed files with 90 additions and 33 deletions

View File

@ -37,7 +37,6 @@
</div>
<div class="col-lg-6 col-md-6 col-sm-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'optionalFields'|_ }}</h3>
@ -61,8 +60,10 @@
{{ ExpandedForm.location('location', null, {locations: locations}) }}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'options'|_ }}</h3>
@ -76,7 +77,6 @@
</button>
</div>
</div>
</div>
</div>
</form>

View File

@ -85,7 +85,10 @@
</div>
</div>
{% endif %}
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">
@ -102,7 +105,7 @@
</div>
</div>
</div>
{{ Form.close|raw }}
</form>
{% endblock %}
{% block scripts %}
<script src="v1/lib/leaflet/leaflet.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>

View File

@ -72,7 +72,10 @@
</div>
</div>
{% endif %}
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">

View File

@ -21,6 +21,8 @@
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">

View File

@ -22,6 +22,8 @@
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}

View File

@ -26,7 +26,9 @@
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12">
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">
@ -43,5 +45,5 @@
</div>
</div>
</div>
{{ Form.close|raw }}
</form>
{% endblock %}

View File

@ -35,7 +35,10 @@
{{ ExpandedForm.textarea('notes',null,{helpText: trans('firefly.field_supports_markdown')}) }}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">

View File

@ -37,7 +37,10 @@
{{ ExpandedForm.integer('skip',0) }}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">

View File

@ -42,6 +42,10 @@
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'options'|_ }}</h3>
@ -57,7 +61,7 @@
</div>
</div>
</div>
{{ Form.close|raw }}
</form>
{% endblock %}
{% block styles %}

View File

@ -21,6 +21,12 @@
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for auto-budget#}
abc
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">

View File

@ -21,6 +21,12 @@
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# auto budget#}
bla bla
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">
@ -37,7 +43,7 @@
</div>
</div>
{{ Form.close|raw }}
</form>
{% endblock %}
{% block scripts %}

View File

@ -19,7 +19,8 @@
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}

View File

@ -19,6 +19,8 @@
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12">
@ -38,7 +40,7 @@
</div>
</div>
</div>
{{ Form.close|raw }}
</form>
{% endblock %}
{% block scripts %}
<script type="text/javascript" src="v1/js/ff/categories/edit.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>

View File

@ -22,7 +22,8 @@
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}

View File

@ -23,7 +23,8 @@
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
@ -43,5 +44,5 @@
</div>
</div>
{{ Form.close|raw }}
</form>
{% endblock %}

View File

@ -34,7 +34,10 @@
{{ ExpandedForm.textarea('notes', null, {helpText: trans('firefly.field_supports_markdown')} ) }}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">

View File

@ -37,7 +37,10 @@
{{ ExpandedForm.textarea('notes', null, {helpText: trans('firefly.field_supports_markdown')}) }}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">
@ -55,7 +58,7 @@
</div>
</div>
{{ Form.close|raw }}
</form>
{% endblock %}
{% block scripts %}
<script type="text/javascript" src="v1/js/lib/modernizr-custom.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>

View File

@ -140,7 +140,7 @@
{# row with submit stuff. #}
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-lg-offset-6 lg-md-offset-6">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'options'|_ }}</h3>

View File

@ -135,8 +135,8 @@
</div>
{# row with submit stuff. #}
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-lg-offset-6 lg-md-offset-6">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'options'|_ }}</h3>

View File

@ -29,7 +29,10 @@
{{ ExpandedForm.textarea('description') }}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">

View File

@ -33,7 +33,10 @@
{{ ExpandedForm.textarea('description', ruleGroup.description) }}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">
@ -49,7 +52,7 @@
</div>
</div>
{{ Form.close|raw }}
</form>
{% endblock %}
{% block scripts %}

View File

@ -124,7 +124,7 @@
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">

View File

@ -106,7 +106,7 @@
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">
@ -123,7 +123,7 @@
</div>
</div>
{{ Form.close|raw }}
</form>
{% endblock %}

View File

@ -36,7 +36,10 @@
{{ ExpandedForm.location('location', null, {locations: locations}) }}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">

View File

@ -39,7 +39,10 @@
{{ ExpandedForm.location('location', null, {locations: locations}) }}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{# panel for options #}
<div class="box">
<div class="box-header with-border">
@ -58,7 +61,7 @@
</div>
</div>
{{ Form.close|raw }}
</form>
{% endblock %}
{% block scripts %}