2017-03-29 22:21:41 +00:00
|
|
|
// Gulp will remove all comments
|
|
|
|
{
|
|
|
|
"reverseGeocodingApi": "https://nominatim.openstreetmap.org/reverse",
|
|
|
|
"maxAge": 14,
|
|
|
|
"maxAgeAlert": 3,
|
|
|
|
"nodeZoom": 18,
|
|
|
|
"labelZoom": 13,
|
|
|
|
"clientZoom": 15,
|
2017-11-03 21:07:22 +00:00
|
|
|
"nodeAttr": [
|
|
|
|
// value can be a node attribute (1 depth) or a a function in utils/node with prefix show
|
|
|
|
{
|
|
|
|
"name": "node.status",
|
|
|
|
"value": "Status"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "node.gateway",
|
|
|
|
"value": "Gateway"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "node.coordinates",
|
|
|
|
"value": "GeoURI"
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
// "name": "node.contact",
|
|
|
|
// "value": "owner"
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
"name": "node.hardware",
|
|
|
|
"value": "model"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "node.primaryMac",
|
|
|
|
"value": "mac"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "node.firmware",
|
|
|
|
"value": "Firmware"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "node.uptime",
|
|
|
|
"value": "Uptime"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "node.firstSeen",
|
|
|
|
"value": "FirstSeen"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "node.systemLoad",
|
|
|
|
"value": "Load"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "node.ram",
|
|
|
|
"value": "RAM"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "node.ipAddresses",
|
|
|
|
"value": "IPs"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "node.update",
|
|
|
|
"value": "Autoupdate"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "node.site",
|
|
|
|
"value": "Site"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "node.clients",
|
|
|
|
"value": "Clients"
|
|
|
|
}
|
|
|
|
],
|
2017-03-29 22:21:41 +00:00
|
|
|
"supportedLocale": [
|
|
|
|
"en",
|
|
|
|
"de",
|
|
|
|
"fr",
|
|
|
|
"ru"
|
|
|
|
],
|
2017-04-30 12:59:39 +00:00
|
|
|
"icon": {
|
|
|
|
"base": {
|
|
|
|
"fillOpacity": 0.6,
|
|
|
|
"opacity": 0.6,
|
|
|
|
"weight": 2,
|
|
|
|
"radius": 6,
|
|
|
|
"className": "stroke-first"
|
|
|
|
},
|
|
|
|
"online": {
|
|
|
|
"color": "#1566A9",
|
|
|
|
"fillColor": "#1566A9"
|
|
|
|
},
|
|
|
|
"offline": {
|
|
|
|
"color": "#D43E2A",
|
|
|
|
"fillColor": "#D43E2A",
|
|
|
|
"radius": 3
|
|
|
|
},
|
|
|
|
"lost": {
|
|
|
|
"color": "#D43E2A",
|
|
|
|
"fillColor": "#D43E2A",
|
|
|
|
"radius": 4
|
|
|
|
},
|
|
|
|
"alert": {
|
|
|
|
"color": "#D43E2A",
|
|
|
|
"fillColor": "#D43E2A",
|
|
|
|
"radius": 5
|
|
|
|
},
|
|
|
|
"new": {
|
|
|
|
"color": "#1566A9",
|
|
|
|
"fillColor": "#93E929"
|
|
|
|
}
|
|
|
|
},
|
2017-03-29 22:21:41 +00:00
|
|
|
"cacheBreaker": "<!-- inject:cache-breaker -->"
|
|
|
|
}
|