chatroom
This commit is contained in:
37
examples/chatroom/frontend/public/index.html
Normal file
37
examples/chatroom/frontend/public/index.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>TSRPC Browser</title>
|
||||
<link rel="stylesheet" href="index.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>TSRPC Chatroom</h1>
|
||||
|
||||
<div class="app">
|
||||
<div class="chat-room">
|
||||
<header>Client #1</header>
|
||||
|
||||
<ul class="list"></ul>
|
||||
<div class="send">
|
||||
<input placeholder="Say something..." />
|
||||
<button>Send</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="chat-room">
|
||||
<header>Client #2</header>
|
||||
<ul class="list"></ul>
|
||||
<div class="send">
|
||||
<input placeholder="Say something..." />
|
||||
<button>Send</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user