-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
executable file
·82 lines (75 loc) · 3.67 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
<html>
<!-- <meta http-equiv="Refresh" content="1"> -->
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<script src="javascript.js"></script>
<div id="wrapper">
</br></br>
<!-- <img src="images/stehtischtennis2.png" alt="wtt" id="avatar"> -->
<img src="images/wtt-bg-orange.jpg" alt="wtt" id="avatar">
<!-- <div class="header_text" id="matchtitle">HA | F</div> -->
<div class="header_text" id="gamepoint"></div>
<div class="header_text" id="score_text"></div>
<div class="header_text" id="game_text"></div>
<div class="player" id="top_player_color">
<!-- <img src="images/flags/china.png" width="65" /> -->
</div>
<div class="player" id="top_player">
<span style="text-transform:uppercase">Max <span class="bolded">Mustermann</span></span>
<!-- <div class="player" id="ttr">2045 TTR</div> -->
</div>
<div class="player" id="bottom_player_color">
<!-- <img src="images/flags/china.png" width="65" /> -->
</div>
<div class="player" id="bottom_player">
<span style="text-transform:uppercase">John <span class="bolded">Doe</span></span>
<!-- <span style="text-transform:uppercase">Kęstutis <span class="bolded">Žeimys</span></span> -->
<!-- <div class="player" id="ttr">1667 TTR</div> -->
</div>
<div class="game" id="top_game_score"><span>0</span></div>
<div class="game" id="bottom_game_score"><span>0</span></div>
<div class="score" id="top_score">0</div>
<div class="score" id="bottom_score">0</div>
<div class="serve_indicator" id="serve_indicator_top_player"></div>
<div class="serve_indicator" id="serve_indicator_bottom_player" style="display: none;"></div>
<div class="player" id="match_mode" style="display: none;">Best-of-5</div>
</div>
<div id="spacer"></div>
</br> </br> </br> </br> </br> </br>
<button id="top" onclick="topi()">top +</button>
<button id="topm" onclick="topm()">top -</button>
<button id="topr" onclick="topr()">top reset to 0</button>
</br>
</br>
<button id="bottom" onclick="bottomi()">bottom +</button>
<button id="bottomm" onclick="bottomm()">bottom -</button>
<button id="bottomr" onclick="bottomr()">bottom reset to 0</button>
</br>
</br>
<button id="nextgame" onclick="nextgame()">NEXT GAME</button>
<button id="resetall" onclick="resetall()">RESET ALL</button>
</br>
<button id="swapserve" onclick="swapserve(true)">SWAP SERVE</button>
<input id="file-input" type="file" name="name" style="display: none;" />
</br>
<form onChange="checkgameormatchpoint(); return">
<p>Game mode:</p>
<input type="radio" id="Best-of-2" name="gamemode" value="1">
<label for="Best-of-2">Best-of-2</label>
<input type="radio" id="Best-of-3" name="gamemode" value="2">
<label for="Best-of-3">Best-of-3</label><br>
<input type="radio" id="Best-of-5" name="gamemode" value="3" checked>
<label for="Best-of-5">Best-of-5</label>
<input type="radio" id="Best-of-7" name="gamemode" value="4">
<label for="Best-of-7">Best-of-7</label><br>
<input type="radio" id="Best-of-9" name="gamemode" value="5">
<label for="Best-of-9">Best-of-9</label><br>
</form>
</br>
<button id="toggle_header" onclick="toggle_header_text()">TOGGLE HEADER TEXT</button>
</br>
<button id="toggle_match_mode" onclick="toggle_match_mode_text()">TOGGLE MATCH MODE TEXT</button>
</body>
</html>