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
50 lines
2.6 KiB
HTML
50 lines
2.6 KiB
HTML
{{define "foModal"}}
|
|
<div class="modal fade" id="foModal" tabindex="-1" role="dialog" aria-labelledby="foModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title" id="foModalLabel">Create Free Credit</h5>
|
|
<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>
|
|
<input type="text" class="form-control" id="offer-name" placeholder="May Referral">
|
|
</div>
|
|
<div class="form-group col-md-4">
|
|
<label for="description">Description</label>
|
|
<input type="text" class="form-control" id="description" placeholder="Our test with $50 for May">
|
|
</div>
|
|
<div class="form-group col-md-4">
|
|
<label for="expiration">Credit Exp Date</label>
|
|
<input type="date" class="form-control" id="expiration" placeholder="06/01/19">
|
|
</div>
|
|
</div>
|
|
<div class="form-row">
|
|
<div class="form-group col-md-4">
|
|
<label for="give-credit">Give Credit</label>
|
|
<input type="number" id="give-credit" value="$50">
|
|
</div>
|
|
<div class="form-group col-md-4">
|
|
<label for="give-credit-exp">Give Credit Exp.</label>
|
|
<input type="date" class="form-control" id="give-credit-exp">
|
|
</div>
|
|
<div class="form-group col-md-4">
|
|
<label for="redeemable-capacity">Redeemable Capacity</label>
|
|
<input type="text" class="form-control" id="redeemable-capacity">
|
|
</div>
|
|
</div>
|
|
<div class="m-1 text-left">
|
|
<button type="submit" class="btn btn-secondary">Create Offer</button>
|
|
<a class="ml-3" href="/">Cancel</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}} |