From 91dbc3b590f4a41c776174e47486643c83ce472a Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Thu, 24 Oct 2024 00:47:02 -0300 Subject: [PATCH] refactor: remove unused files --- .../fragments/month_year_picker.html | 51 ---- .../fragments/monthly_summary.html | 198 --------------- .../yearly_overview/pages/overview2.html | 231 ------------------ 3 files changed, 480 deletions(-) delete mode 100644 app/templates/yearly_overview/fragments/month_year_picker.html delete mode 100644 app/templates/yearly_overview/fragments/monthly_summary.html delete mode 100644 app/templates/yearly_overview/pages/overview2.html diff --git a/app/templates/yearly_overview/fragments/month_year_picker.html b/app/templates/yearly_overview/fragments/month_year_picker.html deleted file mode 100644 index 0d893f6..0000000 --- a/app/templates/yearly_overview/fragments/month_year_picker.html +++ /dev/null @@ -1,51 +0,0 @@ -{% extends 'extends/offcanvas.html' %} -{% load month_name %} -{% load i18n %} - -{% block title %}{% translate 'Pick a month' %}{% endblock %} - -{% block body %} -{% regroup month_year_data by year as years_list %} - - -
- {% for x in years_list %} -
- -
- {% endfor %} -
-{% endblock %} diff --git a/app/templates/yearly_overview/fragments/monthly_summary.html b/app/templates/yearly_overview/fragments/monthly_summary.html deleted file mode 100644 index 5b57cd6..0000000 --- a/app/templates/yearly_overview/fragments/monthly_summary.html +++ /dev/null @@ -1,198 +0,0 @@ -{% load i18n %} -{% load currency_display %} -
- {# Daily Spending#} -
-
-
- -
-
-
{% translate 'Daily Spending Allowance' %}{% include 'includes/help_icon.html' with content=_('This is the final total divided by the remaining days in the month') %}
-
-
-
{% translate 'today' %}
-
-
- {% for entry in totals.daily_spending_allowance %} - - {% empty %} -
-
- {% endfor %} -
-
-
-
-
-{# Income#} -
-
-
- -
-
-
{% translate 'Income' %}
-
-
-
{% translate 'current' %}
-
-
- {% for entry in totals.paid_income %} - - {% empty %} -
-
- {% endfor %} -
-
-
-
-
-
{% translate 'projected' %}
-
-
- {% for entry in totals.projected_income %} - - {% empty %} -
-
- {% endfor %} -
-
-
-
-
-{# Expenses#} -
-
-
- -
-
-
{% translate 'Expenses' %}
-
-
-
{% translate 'current' %}
-
-
- {% for entry in totals.paid_expenses %} - - {% empty %} -
-
- {% endfor %} -
-
-
-
-
-
{% translate 'projected' %}
-
-
- {% for entry in totals.projected_expenses %} - - {% empty %} -
-
- {% endfor %} -
-
-
-
-
-{# Total#} -
-
-
- -
-
-
{% translate 'Total' %}
-
-
-
{% translate 'current' %}
-
-
- {% for entry in totals.total_current %} - - {% empty %} -
-
- {% endfor %} -
-
-
-
-
{% translate 'projected' %}
-
-
- {% for entry in totals.total_projected %} - - {% empty %} -
-
- {% endfor %} -
-
-
-
-
- {% for entry in totals.total_final %} - - {% empty %} -
-
- {% endfor %} -
-
-
-
-
-
-{#
#} -{#

#} -{# {% translate "Account Overview" %}

#} -{#
#} -{#
#} -{# {% for account in account_summary %}#} -{#
#} -{#
#} -{#
{{ account.name }}
#} -{#
#} -{#
#} -{#
#} -{#
#} -{#
#} -{#
#} -{# {% endfor %}#} -{#
#} -{#
#} diff --git a/app/templates/yearly_overview/pages/overview2.html b/app/templates/yearly_overview/pages/overview2.html deleted file mode 100644 index 72e3689..0000000 --- a/app/templates/yearly_overview/pages/overview2.html +++ /dev/null @@ -1,231 +0,0 @@ -{% extends "layouts/base.html" %} -{% load currency_display %} -{% load crispy_forms_tags %} -{% load i18n %} -{% load month_name %} -{% load static %} -{% load webpack_loader %} - -{% block title %}{% translate 'Yearly Overview' %} :: {{ year }}{% endblock %} - -{% block body_hyperscript %} - on keyup[code is 'ArrowLeft' and target.nodeName is 'BODY'] from body trigger 'previous_month' end - on keyup[code is 'ArrowRight' and target.nodeName is 'BODY'] from body trigger 'next_month' end -{% endblock %} - -{% block content %} -
-
- Card image -
-
Card Title
-

Some quick example text to build on the card title and make up the bulk of the card's content.

-
- -
-{#
#} -{# Date picker#} -{#
#} -{#
#} -{# #} -{#
#} -{#
#} -{# {{ month|month_name }} {{ year }}#} -{#
#} -{#
#} -{# #} -{# #} -{# #} -{#
#} -{#
#} -{# Action buttons#} -{#
#} -{#
#} -{# #} -{# #} -{# #} -{# #} -{# #} -{#
#} -{#
#} -{#
#} -{# Monthly summary#} -
-{#
#} -{# #} -{#
#} -
-{# Filter transactions#} -{#
#} -{#
#} -{# #} -{#
#} -{#
#} -
- {{ year }} - {% for date, x in data.items %} -
-
-
{{ date.month|month_name }}
- {{ x }} -

Some quick example text to build on the card title and make up the bulk of the card's content.

- Go somewhere -
-
- {% endfor %} -{#
#} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# {% for date, x in totals.items %}#} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# #} -{# {% endfor %}#} -{# #} -{#
{% translate 'Month' %}{% translate 'Projected Income' %}{% translate 'Projected Expenses' %}{% translate 'Projected Total' %}{% translate 'Current Income' %}{% translate 'Current Expenses' %}{% translate 'Current Total' %}{% translate 'Final Total' %}
{{ date.month|month_name }}#} -{# {% for data in x.income_unpaid %}#} -{#
#} -{# {% empty %}#} -{#
-
#} -{# {% endfor %}#} -{#
#} -{# {% for data in x.expense_unpaid %}#} -{#
#} -{# {% empty %}#} -{#
-
#} -{# {% endfor %}#} -{#
#} -{# {% for data in x.balance_unpaid %}#} -{#
#} -{# {% empty %}#} -{#
-
#} -{# {% endfor %}#} -{#
#} -{# {% for data in x.income_paid %}#} -{#
#} -{# {% empty %}#} -{#
-
#} -{# {% endfor %}#} -{#
#} -{# {% for data in x.expense_paid %}#} -{#
#} -{# {% empty %}#} -{#
-
#} -{# {% endfor %}#} -{#
#} -{# {% for data in x.balance_paid %}#} -{#
#} -{# {% empty %}#} -{#
-
#} -{# {% endfor %}#} -{#
#} -{# {% for data in x.balance_total %}#} -{#
#} -{# {% empty %}#} -{#
-
#} -{# {% endfor %}#} -{#
#} -{#
#} -
-
-
-
-{% endblock %}