-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
73 lines (70 loc) · 2.68 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
<!DOCTYPE html>
<html>
<head>
<title>Nimbus Tetris</title>
<link rel="stylesheet" href="css/pure.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/notify.css">
<link rel="stylesheet" href="css/jquery-impromptu.css">
</head>
<body>
<div class="mask">
<div id="login">
<img src="img/tetris.png" style="position: relative; left: -45px; margin-bottom: 20px;" />
<a id="login_btn" class="pure-button blue_button">
Login to Play<br>
<span><text>2-player Tetris</text></span>
</a>
</div>
<div class="panel" style="display:none;">
<div class="profile">
<img id="user-avatar" class="avatar" src="https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/s128/photo.jpg" alt="" width="64px" height="64px">
<span>User</span>
</div>
<div class="list">
<ul class="scroll">
<li class="game"><a href="#">Game One</a></li>
</ul>
</div>
</div>
</div>
<div class="pure-g-r">
<div id="top_bar" class="pure-u-1">
<div class="logo">
<img src="img/tetris.png" style="height: 40px; margin-top: 13px" />
</div>
<div class="btns">
<input type="email" id="invite_email" placeholder="Type in google account">
<a id="invite" class="pure-button">Invite Friends</a>
<a id="choose_file" class="pure-button">Choose File</a>
<a id="new_game" class="pure-button">New Game</a>
<a id="logout" class="pure-button">Logout</a>
</div>
</div>
<div id="game">
<p class="controls">
<a class="restart pure-button" id="restart">Restart</a>
<a class="pause pure-button" id="pause">Pause</a>
</p>
<ul class="players pure-g-r">
<li class="player player1 pure-u-1-2">
<div class="hide log"></div>
<p><img id="avatar0" class="avatar" src="https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/s128/photo.jpg" alt="" width="32px" height="32px"> <span class="player_name0">Player 1</span></p>
<canvas id="canvas0" width="250" height="500"></canvas>
</li>
<li class="player pure-u-1-2">
<div class="hide log"></div>
<p><img id="avatar1" class="avatar" src="https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/s128/photo.jpg" alt="" width="32px" height="32px"> <span class="player_name1">Player 2</span></p>
<canvas id="canvas1" width="250" height="500"></canvas>
</li>
</ul>
</div>
</div>
<div class="avgrund-overlay"></div>
<script src="js/jquery.min.js"></script>
<script src="js/jquery-impromptu.js"></script>
<script src="js/tetris.js"></script>
<script src="js/all.js"></script>
<script src="js/init.js"></script><script src="js/ios.notify.js"></script>
</body>
</html>