.
This commit is contained in:
@@ -1182,4 +1182,8 @@ select option:disabled {
|
|||||||
opacity: 30%;
|
opacity: 30%;
|
||||||
margin-left: -2em;
|
margin-left: -2em;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
.invalid-login {
|
||||||
|
color: red;
|
||||||
}
|
}
|
||||||
+3
-2
@@ -143,7 +143,8 @@ async function retrievePacketList() {
|
|||||||
console.log(httpObj);
|
console.log(httpObj);
|
||||||
if (httpObj.status == 401 || httpObj.status == 404) {
|
if (httpObj.status == 401 || httpObj.status == 404) {
|
||||||
$.notify("Unable to login", "error");
|
$.notify("Unable to login", "error");
|
||||||
$("#options-panel").show()
|
$("#options-panel").show();
|
||||||
|
$("#candidate-details").addClass("invalid-login");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
@@ -452,7 +453,7 @@ async function loadPacketList(data) {
|
|||||||
$("#packet-list").empty();
|
$("#packet-list").empty();
|
||||||
|
|
||||||
if (packet_json_id == undefined) {
|
if (packet_json_id == undefined) {
|
||||||
$("#options-panel").toggle();
|
$("#options-panel").show();
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
//console.log(packet_list)
|
//console.log(packet_list)
|
||||||
|
|||||||
Reference in New Issue
Block a user