Tweak home page

This commit is contained in:
RunasSudo 2024-04-04 21:30:27 +11:00
parent b9f02d13d7
commit 641fb054e1
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -19,29 +19,35 @@
{% block title %}DrCr{% endblock %} {% block title %}DrCr{% endblock %}
{% block content %} {% block content %}
<h2 class="text-3xl text-gray-900 mb-1">Data sources</h2> <div class="grid grid-cols-3 divide-x divide-gray-200">
<ul class="list-disc ml-6"> <div class="pr-4">
<li><a href="{{ url_for('journal') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Journal</a></li> <h2 class="font-medium text-gray-700 mb-2">Data sources</h2>
<li><a href="{{ url_for('statement_lines') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Statement lines</a></li> <ul class="list-disc ml-6">
<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('journal') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Journal</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> <li><a href="{{ url_for('statement_lines') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Statement lines</a></li>
{% for report in data_sources %} <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(report[0]) }}" class="text-gray-900 hover:text-blue-700 hover:underline">{{ report[1] }}</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>
{% endfor %} {% for report in data_sources %}
</ul> <li><a href="{{ url_for(report[0]) }}" class="text-gray-900 hover:text-blue-700 hover:underline">{{ report[1] }}</a></li>
{% endfor %}
<h2 class="text-3xl text-gray-900 mt-8 mb-1">General reports</h2> </ul>
<ul class="list-disc ml-6"> </div>
<li><a href="{{ url_for('general_ledger') }}" class="text-gray-900 hover:text-blue-700 hover:underline">General ledger</a></li> <div class="px-4">
<li><a href="{{ url_for('trial_balance') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Trial balance</a></li> <h2 class="font-medium text-gray-700 mb-2">General reports</h2>
<li><a href="{{ url_for('balance_sheet') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Balance sheet</a></li> <ul class="list-disc ml-6">
<li><a href="{{ url_for('income_statement') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Income statement</a></li> <li><a href="{{ url_for('general_ledger') }}" class="text-gray-900 hover:text-blue-700 hover:underline">General ledger</a></li>
</ul> <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') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Balance sheet</a></li>
<h2 class="text-3xl text-gray-900 mt-8 mb-1">Advanced reports</h2> <li><a href="{{ url_for('income_statement') }}" class="text-gray-900 hover:text-blue-700 hover:underline">Income statement</a></li>
<ul class="list-disc ml-6"> </ul>
{% for report in advanced_reports %} </div>
<li><a href="{{ url_for(report[0]) }}" class="text-gray-900 hover:text-blue-700 hover:underline">{{ report[1] }}</a></li> <div class="pl-4">
{% endfor %} <h2 class="font-medium text-gray-700 mb-2">Advanced reports</h2>
</ul> <ul class="list-disc ml-6">
{% for report in advanced_reports %}
<li><a href="{{ url_for(report[0]) }}" class="text-gray-900 hover:text-blue-700 hover:underline">{{ report[1] }}</a></li>
{% endfor %}
</ul>
</div>
</div>
{% endblock %} {% endblock %}