-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.html
221 lines (175 loc) · 7.47 KB
/
template.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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
#sidebar{
background-color: #8B8E8F;
}
#sidebar .container{
/*margin: 20px;*/
padding: 20px;
}
.step{
margin-top: 50px;
/*text-align: center;
font-size: 150%;
padding: 2% 2% 2% 2%;*/
}
.overlay {
float: left;
width: 250px;
margin: 1em 0em 0em 1em;
}
</style>
<title>Reversi</title>
<!-- <link rel="stylesheet" href="css/style.css"> -->
<!-- <link rel="author" href="humans.txt"> -->
<link rel="stylesheet" type="text/css" href="/semantic/dist/semantic.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="/semantic/dist/semantic.min.js"></script>
<script src="/main.js"></script>
</head>
<body>
<div id='sidebar' class="ui left sidebar visible">
<div class="ui container">
<div class="ui segment step" id="step1">
<h3 class="ui header">1) Load data</h3>
<p class="ui">Choose an example</p>
<p>
<div class="ui buttons tiny">
<button class="ui button" id='example_1'>Ex. 1</button>
</div>
</p>
<p class="ui">or import you data</p>
<p>
<div class="tiny ui labeled icon button" id="divUpload1">
<i class="upload icon"></i>
Import relations by CSV
</div>
<input type="file" id="new-file1" style="display: none">
</p>
<p>
<div class="tiny ui labeled icon button" id="divUpload2">
<i class="upload icon"></i>
Import classes by CSV <sup>*</sup>
</div>
<input type="file" id="new-file2" style="display: none">
</p>
</div> <!--FIN step1 -->
<div class="ui segment step" id="step2">
<h3 class="ui header">2) Organize disposition</h3>
<p class="ui">Select your grid form</p>
<p>
<div class="ui buttons tiny">
<button class="ui button" id='hexagon'><i class="cubes icon"></i></button>
<button class="ui button" id='square'><i class="square icon"></i></button>
</div>
</p>
<p class="ui">Type grid size</p>
<p>
<div class="ui input mini">
<input type="text" id='size' />
</div>
</p>
<p class="ui">Select initial disposition</p>
<p>
<div class="ui buttons tiny">
<button class="ui button" id='inline'><i class="circle icon"></i></button>
<button class="ui button" id='center'><i class="circle icon"></i></button>
<button class="ui button" id='border'><i class="circle horizontal icon"></i></button>
</div>
</p>
<p>
<div class="ui checkbox">
<input type="checkbox" name="random" id='random'>
<label>Random</label>
</div>
</p>
</div> <!--FIN step2 -->
<div class="ui segment step" id="step3">
<h3 class="ui header">3) Create disposition</h3>
<p>
<button class="ui primary button tiny" id='cast'>Cast disposition</button>
</p>
</div> <!--FIN step3 -->
<div class="step">
<p class="ui"><sup>*</sup> Optional data</p>
</div>
</div> <!--FIN container -->
</div> <!--FIN sidebar -->
<div class="pusher">
<div class="ui container">
</div>
<div class="overlay" style="">
<div class="ui labeled icon vertical menu">
<a class="item">
<h3 class="ui header">Toolbox</h3>
</a>
<a class="item">
<p>Algorithms</p>
<div class="ui buttons tiny">
<button class="ui button">1</button>
<button class="ui button">2</button>
</div>
</a>
<a class="item">
<p>Manipulation</p>
<p>
<div class="ui buttons tiny">
<button class="ui button">Stick an element in</button>
</div>
</p>
<p>
<div class="ui buttons tiny">
<button class="ui button">Swap two elements</button>
</div>
</p>
<p>
<div class="ui buttons tiny">
<button class="ui button">Color of blue</button>
</div>
</p>
<p>
<div class="ui buttons tiny">
<button class="ui button">Color of green</button>
</div>
</p>
<p>
<div class="ui buttons tiny">
<button class="ui button">Color of red</button>
</div>
</p>
<p>
<div class="ui buttons tiny">
<button class="ui button">Color of violet</button>
</div>
</p>
</a>
<a class="item">
<p>Temperature</p>
<input id="temperature" type="range" min="0" max="1" step="0.01" value="0" style="width: 80%;">
</a>
<a class="item">
<p>Controls</p>
<p>
<div class="tiny ui buttons">
<button class="ui labeled icon button">
<i class="pause icon"></i>
Pause
</button>
<div class="or" data-text=""></div>
<button class="ui right labeled primary icon button">
<i class="play icon"></i>
Play
</button>
</div>
</p>
</a>
</div>
</div>
</div>
</body>
</html>