-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
129 lines (88 loc) · 4.71 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
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dear 15Puzzle</title>
<!-- COMMON LIBRARIES -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <!-- need this for arrow Glyphicon to display correctly -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script
src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"
integrity="sha256-T0Vest3yCU7pafRw9r+settMBX6JkKN06dqBnpQ8d30="
crossorigin="anonymous"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- Use mobile-aware viewport -->
<meta name="viewport" content= "width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- ICONS LIBRARY -->
<script src="https://use.fontawesome.com/9f03d0cffe.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.css" integrity="sha256-D3+gw6JE4hEJ9pnCs+BglSfZ2yG5gF+JGdPJ/v183fo=" crossorigin="anonymous" />
<!-- CSS -->
<link href="https://fonts.googleapis.com/css?family=EB+Garamond" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Nobile" rel="stylesheet">
<!-- MAIN CSS FILE-->
<link rel="stylesheet" href="main.css">
<script src="main.js"> </script>
</head>
<body>
<div id="container">
<div id="left">
<div id="innerleft">
<div class="input-group input-group-lg" style="margin: 10px auto;" >
<span class="input-group-addon" id="basic-addon1"><i>Level/Size</i></span>
<input id="gotext" type="text" class="form-control" placeholder="2=easy" aria-describedby="basic-addon1">
<span class="input-group-btn">
<button id='go' class="btn btn-info" type="button">Go! </button>
</span>
</div>
<button type="button" class="btn btn-success btn-lg btn-block" style="margin-bottom: 10px;" id="C">New <u>C</u>onfiguration</button>
<button id="R" type="button" class="btn btn-warning btn-lg btn-block" style="margin: 10px auto;" ><u>R</u>eset Configuration</button>
<div id='complete'> </div>
<div class="foot">
To use your own image, please resized it to (400px)x(400px).
Tool suggestion: <a style='color: white' href='http://www.simpleimageresizer.com/' target='_blank'>simpleimageresizer.com</a>
</div>
</div>
</div>
<div id='center'>
<div id='innercenter'>
<div id="board"> <!-- BOARD WITH 16 4x4 cells--> </div>
<div>
<span class="label label-default" id="status">Keep sliding. . .</span>
</div>
</div>
</div>
<div id="right">
<div id="innerright">
<form>
<div class='between' >
<input type="radio" name="img" id="own" value="own" disabled>
<span id="previewown"></span>
<div style="margin: auto; width: 70%; padding-bottom: 10px;">
<span style="color: #5bc0de;"><b> USE YOUR OWN IMAGE</b> </span>
<input type="file" id="choosefile">
</div>
</div>
<div class='between' id="previewmotor">
<input id='fakeclick' checked type="radio" name="img" value="motor">
<img class='center' src="motor.jpg">
</div>
<div class='between' id="previewkiss">
<input type="radio" name="img" value="kiss">
<img class='center' src="kiss.jpg">
</div>
<div class='between' id="previewlion">
<input type="radio" name="img" value="lion">
<img class='center' src="lion.jpg">
</div>
</form>
</div>
</div>
</div>
<audio src='sliding.wav' id='sliding' >
<audio src='won.wav' id='won' >
</body>