-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (69 loc) · 3.05 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
<html>
<head>
<title>Network public plugin</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
<!-- Polyfill(s) for older browsers -->
<script src="node_modules/core-js/client/shim.min.js"></script>
<script src="node_modules/zone.js/dist/zone.js"></script>
<script src="node_modules/reflect-metadata/Reflect.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script src="node_modules/underscore/underscore-min.js"></script>
<script src="systemjs.config.js"></script>
<script>
System.import('app')
.then(function (m) {
var options = {
getListsUrl: '/getList',
createRequestUrl: '/createRequest',
acceptRequestUrl: '/acceptRequest',
rejectRequestUrl: '/rejectRequest',
mockAJAX: true,
searchField: 'fname',
filters:[
{
label: 'Language',
field: 'language',
values: [
{label: 'Ukraine', key: 'ua-ua'},
{label: 'Canada', key: 'ca-fr'}
],
value: 'ca-fr'
},
{
label: 'Area of expertise',
field: 'area_of_expertise',
values: [
{label: 'Relax', key: 'relax'},
{label: 'Golf', key: 'golf'},
{label: 'Rock', key: 'rock'},
{label: 'Diving', key: 'diving'},
{label: 'Dream', key: 'dream'},
{label: 'Movie', key: 'movie'}
],
value: ['dream', 'movie'],
multiLogic: 'or'
}
],
translations:[
{code: 'accept', value: 'ACCEPT'}
],
participantId: 10,
participantsPerPage: 10,
participantsSortBy: 'fname',
participantsSortDesc: false,
onResetFilters: function(){console.log('onResetFilters')},
onTranslate: function(code, text){console.log(code, text)}
};
m.RunApplication(options);
})
.catch(function (err) {
console.error(err);
});
</script>
</head>
<body>
<it7-networking-public-plugin>Loading...</it7-networking-public-plugin>
</body>
</html>