Skip to content

Commit

Permalink
chore: update buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Khanh Ngo committed Nov 21, 2021
1 parent ab533c7 commit 29c7d9e
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions custom/js/helper.js
Expand Up @@ -27,17 +27,25 @@ function renderClientList(data) {
<img src="${obj.QRCode}" />
<div class="info-box-content">
<div class="btn-group">
<a href="/download?clientid=${obj.Client.id}"
class="btn btn-outline-success btn-sm">Download</a>
<button type="button" class="btn btn-outline-warning btn-sm" data-toggle="modal"
<a href="/download?clientid=${obj.Client.id}" class="btn btn-outline-success btn-sm">Download</a>
</div>
<div class="btn-group">
<button type="button" class="btn btn-outline-secondary btn-sm" data-toggle="modal"
data-target="#modal_email_client" data-clientid="${obj.Client.id}"
data-clientname="${obj.Client.name}">Email</button>
</div>
<div class="btn-group">
<button type="button" class="btn btn-outline-primary btn-sm" data-toggle="modal"
data-target="#modal_edit_client" data-clientid="${obj.Client.id}"
data-clientname="${obj.Client.name}">Edit</button>
</div>
<div class="btn-group">
<button type="button" class="btn btn-outline-warning btn-sm" data-toggle="modal"
data-target="#modal_pause_client" data-clientid="${obj.Client.id}"
data-clientname="${obj.Client.name}">Disable</button>
</div>
<div class="btn-group">
<button type="button" class="btn btn-outline-danger btn-sm" data-toggle="modal"
data-target="#modal_remove_client" data-clientid="${obj.Client.id}"
data-clientname="${obj.Client.name}">Remove</button>
Expand Down

0 comments on commit 29c7d9e

Please sign in to comment.