Style adjustment

Adjusted style and the status light: Added box-shadow and border for connected peer
This commit is contained in:
Donald Cheng Hong Zou
2021-12-24 00:20:44 -05:00
parent dade9935da
commit 5c588ea01a
4 changed files with 73 additions and 21 deletions

View File

@@ -1122,9 +1122,7 @@ Dashboard Tools Related
def get_ping_ip():
config = request.form['config']
sem.acquire()
db = TinyDB('db/' + config_name + '.json')
db = TinyDB('db/' + config + '.json')
html = ""
for i in db.all():
html += '<optgroup label="' + i['name'] + ' - ' + i['id'] + '">'
@@ -1158,8 +1156,6 @@ def ping_ip():
}
if returnjson['package_loss'] == 1.0:
returnjson['package_loss'] = returnjson['package_sent']
return jsonify(returnjson)
except Exception:
return "Error"