mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 07:10:09 +01:00
Commit
This commit is contained in:
parent
120d3b9f54
commit
7139e230cf
3
.github/workflows/pylint.yml
vendored
3
.github/workflows/pylint.yml
vendored
@ -21,4 +21,5 @@ jobs:
|
||||
pip install pylint
|
||||
- name: Analysing the code with pylint
|
||||
run: |
|
||||
pylint `ls ../../src -R|grep .py$|xargs`
|
||||
# pylint `ls ../../src -R|grep .py$|xargs`
|
||||
ls
|
||||
|
@ -340,6 +340,7 @@
|
||||
*/
|
||||
function loadPeers(searchString){
|
||||
startProgressBar();
|
||||
let d1 = new Date();
|
||||
$.ajax({
|
||||
method: "GET",
|
||||
url: `/get_config/${conf_name}?search=${encodeURIComponent(searchString)}`,
|
||||
@ -354,6 +355,9 @@
|
||||
$(".dot.dot-stopped").attr("title","Peer Disconnected").tooltip();
|
||||
$("i[data-toggle='tooltip']").tooltip();
|
||||
endProgressBar();
|
||||
let d2 = new Date();
|
||||
let seconds = (d2 - d1);
|
||||
$("#peer_loading_time").html(`Peer Loading Time: ${seconds}ms`);
|
||||
}).fail(function(){
|
||||
noResponding();
|
||||
});
|
||||
|
2
src/static/js/configuration.min.js
vendored
2
src/static/js/configuration.min.js
vendored
File diff suppressed because one or more lines are too long
@ -11,7 +11,6 @@
|
||||
</div>
|
||||
</div>
|
||||
{% include "navbar.html" %}
|
||||
|
||||
<div class="container-fluid" id="right_body">
|
||||
{% include "sidebar.html" %}
|
||||
<div class="col-md-9 ml-sm-auto col-lg-10 px-md-4 mt-4 mb-4">
|
||||
@ -120,6 +119,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row peer_list"></div>
|
||||
<small id="peer_loading_time" class="text-muted"></small>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user