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">
|
2019-06-28 15:34:10 +01:00
|
|
|
<form action="/create/free-credit" method="POST" enctype="application/x-www-form-urlencoded">
|
2019-06-11 16:00:59 +01:00
|
|
|
<div class="form-row">
|
|
|
|
<div class="form-group col-md-4">
|
2019-06-28 15:34:10 +01:00
|
|
|
<label for="Name">Offer Name</label>
|
|
|
|
<input type="text" class="form-control" name="Name" id="Name" placeholder="May Referral" required>
|
2019-06-11 16:00:59 +01:00
|
|
|
</div>
|
|
|
|
<div class="form-group col-md-4">
|
2019-06-28 15:34:10 +01:00
|
|
|
<label for="Description">Description</label>
|
|
|
|
<input type="text" class="form-control" name="Description" 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">
|
2019-06-28 15:34:10 +01:00
|
|
|
<label for="ExpiresAt">Credit Exp Date</label>
|
|
|
|
<input type="date" class="form-control" name="ExpiresAt" id="ExpiresAt" 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">
|
2019-07-23 17:08:07 +01:00
|
|
|
<label for="InviteeCredit">Give Credit</label>
|
2019-07-01 20:16:49 +01:00
|
|
|
<input type="number" class="form-control" name="AwardCredit" id="AwardCredit" placeholder="$50" min="1" required>
|
2019-06-11 16:00:59 +01:00
|
|
|
</div>
|
|
|
|
<div class="form-group col-md-4">
|
2019-07-23 17:08:07 +01:00
|
|
|
<label for="InviteeCreditDurationDays">Give Credit Exp</label>
|
2019-06-28 15:34:10 +01:00
|
|
|
<input type="number" class="form-control" name="AwardCreditDurationDays" id="AwardCreditDurationDays" placeholder="14 days" min="1" required>
|
2019-06-11 16:00:59 +01:00
|
|
|
</div>
|
|
|
|
<div class="form-group col-md-4">
|
2019-06-28 15:34:10 +01:00
|
|
|
<label for="RedeemableCap">Redeemable Capacity</label>
|
|
|
|
<input type="number" class="form-control" name="RedeemableCap" id="RedeemableCap" 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}}
|