-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathnetention.client.js
69 lines (60 loc) · 2.16 KB
/
netention.client.js
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
/* Netention Client Configuration */
//all hardcoded stuff here is temporary until icons are specified by ontology
var defaultIcons = {
'default': '/icon/rrze/status/true.png',
'unknown': '/icon/unknown.png',
'Favorite': '/icon/rrze/observe.png',
'Goal': '/icon/rrze/error.png',
'Earthquake': '/icon/quake.png',
'NuclearFacility': '/icon/nuclear.png',
'Human': '/icon/rrze/crown.png',
'User': '/icon/rrze/ID-clip.png',
'Message': '/icon/rrze/at.png',
'Decision.Agree': '/icon/loomio/agree.png',
'Decision.Disagree': '/icon/loomio/disagree.png',
'Decision.Block': '/icon/loomio/block.png',
'Decision.Abstain': '/icon/loomio/abstain.png',
'Event': '/icon/rrze/dial-in.png',
'Report': '/icon/rrze/add.png',
'Similar': '/icon/approx_equal.png',
'Emotion.happy': '/icon/emoticon/happy.svg',
'Emotion.sad': '/icon/emoticon/sad.svg',
'Emotion.angry': '/icon/emoticon/angry.svg',
'Emotion.surprised': '/icon/emoticon/surprised.svg',
'Tweet': '/icon/twitter.png',
'GoalCentroid': '/icon/rrze/workflow-cycle.png',
'Item': '/icon/rrze/database.png',
'Volunteer': '/icon/sparkrelief/cat-volunteer-28.png',
'Shelter': '/icon/sparkrelief/cat-shelter-28.png',
'Food': '/icon/sparkrelief/cat-food-28.png',
'Tools': '/icon/sparkrelief/cat-goods-28.png',
'Health': '/icon/sparkrelief/cat-medical-28.png',
'Transport': '/icon/sparkrelief/cat-transportation-28.png',
'Service': '/icon/sparkrelief/cat-services-28.png',
'Animal': '/icon/sparkrelief/cat-pets-28.png'
};
var themes = {
//BASIC
"_bright":'Bright',
//"ui-darkness":'Dark',
"_dark":'Dark',
//ORIGINAL
"_matrix-green":'Matrix (green)',
"_matrix-red":'Matrix (red)',
"_matrix-blue":'Matrix (blue)',
"_space": 'Space',
"_cybernetic": 'Cybernetic',
"_notebook": 'Notebook',
"_rainforest": 'Rainforest',
"_metamaps": 'MetaMaps',
"_scroogle": 'Google',
"_n$a": 'N$A',
//from Bootswatch
"_bootswatch.cerulean": "Cerulean",
"_bootswatch.darkly": "Darkly",
"_bootswatch.cyborg": "Cyborg",
"_bootswatch.readable": "Readable",
"_bootswatch.simplex": "Simplex",
"_bootswatch.spacelab": "SpaceLab"
};
var tagAlias = { };