storj/web/marketing/pages/home.html
Egon Elbre fdddaa2a47 Fix marketingweb code (#2177)
* 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
2019-06-12 09:42:39 -04:00

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}}