|
|
|
@ -308,11 +308,13 @@ function DisplayLokinetConfig()
|
|
|
|
|
const data = await response.json();
|
|
|
|
|
for (var i = 0; i < data['exits'].length; i++) {
|
|
|
|
|
if (data['exits'][i]['exit'] == selection) {
|
|
|
|
|
const { exit, auth, geo } = data['exits'][i];
|
|
|
|
|
const { exit, auth, geo, rate } = data['exits'][i];
|
|
|
|
|
console.log('Exit name : ' + exit);
|
|
|
|
|
console.log('Exit token : '+ auth);
|
|
|
|
|
console.log('Exit location : ' + geo);
|
|
|
|
|
console.log('Exit rate : ' + rate);
|
|
|
|
|
console.log('Dropdown selection : ' + selection);
|
|
|
|
|
alert('EXIT NODE INFORMATION\r\rExit Address : ' + exit + '\rExit Location : ' + geo + '\rExit Autorization Key : ' + auth + '\rMonthly Rate : ' + rate);
|
|
|
|
|
document.getElementById("auth").value = auth;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
@ -323,8 +325,8 @@ function DisplayLokinetConfig()
|
|
|
|
|
|
|
|
|
|
<label for="exitkey">Exit Key: (optional)</label>
|
|
|
|
|
<input type="text" class="form-control" id="auth" placeholder="optional exit authorization key" id="exitkey" name="exitkey">
|
|
|
|
|
</datalist>
|
|
|
|
|
<br/>
|
|
|
|
|
<input type="reset" class="btn btn-default" value="Clear">
|
|
|
|
|
<?php
|
|
|
|
|
if ($exitstatus != "no exits") {
|
|
|
|
|
echo '<input type="submit" class="btn btn-danger" name="StopExit" value="Stop Exit" />', PHP_EOL;
|
|
|
|
|