-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (100 loc) · 3.77 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Mars</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/Base64.js"></script>
<script src="js/Viewer.js"></script>
<script src="js/Ground.js"></script>
<script src="js/DiamondSquare.js"></script>
<script src="js/Map.js"></script>
<script src="js/Rover.js"></script>
<script src="js/Map.js"></script>
<script src="js/client.js"></script>
</head>
<body>
<header>
<h1>Mars</h1>
<button id="import" class="btn" type="button"><i class="icon-upload"></i> Importer</button>
<input id="upload" type="file">
<button id="download" class="btn" type="button"><i class="icon-download"></i> Télécharger</button>
</header>
<section id="settings">
<div class="btn-group">
<button id="generate" class="btn btn-primary" type="button">Générer</button>
<button id="btn_settings" class="btn" type="button"><i class="icon-plus"></i></button>
<button id="init" class="btn" type="button"><i class="icon-refresh"></i></button>
</div>
<div class="input-prepend">
<span class="add-on btn-primary"><i class="icon-th icon-white"></i></span>
<input class="span1" id="map_size" type="text" placeholder="Taille">
</div>
<div class="input-prepend">
<span class="add-on"><i class="icon-stop"></i></span>
<input class="span1" id="map_square" type="text" placeholder="px">
</div>
</section>
<section id="more">
<div class="input-group">
<div class="input-prepend">
<span class="add-on btn-primary">R</span>
<input class="span1" id="map_softness" type="text" placeholder="softness">
</div>
<div class="input-prepend">
<span class="add-on btn-primary">DS</span>
<input class="span1" id="map_noise" type="text" placeholder="noise">
</div>
<div class="input-prepend">
<span class="add-on btn-primary">Z</span>
<input class="span1" id="map_amplitude" type="text" placeholder="z"/>
</div>
<div class="input-prepend">
<span class="add-on"><i class="icon-plus"></i></span>
<input class="span1" id="map_lum_plus" type="text" placeholder="plus">
</div>
<div class="input-prepend">
<span class="add-on"><i class="icon-remove"></i></span>
<input class="span1" id="map_lum_coef" type="text" placeholder="coef">
</div>
</div>
</section>
<div id="canvas"></div>
<section id="rover">
<div class="input-append">
<input type="text" id="rover_energy" class="span1" placeholder="E"/>
<span class="add-on">E</span>
</div>
<span id="energy">a</span>
<div class="input-group">
<div class="input-append">
<input type="text" id="rover_start_x" class="span1" placeholder="Xa"/>
<span class="add-on">x<sup>1</sup></span>
</div>
<div class="input-append">
<input type="text" id="rover_start_y" class="span1" placeholder="Ya"/>
<span class="add-on">y<sup>1</sup></span>
</div>
</div>
<div class="input-group">
<div class="input-append">
<input type="text" id="rover_end_x" class="span1" placeholder="Xb"/>
<span class="add-on">x<sup>2</sup></span>
</div>
<div class="input-append">
<input type="text" id="rover_end_y" class="span1" placeholder="Yb"/>
<span class="add-on">y<sup>2</sup></span>
</div>
</div>
<div class="btn-group">
<button id="rover_init" class="btn" type="button"><i class="icon-backward"></i></button>
<button id="rover_stop" class="btn" type="button"><i class="icon-stop"></i></button>
<button id="rover_goto" class="btn btn-primary" type="button"><i class="icon-play icon-white"></i></button>
</div>
<div id="log"></div>
</section>
</body>
</html>