mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-22 08:56:39 -06:00
Make it easier to switch between v1/v2 layout.
This commit is contained in:
parent
2dd2d0ef58
commit
fdd9d81701
@ -2,7 +2,7 @@
|
||||
<label for="{{ options.id }}" class="col-sm-4 control-label">{{ label }}</label>
|
||||
<div class="col-sm-8">
|
||||
{{ Form.input('number', name, value, options) }}
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
<!-- Going to put in this value: {{ defaultCurrency.id }} -->
|
||||
<input type="hidden" name="amount_currency_id_{{ name }}" value="{{ defaultCurrency.id }}" data-backup="{{ defaultCurrency.id }}"/>
|
||||
|
@ -17,8 +17,8 @@
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="amount_currency_id_{{ name }}" value="{{ defaultCurrency.id }}"/>
|
||||
|
@ -13,7 +13,7 @@
|
||||
{{ Form.checkbox(name, value, options.checked, options) }}
|
||||
</label>
|
||||
</div>
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -8,7 +8,7 @@
|
||||
</div>
|
||||
{{ Form.input('date', name, value, options) }}
|
||||
</div>
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<div class="col-sm-8">
|
||||
{{ Form.file(name, options) }}
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<div class="col-sm-8">
|
||||
{{ Form.input('number', name, value, options) }}
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
{# has location set? #}
|
||||
<input type="hidden" name="{{ name }}_has_location" value="{{ options.locations[name].has_location|default('false') }}"/>
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -6,6 +6,6 @@
|
||||
<span class="input-group-addon non-selectable-currency-symbol">{{ selectedCurrency.symbol }}</span>
|
||||
{{ Form.input('number', name, value, options) }}
|
||||
</div>
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<div class="col-sm-8">
|
||||
{{ Form.input('number', name, value, options) }}
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<div class="col-sm-8">
|
||||
{{ Form.input('text', name, value, options) }}
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<div class="col-sm-8">
|
||||
{{ Form.input('password', name, value, options) }}
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -6,7 +6,7 @@
|
||||
{{ Form.input('number', name, value, options) }}
|
||||
<div class="input-group-addon">%</div>
|
||||
</div>
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
<div class="col-sm-8">
|
||||
{{ Form.select(name, list, selected , options ) }}
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,6 +3,6 @@
|
||||
|
||||
<div class="col-sm-8">
|
||||
{{ Form.input('text', name, value, options) }}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<div class="col-sm-8">
|
||||
{{ Form.input('text', name, value, options) }}
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<div class="col-sm-8">
|
||||
{{ Form.textarea(name, value, options) }}
|
||||
{% include 'form/help' %}
|
||||
{% include 'form/feedback' %}
|
||||
{% include 'v1.form.help' %}
|
||||
{% include 'v1.form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -122,7 +122,7 @@
|
||||
<div class="row no-print">
|
||||
<div class="col-lg-12">
|
||||
<p class="well">
|
||||
{% include ['demo.' ~ Route.getCurrentRoute.getName, 'demo.no-demo-text'] %}
|
||||
{% include ['v1.demo.' ~ Route.getCurrentRoute.getName, 'v1.demo.no-demo-text'] %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<div class="modal-body">
|
||||
{% set hideSource = true %}
|
||||
{% set hideBudget = true %}
|
||||
{% include 'popup/list/journals' %}
|
||||
{% include 'v1.popup.list.journals' %}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{{ 'close'|_ }}</button>
|
||||
|
@ -8,7 +8,7 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
{% set hideBudget = true %}
|
||||
{% include 'popup/list/journals' %}
|
||||
{% include 'v1.popup.list.journals' %}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{{ 'close'|_ }}</button>
|
||||
|
@ -7,7 +7,7 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
{% set hideCategory = true %}
|
||||
{% include 'popup/list/journals' %}
|
||||
{% include 'v1.popup.list.journals' %}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{{ 'close'|_ }}</button>
|
||||
|
@ -7,7 +7,7 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
{% set hideDestination = true %}
|
||||
{% include 'popup/list/journals' %}
|
||||
{% include 'v1.popup.list.journals' %}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{{ 'close'|_ }}</button>
|
||||
|
@ -10,7 +10,7 @@
|
||||
{% set hideSource = true %}
|
||||
{% set accountPerspective = account %}
|
||||
{% set inverseAmount = true %}
|
||||
{% include 'popup/list/journals' %}
|
||||
{% include 'v1.popup.list.journals' %}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{{ 'close'|_ }}</button>
|
||||
|
@ -61,7 +61,7 @@
|
||||
balance: formatAmountByAccount(account, auditData[account.id].dayBeforeBalance)
|
||||
})|raw }}
|
||||
</p>
|
||||
{% include 'reports.partials.journals-audit' with {'journals': auditData[account.id].journals,'account':account} %}
|
||||
{% include 'v1.reports.partials.journals-audit' with {'journals': auditData[account.id].journals,'account':account} %}
|
||||
|
||||
<p style="padding:10px;">
|
||||
|
||||
|
@ -140,7 +140,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{#{% include 'reports/partials/bills' %}#}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="v1/css/bootstrap-sortable.css?v={{ FF_VERSION }}" type="text/css" media="all"/>
|
||||
|
@ -179,7 +179,7 @@
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
{% include '/rules/partials/test-trigger-modal' %}
|
||||
{% include 'v1.rules.partials.test-trigger-modal' %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
|
@ -90,7 +90,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include '/rules/partials/test-trigger-modal' %}
|
||||
{% include 'v1.rules.partials.test-trigger-modal' %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
|
@ -72,7 +72,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include '/rules/partials/test-trigger-modal' %}
|
||||
{% include 'v1.rules.partials.test-trigger-modal' %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
|
Loading…
Reference in New Issue
Block a user