mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-08-24 09:38:36 +02:00
Improve GUI
This commit is contained in:
@@ -56,16 +56,18 @@
|
||||
$.each(data, function (key, val) {
|
||||
items.push("<tr><td>"+val[0]+`</td>
|
||||
<td><button type='button'
|
||||
class='btn btn-primary d-flex justify-content-center align-content-between'
|
||||
class='btn btn-primary justify-content-center align-content-between'
|
||||
data-toggle='modal'
|
||||
data-target='#enqueueModal' onclick='setSelectedId(`+val[1]+`)'><i
|
||||
class='material-icons'>queue_music</i></button></td>
|
||||
class="fas fa-plus"></i></button></td>
|
||||
</tr>`)
|
||||
});
|
||||
|
||||
$("#songtable").html("")
|
||||
$(items.join("")).appendTo("#songtable");
|
||||
});
|
||||
} else {
|
||||
$("#songtable").html("")
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user