1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-01-23 23:38:44 +00:00

Loader for logs

This commit is contained in:
Louis Vézina 2017-11-22 10:37:50 -05:00
parent 41a1e0ea5a
commit bbd509e98f
2 changed files with 5 additions and 0 deletions

View file

@ -13,6 +13,9 @@
</style>
</head>
<body>
<div id='logs_loader' class="ui page dimmer">
<div class="ui indeterminate text loader">Loading...</div>
</div>
<div class="content">
<table class="ui very basic selectable table">
<thead>

View file

@ -145,6 +145,8 @@
function loadURL(page) {
$.ajax({
url: "{{base_url}}logs/" + page,
beforeSend: function() { $('#loader').addClass('active'); },
complete: function() { $('#loader').removeClass('active'); },
cache: false
}).done(function(data) {
$("#logs").html(data);