first commit

This commit is contained in:
2024-04-19 14:04:41 +07:00
commit 014283036f
7282 changed files with 1324127 additions and 0 deletions
@@ -0,0 +1,38 @@
class JSPMStatus extends React.Component {
render() {
let jspm_status;
if (this.props.JSPM_WS_Status == "Open")
jspm_status = (
<span className="badge badge-success">
<i className="fa fa-check" /> Open
</span>
);
else if (this.props.JSPM_WS_Status == "Closed")
jspm_status = (
<span className="badge badge-danger">
<i className="fa fa-exclamation-circle" /> Closed!
</span>
);
else if (this.props.JSPM_WS_Status == "BlackListed")
jspm_status = (
<span className="badge badge-warning">
<i className="fa fa-times-circle" /> This Website is Black
Listed!
</span>
);
else
jspm_status = (
<span className="badge badge-warning">
<i className="fa fa-user-circle" /> Waiting for user response...
</span>
);
return (
<span className="jspmStatus">
<strong>JSPM</strong> WebSocket Status {jspm_status}
</span>
);
}
}
window.JSPMStatus = JSPMStatus;