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 %}
{% if new_snapshot_url %}
<p>
<a href="{{ new_snapshot_url }}">{% translate "New statement" %}</a>
</p>
{% endif %}
<div id="snapshots" class="table"> <div id="snapshots" class="table">
{% if new_snapshot_url %}
<p>
<a href="{{ new_snapshot_url }}">{% translate "New statement" %}</a>
</p>
{% endif %}
<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>
{% if snapshots_url %}
<p>
<a href="{{ snapshots_url }}">{% translate "View all statements" %}</a>
</p>
{% endif %}
</div> </div>
{% if snapshots_url %}
<p>
<a href="{{ snapshots_url }}">{% translate "View all statements" %}</a>
</p>
{% endif %}

View file

@ -1,11 +1,11 @@
{% load main_extras %} {% load main_extras %}
{% load i18n %} {% load i18n %}
{% if new_transaction_url %}
<p>
<a href="{{ new_transaction_url }}">{% translate "New transaction" %}</a>
</p>
{% endif %}
<div id="transactions" class="table"> <div id="transactions" class="table">
{% if new_transaction_url %}
<p>
<a href="{{ new_transaction_url }}">{% translate "New transaction" %}</a>
</p>
{% endif %}
<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>
{% if transactions_url %}
<p>
<a href="{{ transactions_url }}">{% translate "View all transactions" %}</a>
</p>
{% endif %}
</div> </div>
{% if transactions_url %}
<p>
<a href="{{ transactions_url }}">{% translate "View all transactions" %}</a>
</p>
{% endif %}