-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
executable file
·61 lines (56 loc) · 1.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
<!doctype html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Parts Selector</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.rawgit.com/mblode/marx/master/css/marx.min.css">
<link rel="stylesheet" href="parts-selector.css">
</head>
<body>
<main>
<h1>Parts Selector</h1>
<p>
The Parts Selector can be used to choose items from one list, then add to another.
</p>
<div class="parts-selector" id="parts-selector-1">
<div class="parts list">
<h3 class="list-heading">Available items</h3>
<ul>
<li>
Bolt
</li>
<li>
Nut
</li>
<li>
Screw
</li>
<li>
Washer
</li>
</ul>
</div>
<div class="controls">
<a class="moveto selected"><span class="icon"></span><span class="text">Add</span></a>
<a class="moveto parts"><span class="icon"></span><span class="text">Remove</span></a>
</div>
<div class="selected list">
<h3 class="list-heading">Chosen items</h3>
<ul>
</ul>
</div>
</div>
<a href="https://github.com/smth/parts-selector">Source code</a>
</main>
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="parts-selector.js"></script>
<script>
$(function() {
$( "#parts-selector-1" ).partsSelector();
});
</script>
</body>
</html>