This commit is contained in:
2020-06-12 22:28:33 +00:00
parent 937cd24721
commit b915697ca9
3 changed files with 44 additions and 24 deletions

1
buildtemplates.bat Normal file
View File

@@ -0,0 +1 @@
handlebars -m wwwroot/js/templates/> wwwroot/js/templates/templates.js

View File

@@ -3,52 +3,71 @@
<div class="form-group">
<label for="regTo">Registered to</label>
<input class="form-control" type="text" id="regTo" name="regTo" value="" readonly>
<label for="companyName">Company</label>
<input class="form-control" type="text" id="companyName" name="companyName" value="" readonly>
</div>
<div class="form-group">
<label for="customerName">Rockfish customer name</label>
<input class="form-control" type="text" id="customerName" name="customerName" value="" readonly>
<label for="contactName">Contact</label>
<input class="form-control" type="text" id="contactName" name="contactName" value="" readonly>
</div>
<div class="form-group">
<label for="dtcreated">Created</label>
<input class="form-control" type="date" id="dtcreated" name="dtcreated" value="" readonly>
</div>
<div class="form-group">
<label for="email">Email</label>
<input class="form-control" type="text" id="email" name="email" value="" readonly>
</div>
<div class="form-check">
<label class="form-check-label text-success font-weight-bold" for="emailValidated">
<input class="form-check-input" type="checkbox" name="emailValidated" id="emailValidated">Email
verified</label>
</div>
<div class="form-group">
<label for="code">Fetch code</label>
<input class="form-control" type="text" id="code" name="code" value="" readonly>
<label for="dbId">Database Id</label>
<input class="form-control" type="text" id="dbId" name="dbId" value="" readonly>
</div>
<div class="form-group">
<label for="dtRequested">Requested</label>
<input class="form-control" type="date" id="dtRequested" name="dtRequested" value="" readonly>
</div>
<div class="form-group">
<label for="dtProcessed">Processed</label>
<input class="form-control" type="date" id="dtProcessed" name="dtProcessed" value="" readonly>
</div>
<div class="form-check">
<label class="form-check-label text-success font-weight-bold" for="fetched">
<input class="form-check-input" type="checkbox" name="fetched" id="fetched"> License fetched</label>
</div>
<div class="form-group">
<label for="dtFetched">Fetched on</label>
<input class="form-control" type="date" id="dtfetched" name="dtfetched" value="" readonly>
</div>
<div class="form-group">
<label for="key">Key</label>
<textarea class="form-control form-control-lg" id="key" name="key" rows="10" readonly />
</div>
{{!-- <div class="form-group">
<label for="fetchFrom">Fetched from</label>
<input class="form-control" type="text" id="fetchFrom" name="fetchFrom" value="" readonly>
</div> --}}
</div>
{"id":1,"dbId":"7f3dd3d5-d6e4-404f-ad29-60f0eb38d054","companyName":"Super TestCo",
"contactName":"Test Testerson","notes":null,"email":"cardjohn@ayanova.com",
"emailConfirmCode":"1cOrceCicgU","emailValidated":false,"dtRequested":1591988730,
"dtProcessed":null,"status":0,"rejectReason":null,"key":null,"dtFetched":null}
--}}
<div class="form-group">
<label for="key">Key</label>
<textarea class="form-control form-control-lg" id="key" name="key" rows="10" readonly/>
<div class="form-group">
<label for="status">Status</label>
<select class="form-control" name="status" readonly>
<option value="0">New</option>
<option value="1">Approved</option>
<option value="2">Rejected</option>
</select>
</div>
<div class="form-group">
<label for="rejectReason">Reject reason</label>
<input class="form-control" type="text" id="rejectReason" name="rejectReason" value="" >
</div>
<div class="app-frm-buttons mt-5">
<button id="btn-save" class="btn btn-success">Save</button>
<button id="btn-reject" class="btn btn-error mr-5">Reject</button>
<button id="btn-approve" class="btn btn-success">Approve</button>
<button id="btn-delete" class="btn btn-outline-dark">Delete</button>
</div>

File diff suppressed because one or more lines are too long