DockerERTFF/views/partials/dataStoreRecordsTable.ejs

31 lines
1.4 KiB
Plaintext

<!-- Wappler include head-page="index0" appConnect="local" is="dmx-app" bootstrap5="local" fontawesome_5="cdn" -->
<div class="row">
<table class="table" dmx-show="DBSC1.data.query.hasItems()">
<thead>
<tr>
<th>DELETE</th>
<th>DA Name</th>
<th>license number</th>
<th>state issue</th>
<th>Trainer #</th>
<th>Date</th>
</tr>
</thead>
<tbody is="dmx-repeat" dmx-generator="bs5table" dmx-bind:repeat="DBSC1.data.query" id="tableRepeat1">
<tr>
<td dmx-bs-tooltip="'Click will delete without confirmation'" data-bs-trigger="hover" data-bs-placement="left">
<form action="/api/delRecord" method="post" dmx-on:success="DBSC1.load({})" is="dmx-serverconnect-form" id="serverconnectform3">
<input id="deleteid" name="deleteid" type="hidden" class="form-control" dmx-bind:value="ID">
<button id="btn3" class="btn btn-sm btn-outline-danger" dmx-text="ID" type="submit">Button</button>
</form>
</td>
<td dmx-text="db_fullName"></td>
<td dmx-text="db_licenseNumber"></td>
<td dmx-text="db_stateIssue"></td>
<td dmx-text="db_employeeID"></td>
<td dmx-text="owner"></td>
</tr>
</tbody>
</table>
</div>