mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-19 11:01:47 +02:00
Auto-Refresh entry table in guest view
This commit is contained in:
parent
b4ba000779
commit
8f10f9b500
@ -96,6 +96,7 @@
|
||||
integrity="sha256-4F7e4JsAJyLUdpP7Q8Sah866jCOhv72zU5E8lIRER4w=" crossorigin="anonymous">
|
||||
</script>
|
||||
<script src="https://unpkg.com/bootstrap-table@1.15.3/dist/bootstrap-table.min.js"></script>
|
||||
<script src="https://unpkg.com/bootstrap-table@1.15.3/dist/extensions/auto-refresh/bootstrap-table-auto-refresh.min.js"></script>
|
||||
<script src="https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js"></script>
|
||||
{% block extrajs %}{% endblock %}
|
||||
<script>
|
||||
|
@ -8,12 +8,15 @@
|
||||
data-toggle="table"
|
||||
data-url="/api/queue"
|
||||
data-pagination="true"
|
||||
data-classes="table">
|
||||
data-classes="table"
|
||||
data-show-refresh="false"
|
||||
data-auto-refresh="true"
|
||||
data-auto-refresh-interval="10">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" data-field="Name">Name</th>
|
||||
<th scope="col" data-field="Title">Song</th>
|
||||
<th scope="col" data-field="Artist">Künstler</th>
|
||||
<th data-field="Name">Name</th>
|
||||
<th data-field="Title">Song</th>
|
||||
<th data-field="Artist">Künstler</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
Loading…
x
Reference in New Issue
Block a user