-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
115 lines (113 loc) · 2.94 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
<!doctype html>
<html>
<head>
<title>Canopy React Multi-select</title>
</head>
<body class='cps-app'>
<div class="cps-topnav">
<div class="cps-topnav__bar"></div>
<div class="cps-topnav__content" data-reactid=".0.0.1"><span class="cps-topnav__content__brand" data-reactid=".0.0.1.0"><img src="canopy-logotype.svg" alt="Company Logo" data-reactid=".0.0.1.0.0"></span>
<ul class="cps-topnav__content__menu">
<li><a href="https://github.com/CanopyTax/cpr-multiselect">Canopy React Multi-selector on Github</a></li>
</ul>
</div>
</div>
<div class="cps-nav-content +full">
<div class="cps-fixed-focus cps-card">
<div class="cps-card__header cps-subheader">
Canopy React Multi-Selector
</div>
<div class="cps-card__body" ng-controller="testController">
<div class="form-group">
<label>Assigned to</label>
<div id='cpMultiSelector'>
</div>
</div>
</div>
</div>
</div>
<link type="text/css" href="node_modules/canopy-styleguide/build/styleguide.css" rel="stylesheet">
<link type="text/css" href="src/multi-selector.css" rel="stylesheet">
<script type="text/javascript" src="node_modules/react/dist/react.min.js"></script>
<script type="text/javascript" src="node_modules/react-dom/dist/react-dom.min.js"></script>
<script type="text/javascript" src="node_modules/lodash/lodash.js"></script>
<script type="text/javascript" src="dist/cpr-multiselect.js"></script>
<script>
ReactDOM.render(
React.createElement(window.MultiSelector, {items: [
{
"lastName": "Seward",
"label": "Seward William",
"firstName": "William"
},
{
"lastName": "Montgomery",
"label": "Montgomery Bliar",
"firstName": "Blair"
},
{
"lastName": "Meriwether",
"label": "Lewis Meriwether",
"firstName": "Lewis"
},
{
"lastName": "Gregor",
"label": "Ewan Gregor",
"firstName": "Ewan"
},
{
"lastName": "Lala",
"label": "Chewy Lala",
"firstName": "Chewy"
},
{
"lastName": "Bop",
"label": "Mmmm Bop",
"firstName": "Mmmm"
},
{
"lastName": "Soop",
"label": "Gitsum Soop",
"firstName": "Gitsum"
},
{
"lastName": "Seward",
"label": "William Seward",
"firstName": "William"
},
{
"lastName": "Montgomery",
"label": "Blair Montgomery",
"firstName": "Blair"
},
{
"lastName": "Meriwether",
"label": "Lewis Meriwether",
"firstName": "Lewis"
},
{
"lastName": "Gregor",
"label": "Ewan Gregor",
"firstName": "Ewan"
},
{
"lastName": "Lala",
"label": "Chewy Lala",
"firstName": "Chewy"
},
{
"lastName": "Bop",
"label": "Mmmm Bop",
"firstName": "Mmmm"
},
{
"lastName": "Soopermcgeebeez",
"label": "Gitsumofthatdeliciousmhhmmm Soopermcgeebeez",
"firstName": "Gitsumofthatdeliciousmhhmmm"
},
]}),
document.getElementById('cpMultiSelector')
);
</script>
</body>
</html>