fdddaa2a47
* set to only listen on 127.0.0.1, move static files to same location, better template handling * handle error * fix path in storj-sim * revert template handling changes * code shouldn't panic on invalid tempalte * do not rewrite once writing has started * write correct error code * use filepath for path handling * revert change * fix * fix mod tidy * use correct error code for not found, avoid infinite loop on failure
51 lines
1.6 KiB
HTML
51 lines
1.6 KiB
HTML
{{define "freeOffers"}}
|
|
<table class="w-100 mt-5 mb-5 rounded table table-light table-responsive">
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Give Credit</th>
|
|
<th>Free Credits Used</th>
|
|
<th>Redeemable Capacity</th>
|
|
<th>Created</th>
|
|
<th>Expiration</th>
|
|
<th>Status</th>
|
|
</tr>
|
|
<th class="text-dark m-2"><p>DEFAULT OFFER</p></th>
|
|
<tr>
|
|
<td>Default Free Credit</td>
|
|
<td>$20</td>
|
|
<td>48</td>
|
|
<td>N/A</td>
|
|
<td>04/18/19</td>
|
|
<td>N/A</td>
|
|
<td><img class="toggler" src="/static/img/on.jpg" height="50" width="50"></td>
|
|
</tr>
|
|
<th class="text-dark m-2"><p>CUSTOM OFFER(S)</p></th>
|
|
<tr>
|
|
<td>May Free Credit</td>
|
|
<td>$50</td>
|
|
<td>30</td>
|
|
<td>200</td>
|
|
<td>05/18/19</td>
|
|
<td>06/18/2019</td>
|
|
<td><img class="toggler" src="/static/img/off.jpg" height="50" width="50"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>June Free Credit</td>
|
|
<td>$40</td>
|
|
<td>0</td>
|
|
<td>200</td>
|
|
<td>05/18/19</td>
|
|
<td>06/18/2019</td>
|
|
<td><img class="toggler" src="/static/img/off.jpg" height="50" width="50"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>July Free Credit</td>
|
|
<td>$30</td>
|
|
<td>0</td>
|
|
<td>200</td>
|
|
<td>07/01/19</td>
|
|
<td>08/01/2019</td>
|
|
<td><img class="toggler" src="/static/img/off.jpg" height="50" width="50"></td>
|
|
</tr>
|
|
</table>
|
|
{{end}} |