diff --git a/public/js/gcharts.options.js b/public/js/gcharts.options.js index e93206f858..f3430605ba 100644 --- a/public/js/gcharts.options.js +++ b/public/js/gcharts.options.js @@ -90,7 +90,7 @@ var defaultBarChartOptions = { colors: ["#4285f4", "#db4437", "#f4b400", "#0f9d58", "#ab47bc", "#00acc1", "#ff7043", "#9e9d24", "#5c6bc0", "#f06292", "#00796b", "#c2185b"], vAxis: { textStyle: { - color: '#838383', + color: '#838383' }, textPosition: 'in', gridlines: { @@ -148,7 +148,7 @@ var defaultColumnChartOptions = { fontSize: 11, hAxis: { textStyle: { - color: '#838383', + color: '#838383' }, gridlines: { color: 'transparent' @@ -159,7 +159,7 @@ var defaultColumnChartOptions = { colors: ["#357ca5", "#008d4c", "#db8b0b", "#ca195a", "#555299", "#4285f4", "#db4437", "#f4b400", "#0f9d58", "#ab47bc", "#00acc1", "#ff7043", "#9e9d24", "#5c6bc0", "#f06292", "#00796b", "#c2185b"], vAxis: { textStyle: { - color: '#838383', + color: '#838383' }, baselineColor: '#aaaaaa', format: '\u20AC #' diff --git a/resources/twig/budgets/create.twig b/resources/twig/budgets/create.twig index fec9f883bc..6af4450dfe 100644 --- a/resources/twig/budgets/create.twig +++ b/resources/twig/budgets/create.twig @@ -6,44 +6,35 @@ {% block content %} {{ Form.open({'class' : 'form-horizontal','id' : 'store','url' : route('budgets.store')}) }} -
-
-
-
-

{{ 'mandatoryFields'|_ }}

-
-
- {{ ExpandedForm.text('name') }} +
+
+
+
+

{{ 'mandatoryFields'|_ }}

+
+
+ {{ ExpandedForm.text('name') }} +
-
-
+

{{ 'options'|_ }}

- {{ ExpandedForm.optionsList('create','budget') }} + {{ ExpandedForm.optionsList('create','budget') }} +
+
-
-
-
-

- -

-
- - - - + {{ Form.close|raw }} {% endblock %} diff --git a/resources/twig/budgets/delete.twig b/resources/twig/budgets/delete.twig index b4ec7f5dce..9497d1c707 100644 --- a/resources/twig/budgets/delete.twig +++ b/resources/twig/budgets/delete.twig @@ -5,45 +5,37 @@ {% endblock %} {% block content %} - {{ Form.open({'class' : 'form-horizontal','id' : 'destroy','url' : route('budgets.destroy',budget.id) }) }} -
-
-
-
-

{{ trans('form.delete_budget', {'name': budget.name}) }}

-
-
-

- {{ trans('form.permDeleteWarning') }} -

-

- {{ trans('form.budget_areYouSure', {'name': budget.name}) }} -

+ {{ Form.open({'class' : 'form-horizontal','id' : 'destroy','url' : route('budgets.destroy',budget.id) }) }} +
+
+
+
+

{{ trans('form.delete_budget', {'name': budget.name}) }}

+
+
+

+ {{ trans('form.permDeleteWarning') }} +

-

- - {{ trans('form.cancel') }} -

+

+ {{ trans('form.budget_areYouSure', {'name': budget.name}) }} +

-

- {% if budget.transactionjournals|length > 0 %} - {{ Lang.choice('form.budget_keep_transactions', budget.transactionjournals|length, {count: budget.transactionjournals|length}) }} - {% endif %} -

-
-
-
-
+

+ {% if budget.transactionjournals|length > 0 %} + {{ Lang.choice('form.budget_keep_transactions', budget.transactionjournals|length, {count: budget.transactionjournals|length}) }} + {% endif %} +

+ +
+ -
-
-
-
-
- - + {{ Form.close|raw }} {% endblock %} diff --git a/resources/twig/budgets/edit.twig b/resources/twig/budgets/edit.twig index 1fdee3dc46..39611eb75d 100644 --- a/resources/twig/budgets/edit.twig +++ b/resources/twig/budgets/edit.twig @@ -6,7 +6,7 @@ {% block content %} {{ Form.model(budget, {'class' : 'form-horizontal','id' : 'update','url' : route('budgets.update',budget.id) } ) }} - +
@@ -27,21 +27,15 @@

{{ 'options'|_ }}

- {{ ExpandedForm.optionsList('update','budget') }} + {{ ExpandedForm.optionsList('update','budget') }} +
+
-
-
-

- -

-
-
- + {{ Form.close|raw }} {% endblock %} diff --git a/resources/twig/budgets/index.twig b/resources/twig/budgets/index.twig index 0d16923359..b5d014eb79 100644 --- a/resources/twig/budgets/index.twig +++ b/resources/twig/budgets/index.twig @@ -10,6 +10,12 @@

{{ Session.get('start').formatLocalized(monthFormat) }}

+ + +
+ +
+
@@ -18,16 +24,21 @@
{{ trans('firefly.availableIn',{date : Session.get('start').formatLocalized(monthFormat) }) }}: - {{ budgetIncomeTotal|formatAmount }} + {{ budgetIncomeTotal|formatAmount }} +
-
-
-
-
+
+
+
+
@@ -38,10 +49,13 @@
-
-
-
-
+
+
+
+
@@ -54,6 +68,11 @@

{{ 'transactionsWithoutBudget'|_ }}

+ + +
+ +

@@ -64,7 +83,6 @@

-
@@ -73,57 +91,64 @@

- - {% if budget.currentRep %} - {{ budget.name }} - {% else %} - {{ budget.name }} - {% endif %} + + {% if budget.currentRep %} + {{ budget.name }} + {% else %} + {{ budget.name }} + {% endif %}

- -
+
+
- -
- - - - + + + + + +
{{ 'budgeted'|_ }} -
-
-
{{ defaultCurrency.symbol|raw }}
- - +
+ + + + - - - - - -
{{ 'budgeted'|_ }} +
+
+
{{ defaultCurrency.symbol|raw }}
+ + +
- -
{{ 'spent'|_ }}{{ budget.spent|formatAmount }}
+
{{ 'spent'|_ }}{{ budget.spent|formatAmount }}
+
-
+
{% endfor %}

{{ 'createBudget'|_ }}

+ + +
+ +
@@ -132,6 +157,10 @@

{{ 'inactiveBudgets'|_ }}

+ +
+ +
{% for index,budget in inactive %} diff --git a/resources/twig/categories/delete.twig b/resources/twig/categories/delete.twig index 67755118d0..d1124631ad 100644 --- a/resources/twig/categories/delete.twig +++ b/resources/twig/categories/delete.twig @@ -5,34 +5,33 @@ {% endblock %} {% block content %} -{{ Form.open({'class' : 'form-horizontal','id' : 'destroy','url' : route('categories.destroy',category.id)}) }} -
-
-
-
-

{{ trans('form.delete_category', {'name': category.name}) }}

-
-
-

- {{ trans('form.permDeleteWarning') }} -

-

- {{ trans('form.category_areYouSure', {'name': category.name}) }} -

- -

- - {{ trans('form.cancel') }} -

-

- {% if category.transactionjournals|length > 0 %} - {{ Lang.choice('form.category_keep_transactions', category.transactionjournals|length, {count: category.transactionjournals|length}) }} - {% endif %} -

+ {{ Form.open({'class' : 'form-horizontal','id' : 'destroy','url' : route('categories.destroy',category.id)}) }} +
+
+
+
+

{{ trans('form.delete_category', {'name': category.name}) }}

+
+
+

+ {{ trans('form.permDeleteWarning') }} +

+

+ {{ trans('form.category_areYouSure', {'name': category.name}) }} +

+

+ {% if category.transactionjournals|length > 0 %} + {{ Lang.choice('form.category_keep_transactions', category.transactionjournals|length, {count: category.transactionjournals|length}) }} + {% endif %} +

+
+
-
- + {{ Form.close|raw }} {% endblock %} diff --git a/resources/twig/categories/edit.twig b/resources/twig/categories/edit.twig index 36469d4b25..5e40a3254e 100644 --- a/resources/twig/categories/edit.twig +++ b/resources/twig/categories/edit.twig @@ -5,44 +5,38 @@ {% endblock %} {% block content %} -{{ Form.model(category, {'class' : 'form-horizontal','id' : 'update','url' : route('categories.update',category.id)}) }} - -
-
-
-
- {{ 'mandatoryFields'|_ }} + {{ Form.model(category, {'class' : 'form-horizontal','id' : 'update','url' : route('categories.update',category.id)}) }} + +
+
+
+
+

{{ 'mandatoryFields'|_ }}

+
+
+ {{ ExpandedForm.text('name') }} +
-
- {{ ExpandedForm.text('name') }} + +
+
+ + + +
+
+

{{ 'options'|_ }}

+
+
+ {{ ExpandedForm.optionsList('update','category') }} +
+
-
-
- - - -
-
- {{ 'options'|_ }} -
-
- {{ ExpandedForm.optionsList('update','category') }} -
-
- -
-
-
-
-

- -

-
-
- - + {{ Form.close|raw }} {% endblock %} diff --git a/resources/twig/categories/index.twig b/resources/twig/categories/index.twig index 7de7d594eb..2ea6311f83 100644 --- a/resources/twig/categories/index.twig +++ b/resources/twig/categories/index.twig @@ -9,24 +9,23 @@
- {{ 'categories'|_ }} +

{{ 'categories'|_ }}

-
+
+
- -
-
- {% include 'list/categories.twig' %} +
+ {% include 'list/categories.twig' %} +
diff --git a/resources/twig/categories/noCategory.twig b/resources/twig/categories/noCategory.twig index b616b6899d..498a339b79 100644 --- a/resources/twig/categories/noCategory.twig +++ b/resources/twig/categories/noCategory.twig @@ -11,7 +11,7 @@
{{ subTitle }}
-
+
{% include 'list/journals.twig' with {'journals': list} %}
diff --git a/resources/twig/categories/show.twig b/resources/twig/categories/show.twig index c7f3ba4c00..15ae1ebacb 100644 --- a/resources/twig/categories/show.twig +++ b/resources/twig/categories/show.twig @@ -9,8 +9,7 @@
- - {{ 'overview'|_ }} (month) +

{{ 'overview'|_ }} (month)

@@ -20,8 +19,7 @@
- - {{ 'overview'|_ }} (all) +

{{ 'overview'|_ }} (all)

@@ -34,10 +32,9 @@
- - {{ 'transactions'|_ }} +

{{ 'transactions'|_ }}

-
+
{% include 'list/journals' %}