-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·93 lines (79 loc) · 2.65 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>PictureTiles</title>
<link rel="stylesheet" href="PictureTiles.css">
<link rel="stylesheet" href="css/bootstrap.css">
</head>
<body>
<div class="header">
<h1>PicsAPuzzle</h1>
<p>Interactive picture puzzle - Drag n Drop tiles to fx the picture</p>
<!--Place the tile Divs here 4 * 4 -->
</div>
<div class="toolbar form-inline">
<div class="input-append">
<span class="add-on">ImageURL</span>
<input id="urlInput" type="text" placeholder="Enter Image Url Here" type="text">
</div>
<div class="input-append">
<span class="add-on">GridSize</span>
<select id="gridSelect" class="input-mini">
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
</div>
<button id="createButton" type="submit" class="btn-success">Create</button>
</div>
<div id="container" class="board">
<div id="columns">
</div>
<div class="footer">
<h6><a href="http://www.chmcguir.wordpress.com">www.chmcguir.wordpress.com</a></h6>
</div>
</div>
<div class="soln">
<button class="btn-success" href="#myModal" data-toggle="modal">Show Solution</button>
</div>
<div class="modal hide fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">�</button>
<h3 id="myModalLabel">Solution</h3>
</div>
<div class="modal-body">
<img id="solutionImg" src="img/solution.jpg"></img>
</div>
<div class="modal-footer">
<button class="btn btn-danger" data-dismiss="modal" aria-hidden="true">Close</button>
</div>
</div>
<!-- Completed Modal -->
<div class="modal hide fade" id="endModal" role="dialog" style="margin-top:50px;" tabindex="-1" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<h3 id="myModalLabel">Puzzle Complete!</h3>
</div>
<div class="modal-body">
<h5>Well Done it took you:</h5>
<h3 id='noMoves'> 8 Moves !!</h3>
</div>
<div class="modal-footer">
<a href="Game.html" class="btn btn-danger" id="closeFinal">Reset</a>
</div>
</div>
</div>
<script type="application/dart" src="Game.dart"></script>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script src="packages/browser/dart.js"></script>
</body>
</html>