mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-01 16:35:37 +03:00
fix QCCode bug
This commit is contained in:
parent
03428646e1
commit
a53a85618f
2 changed files with 15 additions and 9 deletions
|
@ -29,9 +29,11 @@ function renderClientList(data) {
|
|||
<div class="info-box">
|
||||
<div class="overlay" id="paused_${obj.Client.id}"` + clientStatusHtml
|
||||
+ `<i class="paused-client fas fa-3x fa-play" onclick="resumeClient('${obj.Client.id}')"></i>
|
||||
</div>
|
||||
<img src="${obj.QRCode}" />
|
||||
<div class="info-box-content">
|
||||
</div>`
|
||||
if (obj.Client.hasPrivateSubnet == false) {
|
||||
html = html + `<img src="${obj.QRCode}" />`
|
||||
}
|
||||
html = html + `<div class="info-box-content">
|
||||
<div class="btn-group">
|
||||
<button onclick="location.href='/download?clientid=${obj.Client.id}'" type="button"
|
||||
class="btn btn-outline-success btn-sm">Download</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue