Convert home page to Tailwind CSS

This commit is contained in:
RunasSudo 2024-04-04 00:32:51 +11:00
parent 9924df7e58
commit 56135a74db
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
1 changed files with 18 additions and 18 deletions

View File

@ -1,5 +1,5 @@
{# DrCr: Web-based double-entry bookkeeping framework {# DrCr: Web-based double-entry bookkeeping framework
Copyright (C) 2022–2023 Lee Yingtong Li (RunasSudo) Copyright (C) 2022–2024 Lee Yingtong Li (RunasSudo)
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by it under the terms of the GNU Affero General Public License as published by
@ -15,33 +15,33 @@
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
#} #}
{% extends 'base.html' %} {% extends 'base_tailwind.html' %}
{% block title %}DrCr{% endblock %} {% block title %}DrCr{% endblock %}
{% block content %} {% block content %}
<h1 class="h2 my-4">Data sources</h1> <h2 class="text-3xl text-gray-900 mb-1">Data sources</h2>
<ul> <ul class="list-disc ml-6">
<li><a href="{{ url_for('journal') }}">Journal</a></li> <li><a href="{{ url_for('journal') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Journal</a></li>
<li><a href="{{ url_for('statement_lines') }}">Statement lines</a></li> <li><a href="{{ url_for('statement_lines') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Statement lines</a></li>
<li><a href="{{ url_for('balance_assertions') }}">Balance assertions</a></li> <li><a href="{{ url_for('balance_assertions') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Balance assertions</a></li>
<li><a href="{{ url_for('chart_of_accounts') }}">Chart of accounts</a></li> <li><a href="{{ url_for('chart_of_accounts') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Chart of accounts</a></li>
{% for report in data_sources %} {% for report in data_sources %}
<li><a href="{{ url_for(report[0]) }}">{{ report[1] }}</a></li> <li><a href="{{ url_for(report[0]) }}" class="text-gray-900 hover:text-blue-700 hover:underline">{{ report[1] }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
<h1 class="h2 my-4">General reports</h1> <h2 class="text-3xl text-gray-900 mt-8 mb-1">General reports</h2>
<ul> <ul class="list-disc ml-6">
<li><a href="{{ url_for('general_ledger') }}">General ledger</a></li> <li><a href="{{ url_for('general_ledger') }}" class="text-gray-900 hover:text-blue-700 hover:underline">General ledger</a></li>
<li><a href="{{ url_for('trial_balance') }}">Trial balance</a></li> <li><a href="{{ url_for('trial_balance') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Trial balance</a></li>
<li><a href="{{ url_for('balance_sheet') }}">Balance sheet</a></li> <li><a href="{{ url_for('balance_sheet') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Balance sheet</a></li>
<li><a href="{{ url_for('income_statement') }}">Income statement</a></li> <li><a href="{{ url_for('income_statement') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Income statement</a></li>
</ul> </ul>
<h1 class="h2 my-4">Advanced reports</h1> <h2 class="text-3xl text-gray-900 mt-8 mb-1">Advanced reports</h2>
<ul> <ul class="list-disc ml-6">
{% for report in advanced_reports %} {% for report in advanced_reports %}
<li><a href="{{ url_for(report[0]) }}">{{ report[1] }}</a></li> <li><a href="{{ url_for(report[0]) }}" class="text-gray-900 hover:text-blue-700 hover:underline">{{ report[1] }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endblock %} {% endblock %}