Adjust index page format
This commit is contained in:
parent
e719aa293f
commit
c87e1c3a70
@ -21,7 +21,7 @@
|
|||||||
{% block title %}ledger-pyreport{% endblock %}
|
{% block title %}ledger-pyreport{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div style="margin-bottom: 1em;">
|
<div class="index-group">
|
||||||
<form action="{{ url_for('trial') }}">
|
<form action="{{ url_for('trial') }}">
|
||||||
<button type="submit">Trial balance</button>
|
<button type="submit">Trial balance</button>
|
||||||
<label>Date: <input name="date" data-inputgroup="date" value="{{ date.strftime('%Y-%m-%d') }}" style="width: 6em;" oninput="txtc(this)"></label>
|
<label>Date: <input name="date" data-inputgroup="date" value="{{ date.strftime('%Y-%m-%d') }}" style="width: 6em;" oninput="txtc(this)"></label>
|
||||||
@ -31,7 +31,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="margin-bottom: 1em;">
|
<div class="index-group">
|
||||||
<form action="{{ url_for('balance') }}">
|
<form action="{{ url_for('balance') }}">
|
||||||
<button type="submit">Balance sheet</button>
|
<button type="submit">Balance sheet</button>
|
||||||
<label>Date: <input name="date" data-inputgroup="date" value="{{ date.strftime('%Y-%m-%d') }}" style="width: 6em;" oninput="txtc(this)"></label>
|
<label>Date: <input name="date" data-inputgroup="date" value="{{ date.strftime('%Y-%m-%d') }}" style="width: 6em;" oninput="txtc(this)"></label>
|
||||||
@ -41,7 +41,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="margin-bottom: 1em;">
|
<div class="index-group">
|
||||||
<form action="{{ url_for('pandl') }}">
|
<form action="{{ url_for('pandl') }}">
|
||||||
<button type="submit">Income statement</button>
|
<button type="submit">Income statement</button>
|
||||||
<label>Begin date: <input name="date_beg" data-inputgroup="pstart" value="{{ pstart.strftime('%Y-%m-%d') }}" style="width: 6em;" oninput="txtc(this)"></label>
|
<label>Begin date: <input name="date_beg" data-inputgroup="pstart" value="{{ pstart.strftime('%Y-%m-%d') }}" style="width: 6em;" oninput="txtc(this)"></label>
|
||||||
@ -56,7 +56,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="margin-bottom: 1em;">
|
<div class="index-group">
|
||||||
<form action="{{ url_for('cashflow') }}">
|
<form action="{{ url_for('cashflow') }}">
|
||||||
<button type="submit">Cash flows</button>
|
<button type="submit">Cash flows</button>
|
||||||
<label>Begin date: <input name="date_beg" data-inputgroup="pstart" value="{{ pstart.strftime('%Y-%m-%d') }}" style="width: 6em;" oninput="txtc(this)"></label>
|
<label>Begin date: <input name="date_beg" data-inputgroup="pstart" value="{{ pstart.strftime('%Y-%m-%d') }}" style="width: 6em;" oninput="txtc(this)"></label>
|
||||||
@ -69,7 +69,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="margin-bottom: 1em;">
|
<div class="index-group">
|
||||||
<form action="{{ url_for('transactions') }}">
|
<form action="{{ url_for('transactions') }}">
|
||||||
<button type="submit">General ledger</button>
|
<button type="submit">General ledger</button>
|
||||||
<label>Begin date: <input name="date_beg" data-inputgroup="pstart" value="{{ pstart.strftime('%Y-%m-%d') }}" style="width: 6em;" oninput="txtc(this)"></label>
|
<label>Begin date: <input name="date_beg" data-inputgroup="pstart" value="{{ pstart.strftime('%Y-%m-%d') }}" style="width: 6em;" oninput="txtc(this)"></label>
|
||||||
|
@ -86,8 +86,13 @@ table.ledger a:hover {
|
|||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.index-group {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
line-height: 2;
|
||||||
|
}
|
||||||
label {
|
label {
|
||||||
margin-left: 1ex;
|
margin-left: 1ex;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen {
|
@media screen {
|
||||||
|
Reference in New Issue
Block a user