mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-07-17 10:36:57 +00:00
20 lines
964 B
HTML
20 lines
964 B
HTML
|
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
|
||
|
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
||
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
|
||
|
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
|
||
|
crossorigin="anonymous"></script>
|
||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js"
|
||
|
integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s"
|
||
|
crossorigin="anonymous"></script>
|
||
|
<script src="https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.6.1/js/bootstrap4-toggle.min.js"></script>
|
||
|
<script>
|
||
|
$.ajax({
|
||
|
method: "GET",
|
||
|
url: "/check_update_dashboard",
|
||
|
success: function (response){
|
||
|
if (response === "true"){
|
||
|
$(".sb-update-url").append("<span class=\"dot dot-running\"></span>")
|
||
|
}
|
||
|
}
|
||
|
})
|
||
|
</script>
|