-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (94 loc) · 4.26 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html>
<head>
<title>Tic Tac Toe</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Do not add `link` tags-->
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<!-- Do not add `script` tags-->
<script src="public/vendor.js" type="text/javascript" charset="utf-8" defer></script>
<script src="public/application.js" type="text/javascript" charset="utf-8" defer></script>
</head>
<body class="text-center">
<div>
<h1>TIC TAC TOE</h1>
<h1 id="message"></h1>
<section>
<form class= "form-signin" id="sign-up-form">
<fieldset>
<legend>Sign Up</legend>
<!-- <label for="sign-up-email">Email</label><br> -->
<input class="form-control " id="sign-up-email" type="text" name ="credentials[email]" placeholder="Email"/>
<!-- <label for="sign-up-password">Password</label><br> -->
<input class="form-control "id="sign-up-password" type="password" name ="credentials[password]" placeholder="Password"/>
<!-- <label for="sign-up-password-confirmation">Confirm Password</label><br> -->
<input class="form-control "id="sign-up-password-confirmation" type="password" name ="credentials[password_confirmation]" placeholder="Confirm Password"/>
<br>
<br>
<button class="btn btn-lg btn-primary btn-block"type="submit" value="Submit">Sign Up</button>
</fieldset>
</form>
</section>
<section>
<form id="sign-in-form">
<fieldset>
<h1 class="h3 mb-3 font-weight-normal ">Please Sign in</h1>
<label for = "sign-in-email"></label>
<input class="form-control "id="sign-in-email" type = "text" name = "credentials[email]" placeholder="Email"/>
<input class="form-control " id="sign-in-password" type = "password" name ="credentials[password]" placeholder="Password"/>
<br>
<button class="btn btn-lg btn-primary btn-block" type = "submit" value = "Submit">Sign in</button>
<a href="" id = "sign-up-link">Sign Up</a> <br>
</fieldset>
</form>
<a href="" id ="change-password-link">Change Password</a>
</section>
<section>
<form id='change-password-form'>
<fieldset>
<legend>Change Password</legend>
<label for = "change-password-old">Old Password</label>
<input id="change-password-old" type="password" name="passwords[old]" placeholder="Old Password"/>
<br>
<label for="change-password-new">New Password</label>
<input id = "change-password-new" type="password" name="passwords[new]" placeholder="New Password">
<br>
<input type ="submit" value="Submit">
</fieldset>
</form>
</section>
<section>
<form id ="sign-out-form">
<button class="btn btn-lg btn-primary btn-block" type="submit" value = "Submit"> Sign Out</button>
</form>
</section>
<section>
<br>
<!-- -------------- -->
<button class="btn btn-sm btn-primary btn-block" id ="game-index">find #of this Game</button>
<h1 id = "number-display"> Number Display</h1>
<h2 id = "index-display"></h2>
</section>
<button class="btn btn-lg btn-primary btn-block" id ="game-create">Start New Game</button>
<form>
<label for="delete-game"></label>
<!-- <input id="delete-game" type="text" name=""> -->
<button id ="game-destory">Game Destory</button>
</form>
<button id ="game-show">Game Show</button>
</section>
<br>
<section id ="board">
<div id="0" class= "square-box"></div>
<div id="1" class= "square-box" ></div>
<div id="2" class= "square-box" ></div>
<div id="3" class= "square-box" ></div>
<div id="4" class= "square-box" ></div>
<div id="5" class= "square-box" ></div>
<div id="6" class= "square-box" ></div>
<div id="7" class= "square-box" ></div>
<div id="8" class= "square-box" ></div>
</section>
</div>
</body>
</html>