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
16 lines
659 B
HTML
16 lines
659 B
HTML
{{define "main"}}
|
|
<div class="container">
|
|
<div class="row mt-4 mb-4">
|
|
<h3 class="m-4 text-dark">Referral Credit Offers</h3>
|
|
<button type="button" class="btn btn-outline-dark m-4" data-toggle="modal" data-target="#roModal">+ Create Referral Credit</button>
|
|
</div>
|
|
{{template "refOffers" .}}
|
|
{{template "roModal" .}}
|
|
<div class="row mt-4 mb-4">
|
|
<h3 class="m-4 text-dark">Free Credit Offers</h3>
|
|
<button type="button" class="btn btn-outline-dark m-4" data-toggle="modal" data-target="#foModal">+ Create Free Credit</button>
|
|
</div>
|
|
{{template "freeOffers" .}}
|
|
{{template "foModal" .}}
|
|
</div>
|
|
{{end}} |