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 { .table-hover tbody tr:hover {
background-color: rgba(0,0,0,.075); background-color: rgba(0,0,0,.055);
} }
.table th, .table td { .table th, .table td {
border-top: 1px solid #008926; border-top: 1px solid #00000029;
padding-top: .3rem; padding-top: .65rem;
} }
.table-tilted{ .table-tilted{
@ -169,7 +169,7 @@ body {
} }
.table thead th { .table thead th {
border-bottom: 1px solid #008926 !important; border-bottom: 1px solid #00000029 !important;
border-top: none; border-top: none;
font-size: 14px; font-size: 14px;
} }
@ -612,4 +612,8 @@ ul.b {
.proposal_qr{ .proposal_qr{
margin-top:8px; margin-top:8px;
margin-bottom: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;"> <table class="table table-proposal table-hover" data-status="{{ status }}" style="margin-bottom:6px;">
<thead> <thead>
<tr> <tr>
<th style="font-size: 20px;">{{title}}</th> <th style="font-size: 18px;">{{title}}</th>
<th>Username</th> <th>Username</th>
<th id="date">Date</th> <th id="date">Date</th>
{% if _proposals and _proposals[0].status >= 2 %} {% if _proposals and _proposals[0].status >= 2 %}

View File

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