-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathviewer.html
More file actions
74 lines (74 loc) · 2.42 KB
/
Copy pathviewer.html
File metadata and controls
74 lines (74 loc) · 2.42 KB
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SamurAI Jockey 2018 Race Viewer</title>
<script src="viewer.js"></script>
<link rel="stylesheet" type="text/css" href="viewer.css">
</head>
<body onresize="bodyResized()">
<div id="buttons">
<button id="load" onclick="document.getElementById('fileInput').click();"
title="Load Log File">
Load</button>
<input type="file" style="display:none" id="fileInput"
onchange="loadFile(event)">
<button id="rewind" onclick="rewind(event)" title="Rewind">
<<</button>
<button id="back" onclick="stepBackward(event)" title="Step Backward">
<</button>
<button id="startStop" onclick="startStop(event)"
title="Start/Stop">
Start</button>
<button id="forward" onclick="stepForward(event)" title="Step Forward">
></button>
<input type="range" onchange="setPlaybackSpeed(this.value)"
id="speedSlider"
title="Change Play Speed"
step="1" min="-100" max="100" value="0">
<span class="textInButtons" onclick="setDefaultSpeed()">
<span id="stepsPerMin">120</span>
/min
</span>
 
<img id="zoomIn" width="20px" src="icons/zoom_in.png" onclick="zoom(+1)"
title="zoom in">
<img id="zoomOut" width="20" src="icons/zoom_out.png" onclick="zoom(-1)"
title="zoom out">
 
<span class="textInButtons">
Show:
</span>
<select id="visionOption" name="option" onchange="changeViewOption(this)"
title="View Range Option">
<option value="ahead">ahead</option>
<option value="visible">visible</option>
<option value="+3">+3</option>
<option value="follower">follower</option>
</select>
<button id="help" onclick="location.href='help-jp.html'"
title="Show Manual">
Help</button>
</div>
<div id="raceState" style='margin-top:5px'>
<img src='icons/clock.png' alt='clock: ' width='20px' height='20px'
style='margin-bottom:-4pt'/>
<span id='stepNumber' style="color: black" title="Step Number">0</span>
 
<span class='player0'>
<span id='name0'></span>
<span id='position0'></span>
</span>
 
<span class='player1'>
<span id='name1'></span>
<span id='position1'></span>
</span>
</div>
<div id="courseDiv">
</div>
<script>
addKbdControl();
</script>
</body>
</html>