forked from freifunkMUC/nodelist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js.tecff
42 lines (38 loc) · 986 Bytes
/
config.js.tecff
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
// Copy to app/scripts/config.js
nodelistconfig = {
'dataPath': 'https://map.tecff.de/yanic/',
'mapPath': 'https://map.tecff.de/',
'siteName': 'Freifunk Altdorf',
nodeUpStartColor: {h: 61, s: 100, l: 50},
nodeUpEndColor: {h: 122, s: 97, l: 50},
nodeUpGamma: 0.5,
nodeUpDays: 30,
dataMagnitudes: [
{threshold: Math.pow(1024, 2), suffix: 'KiB', scale: Math.pow(1024, 1), tailing: 3},
{threshold: Math.pow(1024, 3), suffix: 'MiB', scale: Math.pow(1024, 2), tailing: 3},
{threshold: Math.pow(1024, 4), suffix: 'GiB', scale: Math.pow(1024, 3), tailing: 3},
{threshold: Math.pow(1024, 5), suffix: 'TiB', scale: Math.pow(1024, 4), tailing: 3},
],
showCols: [
'hasVpn',
'hasLocation',
'neighbourCnt',
'id',
'hostname',
'owner',
'version',
'model',
'autoupdater',
'clients',
'gateway',
'site',
'uptime',
'firstSeen',
'lastSeen',
'rootfsUsage',
'memoryUsage',
'traFwdRate',
'traTxRate',
'traMgmtTxRate',
],
};