-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
57 lines (53 loc) · 1.77 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!doctype html>
<html>
<head>
<title>AlphaSnake -- Game for everyone</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no,minimal-ui">
<meta name="browsermode" content="application">
<meta name="x5-page-mode" content="app">
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
<link rel="stylesheet" href="./index.css">
</head>
<body>
<div class="hiddentitle">
<h1>AlphaSnake </h1>
- Created by Geek Pie @ Shanghaitech
</div>
<div class="container inactive">
<div id="nameContainer" class="row">
<div id="name"></div>
<div id="name_edit">
<input type="text" class="form-control" id="nameEdit" placeholder="Enter your name">
</div>
<div id="name_button">
<span class="glyphicon glyphicon-edit" onclick=onchangeEdit()></span>
</div>
</div>
<div id="messagesContainer" class="row">
<div id="messages" class="col-xs-12">
</div>
</div>
<div class="row control">
<div class="col-xs-12">
<form action="" id="sendForm">
<div class="input-group">
<input type="text" class="form-control" id="content" autocomplete="off" />
<span class="input-group-btn">
<button class="btn btn-default" type="submit">SEND</button>
</span>
</div>
</form>
</div>
</div>
</div>
<!-- <ul id="messages"></ul>
<form action="">
<input id="m" autocomplete="off" /><button>Send</button>
</form>
-->
<script src="/socket.io/socket.io.js"></script>
<script src="https://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="./AlphaSnake.js"></script>
</body>
</html>