Some templating changes

This commit is contained in:
Sander Ferdinand 2018-10-20 16:25:42 +02:00
parent fe64d300fe
commit 1a997aace6
No known key found for this signature in database
GPG key ID: 7BBC83D7A8810AAB
3 changed files with 10 additions and 8 deletions

View file

@ -135,12 +135,12 @@ body {
}
.table-hover tbody tr:hover {
background-color: rgba(0,0,0,.075);
background-color: rgba(0,0,0,.055);
}
.table th, .table td {
border-top: 1px solid #008926;
padding-top: .3rem;
border-top: 1px solid #00000029;
padding-top: .65rem;
}
.table-tilted{
@ -169,7 +169,7 @@ body {
}
.table thead th {
border-bottom: 1px solid #008926 !important;
border-bottom: 1px solid #00000029 !important;
border-top: none;
font-size: 14px;
}
@ -612,4 +612,8 @@ ul.b {
.proposal_qr{
margin-top:8px;
margin-bottom:8px;
}
.table-proposal tr {
background: #00000005;
}

View file

@ -2,7 +2,7 @@
<table class="table table-proposal table-hover" data-status="{{ status }}" style="margin-bottom:6px;">
<thead>
<tr>
<th style="font-size: 20px;">{{title}}</th>
<th style="font-size: 18px;">{{title}}</th>
<th>Username</th>
<th id="date">Date</th>
{% if _proposals and _proposals[0].status >= 2 %}

View file

@ -51,7 +51,6 @@
{% endif %}
</p>
<hr>
{% if proposal.status in [2,3] %}
<div class="row">
<div class="col-md-12">
@ -124,12 +123,11 @@
<div class="progress-bar progress-warning progress-bar" style="width: {{proposal.balance['remaining_pct']}}%;">
</div>
</div>
<hr>
</div>
<br/>
</div>
<div class="row" style="margin-top:16px;">
<div class="row" style="margin-top:32px;">
<div class="col-lg-12">
Donation address:
<pre class="proposal_address">{% if proposal.addr_donation %}{{ proposal.addr_donation }}{% else %}<small>None generated yet</small>{% endif %}</pre>