Updated bounties page.

This commit is contained in:
chris062689@gmail.com 2019-03-17 19:58:01 -04:00
parent 844c22566d
commit b25a0681a8

View File

@ -6,54 +6,78 @@
{{ .Content }} {{ .Content }}
</div> </div>
<table class="table is-fullwidth"> <section class="section">
<thead> <div class="content">
<tr> <h3 class="is-size-3">Pending Bounties</h3>
<th>Date Submitted</th> {{ range where .Site.Data.bounties "Status" "Unassigned" }}
<th>Requester</th> <div style="margin-bottom: 12px;">
<th>Developer</th> <div class="has-text-weight-semibold">{{ .Description }}</div>
<th>Status</th> <div style="margin-left: 48px;">
<th>Amount</th> <table class="table is-fullwidth">
<th>Description</th> <thead>
<th>Payment Status</th> <tr>
<th>Developer Response</th> <th class="has-text-weight-normal">Date Submitted</th>
<th>Date Expires</th> <th class="has-text-weight-normal">Requester</th>
</tr> <th class="has-text-weight-normal">Amount</th>
</thead> <th class="has-text-weight-normal">Expires Date</th>
<tbody> </tr>
{{ range .Site.Data.bounties }} </thead>
<tr> <tbody>
<td> {{ range .Requestors }}
{{ .DateSubmitted }} <tr>
</td> <td>{{ .DateSubmitted }}</td>
<td> <td>{{ .Name }}</td>
{{ .Requester }} <td>{{ .Amount }}</td>
</td> <td>{{ .DateExpires }}</td>
<td> </tr>
{{ .Developer }} {{ end }}
</td> </tbody>
<td> </table>
{{ .Status }} </div>
</td> </div>
<td>
{{ .Amount }}
</td>
<td>
{{ .Description }}
</td>
<td>
{{ .PaymentStatus }}
</td>
<td>
{{ .DeveloperResponse }}
</td>
<td>
{{ .DateExpires }}
</td>
</tr>
{{ end }} {{ end }}
</tbody> </div>
</table> </section>
</section>
<section class="section">
<div class="content">
<h3 class="is-size-3">Completed Bounties</h3>
{{ range where .Site.Data.bounties "Status" "Completed" }}
<div class="py-3">
<div class="has-text-weight-semibold">{{ .Description }}</div>
<div>{{ .Status }} by {{ .Developer }} - {{ .Response }}</div>
<div style="margin-left: 48px;">
<table class="table is-fullwidth">
<thead>
<tr>
<th class="has-text-weight-normal">Date Submitted</th>
<th class="has-text-weight-normal">Requester</th>
<th class="has-text-weight-normal">Amount</th>
<th class="has-text-weight-normal">Paid</th>
<th class="has-text-weight-normal">Expires Date</th>
</tr>
</thead>
<tbody>
{{ range .Requestors }}
<tr>
<td>{{ .DateSubmitted }}</td>
<td>{{ .Name }}</td>
<td>{{ .Amount }}</td>
{{ if eq .Paid true }}
<td>Yes</td>
{{ else }}
<td>No</td>
{{ end }}
<td>{{ .DateExpires }}</td>
</tr>
{{ end }}
</tbody>
</table>
</div>
</div>
{{ end }}
</div>
</section>
</div> </div>
{{ end }} {{ end }}