39 lines
1.3 KiB
HTML
39 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Demo for RESTful Service for Comparison to WebSocket</title>
|
|
<link href="/webjars/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
<script src="/webjars/jquery/jquery.min.js"></script>
|
|
<script src="/webjars/sockjs-client/sockjs.min.js"></script>
|
|
<script src="/webjars/stomp-websocket/stomp.min.js"></script>
|
|
<script src="/rest.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="main-content" class="container">
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<form class="form-inline">
|
|
<div class="form-group">
|
|
<label for="name">Name: </label>
|
|
<input type="text" id="name" class="form-control" placeholder="Please enter yout name">
|
|
</div>
|
|
<button id="send" class="btn btn-default" type="submit">Send</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<table id="conversation" class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Greetings</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="greetings">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |