This repository has been archived by the owner on Apr 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·199 lines (183 loc) · 8.03 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Robot Turtles</title>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-green.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="style.css">
<script src="jquery-3.4.1.min.js"></script>
<script src="script.js"></script>
<script src="login.js"></script>
</head>
<body class="w3-animate-opacity" id="mainPageBody">
<div id="logoBar" class="w3-container w3-theme-l1">
<button class="w3-button w3-hide-medium w3-hide-large" id="hamburger">
☰
</button>
<a href="index.html">
<img src="images/logo.png" id="logo" alt="logo RobotTurtles" height="50px">
</a>
</div>
</div>
<div class="w3-bar w3-theme-l1 w3-hide-small menu">
<a href="play.html" class="w3-bar-item w3-button">
<i class="menuIcon material-icons">games</i> <br>
Play
</a>
<a href="Howto.html" class="w3-bar-item w3-button">
<i class="material-icons menuIcon">help</i> <br>
How to
</a>
<a href="About_us.html" class="w3-bar-item w3-button">
<i class="material-icons menuIcon">supervised_user_circle</i> <br>
About us
</a>
<a href="Community.html" class="w3-bar-item w3-button">
<i class="material-icons menuIcon">share</i> <br>
Community
</a>
<div class="w3-dropdown-hover w3-right">
<button class="w3-button" id="userButton">
<i class="material-icons w3-hide-small" id="userIcon">person</i>
</button>
<div class="w3-dropdown-content w3-bar-block w3-card-4" id="dropdownContent">
<p class="w3-hide-small welcomeMessage">You're not logged in.</p>
<button id="openLogin" class="w3-button w3-bar-item">Log in</button>
<button id="openProfile" class="w3-button w3-bar-item w3-hide">Profile</button>
<button id="logoutButton" class="w3-button w3-bar-item w3-hide">Log out</button>
<button id="openRegister" class="w3-button w3-bar-item">Register</button>
</div>
</div>
</div>
</div>
<!-- MENU FOR MOBILE DEVICES -->
<div id="menuLateral" class="w3-sidebar w3-bar-block w3-theme-l1 w3-hide-medium w3-hide-large">
<a href="play.html" class="w3-bar-item w3-button">
<i class="material-icons">games</i>
Play
</a>
<a href="Howto.html" class="w3-bar-item w3-button">
<i class="material-icons">help</i>
How to
</a>
<a href="About_us.html" class="w3-bar-item w3-button">
<i class="material-icons">supervised_user_circle</i>
About us
</a>
<a href="Community.html" class="w3-bar-item w3-button">
<i class="material-icons menuIcon">share</i> <br>
Community
</a>
<hr>
<p class="welcomeMessage">You are not logged in.</p>
<button id="openLoginMobile" class="w3-bar-item w3-button">
<i class="material-icons">lock_open</i>
Log in
</button>
<button id="openProfileMobile" class="w3-bar-item w3-button w3-hide">
<i class="material-icons">person</i>
Profile
</button>
<button id="logoutButtonMobile" class="w3-bar-item w3-button w3-hide">
<i class="material-icons">lock</i>
Log out
</button>
<button id="openRegisterMobile" class="w3-bar-item w3-button">
<i class="material-icons">person_add</i>
Register
</button>
</div>
<!-- PAGE CONTENT STARTS HERE -->
<div class="w3-container mainContainer">
<div class="w3-card w3-white" id="mainPageCard">
<div class="w3-panel" id="cardContent">
<h3>Learn code in a fun way!</h3>
<p>Robot Turtles teaches you the basics of programming in a fun and colorful game.</p>
<a href="play.html"><button class="w3-button w3-theme-l1">Play now</button></a>
</div>
</div>
</div>
<!-- PAGE CONTENT ENDS HERE -->
<!-- FOOTER: -->
<div class="w3-container w3-center w3-theme-l1 footer">
© 2019 - Robot Turtles
</div>
<!-- LOGIN MODAL -->
<div id="loginModal" class="w3-modal">
<div class="w3-modal-content">
<header class="w3-container w3-theme-l1">
<span class="w3-button w3-display-topright" id="closeLogin">×</span>
<h2>Login</h2>
</header>
<div class="w3-container">
<form>
<div class="w3-section">
<label>Username
<input id="loginUser" class="w3-input w3-border w3-margin-bottom" type="text" placeholder="Username">
</label>
<label> Password
<input id="loginPassword" class="w3-input w3-border w3-margin-bottom" type="password" placeholder="Password">
</label>
<button id="loginButton" class="w3-theme-l1 w3-btn-block w3-section w3-padding">Log in</button>
</div>
</form>
</div>
</div>
</div>
<!-- REGISTER MODAL -->
<div id="registerModal" class="w3-modal">
<div class="w3-modal-content">
<header class="w3-container w3-theme-l1">
<span id="closeRegister" class="w3-button w3-display-topright">×</span>
<h2>Register</h2>
</header>
<div class="w3-container">
<form id="registerForm">
<div class="w3-section">
<label>Username
<input id="userName" class="w3-input w3-border w3-margin-bottom" type="text" placeholder="Enter your family username">
</label>
<label>Password
<input id="password" class="w3-input w3-border w3-margin-bottom" type="password" placeholder="Enter Password">
</label>
<label>Confirm Password
<input id="confirmPassword" class="w3-input w3-border w3-margin-bottom" type="password" placeholder="Enter Password">
</label>
<h5>Player 1</h5>
<label> Name
<input class="w3-input w3-border w3-margin-bottom" id="player1Name" type="text" placeholder="Enter username">
</label>
<label> Date of Birth
<input class="w3-input w3-border w3-margin-bottom" id="player1Birth" class="w3-input w3-border w3-margin-bottom" type="date">
</label>
<h5>Player 2</h5>
<label> Name
<input class="w3-input w3-border w3-margin-bottom" id="player2Name" type="text" placeholder="Enter username">
</label>
<label> Date of Birth
<input class="w3-input w3-border w3-margin-bottom" id="player2Birth" class="w3-input w3-border w3-margin-bottom" type="date">
</label>
<h5>Player 3</h5>
<label> Name
<input class="w3-input w3-border w3-margin-bottom" id="player3Name" type="text" placeholder="Enter username">
</label>
<label> Date of Birth
<input class="w3-input w3-border w3-margin-bottom" id="player3Birth" class="w3-input w3-border w3-margin-bottom" type="date">
</label>
<h5>Player 4</h5>
<label> Name
<input class="w3-input w3-border w3-margin-bottom" id="player4Name" type="text" placeholder="Enter username">
</label>
<label> Date of Birth
<input class="w3-input w3-border w3-margin-bottom" id="player4Birth" class="w3-input w3-border w3-margin-bottom" type="date">
</label>
<button id="registerButton" class="w3-theme-l1 w3-btn-block w3-section w3-padding">Register</button>
</div>
</form>
</div>
</div>
</div>
</body>
</html>