mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-23 23:38:44 +00:00
Loader for logs
This commit is contained in:
parent
41a1e0ea5a
commit
bbd509e98f
2 changed files with 5 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue