X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=src%2Fviews%2Fstarter.ejs;h=01aca3a536c7c07d53bd5f840ad20abc799ad5d9;hb=777f2058e203bedb244f5a0ee779f6d5177a334f;hp=01b83278f1dd3d2eb4a99485b82be695da6886a8;hpb=62e801ff36b720eeb0851695ed7c6a8f9bfc0fa4;p=VSoRC%2F.git diff --git a/src/views/starter.ejs b/src/views/starter.ejs index 01b8327..01aca3a 100644 --- a/src/views/starter.ejs +++ b/src/views/starter.ejs @@ -5,77 +5,92 @@ <%include ../../partials/head%> - + + + + + + + + + +
<%include ../../partials/header%> +
-
- - - - +
+ +
+ +
+ + + + +
+
+ +
+ +
+ + + + + + + +
+
+
- + +
+ +
+ +
+
+ +
+
+ -
- + + } + } + xhr.send(); + + vsorcout.scrollTop = vsorcout.scrollHeight; + } + function pingall() { + let xhr = new XMLHttpRequest(); + xhr.open('GET', '/pingall', true); + xhr.onload = function() { + if (xhr.status == 200) { //can use this.status instead + //console.log(xhr.responseText);// para ver en la consola + vsorcout.value+=xhr.response; + console.log("pingall"); + + + } + } + xhr.send(); + } + + function iperf() { + let xhr = new XMLHttpRequest(); + xhr.open('GET', '/iperf', true); + xhr.onload = function() { + if (xhr.status == 200) { //can use this.status instead + //console.log(xhr.responseText);// para ver en la consola + vsorcout.value+=xhr.response; + console.log("pingall"); + + + } + } + xhr.send(); + } + function placement() { + let xhr = new XMLHttpRequest(); + xhr.open('GET', '/placement', true); + xhr.onload = function() { + if (xhr.status == 200) { //can use this.status instead + //console.log(xhr.responseText);// para ver en la consola + vsorcout.value+=xhr.response; + console.log("placement"); + + + } + } + xhr.send(); + } + + function net() { + let xhr = new XMLHttpRequest(); + xhr.open('GET', '/net', true); + xhr.onload = function() { + if (xhr.status == 200) { //can use this.status instead + //console.log(xhr.responseText);// para ver en la consola + vsorcout.value+=xhr.response; + console.log("net"); + + + } + } + xhr.send(); + } + + function nodes() { + let xhr = new XMLHttpRequest(); + xhr.open('GET', '/nodes', true); + xhr.onload = function() { + if (xhr.status == 200) { //can use this.status instead + //console.log(xhr.responseText);// para ver en la consola + vsorcout.value+=xhr.response; + console.log("nodes"); + + + } + } + xhr.send(); + } + + function status() { + let xhr = new XMLHttpRequest(); + xhr.open('GET', '/statusnodes', true); + xhr.onload = function() { + if (xhr.status == 200) { //can use this.status instead + //console.log(xhr.responseText);// para ver en la consola + vsorcout.value+=xhr.response; + console.log("placement"); + + + } + } + xhr.send(); + } + + function intfs() { + let xhr = new XMLHttpRequest(); + xhr.open('GET', '/intfs', true); + xhr.onload = function() { + if (xhr.status == 200) { //can use this.status instead + //console.log(xhr.responseText);// para ver en la consola + vsorcout.value+=xhr.response; + console.log("placement"); + + + } + } + xhr.send(); + } + + + - \ No newline at end of file +