2019-06-18 02:57:04 +01:00
|
|
|
<!-- Copyright (C) 2019 Storj Labs, Inc.
|
|
|
|
See LICENSE for copying information. -->
|
|
|
|
|
|
|
|
{{define "referralOffersModal"}}
|
|
|
|
<div class="modal fade p-5" id="referral-offers-modal" tabindex="-1" role="dialog" aria-labelledby="referral-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="referral-offers-modal-lbl">Create Referral 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-2">
|
|
|
|
<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" required>
|
|
|
|
</div>
|
2019-06-11 16:00:59 +01:00
|
|
|
<div class="form-group col-md-2">
|
|
|
|
<label for="give-credit-exp">Give Credit Exp.</label>
|
2019-06-18 02:57:04 +01:00
|
|
|
<input type="number" class="form-control" id="give-credit-exp" min="1" placeholder="14 days" required>
|
2019-06-11 16:00:59 +01:00
|
|
|
</div>
|
|
|
|
<div class="form-group col-md-2">
|
|
|
|
<label for="get-credit">Get Credit</label>
|
2019-06-18 02:57:04 +01:00
|
|
|
<input type="number" class="form-control" id="get-credit" placeholder="$50" min="1" required>
|
|
|
|
</div>
|
2019-06-11 16:00:59 +01:00
|
|
|
<div class="form-group col-md-3">
|
|
|
|
<label for="get-credit-exp">Get Credit Exp.</label>
|
2019-06-18 02:57:04 +01:00
|
|
|
<input type="number" class="form-control" id="get-credit-exp" placeholder="12 months" min="1" required>
|
2019-06-11 16:00:59 +01:00
|
|
|
</div>
|
|
|
|
<div class="form-group col-md-3">
|
|
|
|
<label for="redeemable-capacity">Redeemable Capacity</label>
|
2019-06-18 02:57:04 +01:00
|
|
|
<input type="number" class="form-control" id="redeemable-capacity" min="1" placeholder="150 users" 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}}
|