Improve mobile design

This commit is contained in:
Edgar P. Burkhart 2023-04-18 16:57:05 +02:00
parent ae5e5f1104
commit a21f655f18
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 20 additions and 20 deletions

View file

@ -1,11 +1,11 @@
{% load main_extras %} {% load main_extras %}
{% load i18n %} {% load i18n %}
<div id="snapshots" class="table">
{% if new_snapshot_url %} {% if new_snapshot_url %}
<p> <p>
<a href="{{ new_snapshot_url }}">{% translate "New statement" %}</a> <a href="{{ new_snapshot_url }}">{% translate "New statement" %}</a>
</p> </p>
{% endif %} {% endif %}
<div id="snapshots" class="table">
<table class="full-width {% if snapshots_url %}more{% endif %}"> <table class="full-width {% if snapshots_url %}more{% endif %}">
<colgroup> <colgroup>
<col class="icon" span="2"> <col class="icon" span="2">
@ -62,9 +62,9 @@
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
</div>
{% if snapshots_url %} {% if snapshots_url %}
<p> <p>
<a href="{{ snapshots_url }}">{% translate "View all statements" %}</a> <a href="{{ snapshots_url }}">{% translate "View all statements" %}</a>
</p> </p>
{% endif %} {% endif %}
</div>

View file

@ -1,11 +1,11 @@
{% load main_extras %} {% load main_extras %}
{% load i18n %} {% load i18n %}
<div id="transactions" class="table">
{% if new_transaction_url %} {% if new_transaction_url %}
<p> <p>
<a href="{{ new_transaction_url }}">{% translate "New transaction" %}</a> <a href="{{ new_transaction_url }}">{% translate "New transaction" %}</a>
</p> </p>
{% endif %} {% endif %}
<div id="transactions" class="table">
<table class="full-width {% if transactions_url %}more{% endif %}"> <table class="full-width {% if transactions_url %}more{% endif %}">
<colgroup> <colgroup>
<col class="icon"> <col class="icon">
@ -77,9 +77,9 @@
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
</div>
{% if transactions_url %} {% if transactions_url %}
<p> <p>
<a href="{{ transactions_url }}">{% translate "View all transactions" %}</a> <a href="{{ transactions_url }}">{% translate "View all transactions" %}</a>
</p> </p>
{% endif %} {% endif %}
</div>