51 lines
1.4 KiB
HTML
Executable File
51 lines
1.4 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>wsTool</title>
|
|
<link rel="stylesheet" href="../include/bootstrap/css/bootstrap.css">
|
|
<link rel="stylesheet" href="index.css">
|
|
</head>
|
|
<body>
|
|
<div id="header">
|
|
<h1 id="headline">
|
|
WebSocket Tool
|
|
</h1>
|
|
</div>
|
|
|
|
<!--Connect-->
|
|
<div class="form-control">
|
|
<div class="m-1">
|
|
<label class="form-label">IP-Adresse eingeben:</label>
|
|
</div>
|
|
<div class="row g-3">
|
|
|
|
<div class="col-auto">
|
|
<input class="form-control border-danger" type="text" name="" id="IpInputForm" value="ws://localhost:7300">
|
|
</div>
|
|
<div class="col-auto">
|
|
<button class="btn btn-primary mb-1" onclick="webSocketConnect()">Connect</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<br>
|
|
|
|
<!--Button-->
|
|
<div id="ButtonContainer" hidden>
|
|
<button class="btn btn-primary btn-lg" onclick="servicePortsInformationRequest()">Send <i>servicePortsInformationRequest</i></button>
|
|
</div>
|
|
<br>
|
|
|
|
<!--Liste-->
|
|
<div class="form-control" id="ListContainer" hidden>
|
|
<ul class="list-lvl1" id="ExerciseList" >
|
|
|
|
</ul>
|
|
</div>
|
|
|
|
<script src="../include/bootstrap/js/bootstrap.js"></script>
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html>
|