2019-06-18 02:57:04 +01:00
|
|
|
<!-- Copyright (C) 2019 Storj Labs, Inc.
|
|
|
|
See LICENSE for copying information. -->
|
|
|
|
|
|
|
|
{{define "freeOffersModal"}}
|
|
|
|
<div class="modal fade p-5" id="free-offers-modal" tabindex="-1" role="dialog" aria-labelledby="free-offers-modal-lbl" aria-hidden="true">
|
2019-06-11 16:00:59 +01:00
|
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
2019-06-18 02:57:04 +01:00
|
|
|
<h5 class="modal-title" id="free-offers-modal-lbl">Create Free Credit</h5>
|
2019-06-11 16:00:59 +01:00
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<form>
|
|
|
|
<div class="form-row">
|
|
|
|
<div class="form-group col-md-4">
|
|
|
|
<label for="offer-name">Offer Name</label>
|
2019-06-18 02:57:04 +01:00
|
|
|
<input type="text" class="form-control" id="offer-name" placeholder="May Referral" required>
|
2019-06-11 16:00:59 +01:00
|
|
|
</div>
|
|
|
|
<div class="form-group col-md-4">
|
|
|
|
<label for="description">Description</label>
|
2019-06-18 02:57:04 +01:00
|
|
|
<input type="text" class="form-control" id="description" placeholder="Our test with $50 for May" required>
|
2019-06-11 16:00:59 +01:00
|
|
|
</div>
|
|
|
|
<div class="form-group col-md-4">
|
|
|
|
<label for="expiration">Credit Exp Date</label>
|
2019-06-18 02:57:04 +01:00
|
|
|
<input type="date" class="form-control" id="expiration" placeholder="06/01/19" required>
|
2019-06-11 16:00:59 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
|
|
<div class="form-group col-md-4">
|
|
|
|
<label for="give-credit">Give Credit</label>
|
2019-06-18 02:57:04 +01:00
|
|
|
<input type="number" class="form-control" id="give-credit" placeholder="$50" min="1" required>
|
2019-06-11 16:00:59 +01:00
|
|
|
</div>
|
|
|
|
<div class="form-group col-md-4">
|
2019-06-18 02:57:04 +01:00
|
|
|
<label for="give-credit-exp">Give Credit Exp</label>
|
|
|
|
<input type="number" class="form-control" id="give-credit-exp" placeholder="14 days" min="1" required>
|
2019-06-11 16:00:59 +01:00
|
|
|
</div>
|
|
|
|
<div class="form-group col-md-4">
|
|
|
|
<label for="redeemable-capacity">Redeemable Capacity</label>
|
2019-06-18 02:57:04 +01:00
|
|
|
<input type="number" class="form-control" id="redeemable-capacity" placeholder="150 users" min="1" required>
|
2019-06-11 16:00:59 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="m-1 text-left">
|
2019-06-18 02:57:04 +01:00
|
|
|
<button type="submit" class="btn btn-primary">Create Offer</button>
|
2019-06-11 16:00:59 +01:00
|
|
|
<a class="ml-3" href="/">Cancel</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|