mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 15:20: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
|
pip install pylint
|
||||||
- name: Analysing the code with pylint
|
- name: Analysing the code with pylint
|
||||||
run: |
|
run: |
|
||||||
pylint `ls ../../src -R|grep .py$|xargs`
|
# pylint `ls ../../src -R|grep .py$|xargs`
|
||||||
|
ls
|
||||||
|
@ -340,6 +340,7 @@
|
|||||||
*/
|
*/
|
||||||
function loadPeers(searchString){
|
function loadPeers(searchString){
|
||||||
startProgressBar();
|
startProgressBar();
|
||||||
|
let d1 = new Date();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
method: "GET",
|
method: "GET",
|
||||||
url: `/get_config/${conf_name}?search=${encodeURIComponent(searchString)}`,
|
url: `/get_config/${conf_name}?search=${encodeURIComponent(searchString)}`,
|
||||||
@ -354,6 +355,9 @@
|
|||||||
$(".dot.dot-stopped").attr("title","Peer Disconnected").tooltip();
|
$(".dot.dot-stopped").attr("title","Peer Disconnected").tooltip();
|
||||||
$("i[data-toggle='tooltip']").tooltip();
|
$("i[data-toggle='tooltip']").tooltip();
|
||||||
endProgressBar();
|
endProgressBar();
|
||||||
|
let d2 = new Date();
|
||||||
|
let seconds = (d2 - d1);
|
||||||
|
$("#peer_loading_time").html(`Peer Loading Time: ${seconds}ms`);
|
||||||
}).fail(function(){
|
}).fail(function(){
|
||||||
noResponding();
|
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>
|
||||||
</div>
|
</div>
|
||||||
{% include "navbar.html" %}
|
{% include "navbar.html" %}
|
||||||
|
|
||||||
<div class="container-fluid" id="right_body">
|
<div class="container-fluid" id="right_body">
|
||||||
{% include "sidebar.html" %}
|
{% include "sidebar.html" %}
|
||||||
<div class="col-md-9 ml-sm-auto col-lg-10 px-md-4 mt-4 mb-4">
|
<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>
|
</div>
|
||||||
<div class="row peer_list"></div>
|
<div class="row peer_list"></div>
|
||||||
|
<small id="peer_loading_time" class="text-muted"></small>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user