diff --git a/package.json b/package.json
index 3867e0bd..2ee6fda5 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "meshcentral",
- "version": "0.4.5-c",
+ "version": "0.4.5-d",
"keywords": [
"Remote Management",
"Intel AMT",
diff --git a/views/default-min.handlebars b/views/default-min.handlebars
index f8818875..5434b100 100644
--- a/views/default-min.handlebars
+++ b/views/default-min.handlebars
@@ -1,4 +1,4 @@
-
{{{title}}}My Devices | My Account | My Events | My Files | My Users | My Server | |
General | Desktop | Terminal | Files | Events | Details | Intel® AMT | Console | Plugins | |
Server disconnected,click to reconnect.
My Devices
| No device groups. |
My Account
Device Groups ( New )My Events
| Show | |
My Files
These files are shared publicly, click "link" to get public url.
✓
✗
My Server
Server StatisticsIntel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
| Show | |
General -
Events -
| Show | |
My Server Plugins
| | Name | Description | Link | Version | Latest | Status | Action | |
---|
No plugins on server.
File Selection
Agent Remote Desktop
Scaling
Frame rate
Intel® AMT Hardware KVM
Image Encoding
{{{StartGeoLocation}}}{{{EndGeoLocation}}}{{{title}}}My Devices | My Account | My Events | My Files | My Users | My Server | |
General | Desktop | Terminal | Files | Events | Details | Intel® AMT | Console | Plugins | |
Server disconnected,click to reconnect.
My Devices
| No device groups. |
My Account
Device Groups ( New )My Events
| Show | |
My Files
These files are shared publicly, click "link" to get public url.
✓
✗
My Server
Server StatisticsIntel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
| Show | |
General -
Events -
| Show | |
My Server Plugins
| | Name | Description | Link | Version | Latest | Status | Action | |
---|
No plugins on server.
File Selection
Agent Remote Desktop
Scaling
Frame rate
Intel® AMT Hardware KVM
Image Encoding
+ {{{StartGeoLocation}}}
+ {{{EndGeoLocation}}}
{{{title}}}
@@ -1431,7 +1433,7 @@
if (updateNaggleFlags & 8) { drawNotifications(); }
if (updateNaggleFlags & 16) { updateMapMarkers(); }
if (updateNaggleFlags & 32) { eventsUpdate(); }
- if (updateNaggleFlags & 64) { refreshMap(false, true); }
+ {{{StartGeoLocationJS}}}if (updateNaggleFlags & 64) { refreshMap(false, true); }{{{EndGeoLocationJS}}}
if (updateNaggleFlags & 256) { drawDeviceTimeline(); }
if (updateNaggleFlags & 1024) { deviceEventsUpdate(); }
if (updateNaggleFlags & 2048) { userEventsUpdate(); }
@@ -3697,6 +3699,8 @@
mapView: null, // Sets the initial view
}
+ {{{StartGeoLocationJS}}}
+
// Add a feature for every Node and change style if connection status changes
function updateMapMarkers(selectedMesh) {
if ((xxmap != null) && (xxmap.map == null)) { try { loadmap(); } catch (ex) { console.error('loadmap() exception', ex); } }
@@ -3967,18 +3971,16 @@
//text: new ol.style.Text({ text: 'bob!', textAlign: 'right', offsetX: -10, fill: new ol.style.Fill({ color: '#000' }), stroke: new ol.style.Stroke({ color: '#fff', width: 2 }) })
});
- /*
- deviceMark.setStyle(new ol.style.Style({
- text: new ol.style.Text({
- //font: '12px helvetica,sans-serif',
- text: currentNode.name,
- textAlign: 'right',
- offsetX: -10,
- fill: new ol.style.Fill({ color: '#000' }),
- stroke: new ol.style.Stroke({ color: '#fff', width: 2 })
- }),
- image: new ol.style.Icon(({ color: [113, 140, 0], src: 'images/dot.png' })) }));
- */
+ //deviceMark.setStyle(new ol.style.Style({
+ // text: new ol.style.Text({
+ // //font: '12px helvetica,sans-serif',
+ // text: currentNode.name,
+ // textAlign: 'right',
+ // offsetX: -10,
+ // fill: new ol.style.Fill({ color: '#000' }),
+ // stroke: new ol.style.Stroke({ color: '#fff', width: 2 })
+ // }),
+ // image: new ol.style.Icon(({ color: [113, 140, 0], src: 'images/dot.png' })) }));
return [ style ];
}
@@ -4125,18 +4127,16 @@
QV(nodes[i]._id + '-rowid', visible);
}
QV('noNodesMapPlace', count == 0);
- /*
- console.log(selected);
- for (var i in nodes) {
- if ((nodes[i].name.toLowerCase().indexOf(inputSearch) >= 0 || inputSearch == '') || (nodes[i].rnamel != null && nodes[i].rnamel.toLowerCase().indexOf(inputSearch) >= 0)) {
- console.log(selected.indexOf(nodes[i]._id));
- x += '= 0)?'checked':'') + ' />';
- x += '
' + nodes[i].name + '
';
- }
- }
- if (x == '') { x = 'No devices found.
'; }
- QH('placenode', '');
- */
+ //console.log(selected);
+ //for (var i in nodes) {
+ // if ((nodes[i].name.toLowerCase().indexOf(inputSearch) >= 0 || inputSearch == '') || (nodes[i].rnamel != null && nodes[i].rnamel.toLowerCase().indexOf(inputSearch) >= 0)) {
+ // console.log(selected.indexOf(nodes[i]._id));
+ // x += '= 0)?'checked':'') + ' />';
+ // x += '
' + nodes[i].name + '
';
+ // }
+ //}
+ //if (x == '') { x = 'No devices found.
'; }
+ //QH('placenode', '');
}
// Called when a user clicks on a device to toggle selection for placement on map.
@@ -4152,42 +4152,38 @@
// Add option for available meshes in mesh Dropdown
function addMeshOptions(addMeshid, meshName) {
- /*
- var meshOptions = Q('select-mesh');
- if (addMeshid && meshName) {
- var option = document.createElement('option');
- option.value =addMeshid;
- option.text = meshName;
- meshOptions.add(option); // Add specific option
- }
- else {
- for (var i in meshes) { // Add all options
- var option = document.createElement('option');
- option.value = i;
- option.text = meshes[i].name;
- meshOptions.add(option);
- }
- }
- */
+ //var meshOptions = Q('select-mesh');
+ //if (addMeshid && meshName) {
+ // var option = document.createElement('option');
+ // option.value =addMeshid;
+ // option.text = meshName;
+ // meshOptions.add(option); // Add specific option
+ //}
+ //else {
+ // for (var i in meshes) { // Add all options
+ // var option = document.createElement('option');
+ // option.value = i;
+ // option.text = meshes[i].name;
+ // meshOptions.add(option);
+ // }
+ //}
}
// Remove/Modify options in Mesh dropdown (if modMeshname is defined then Modify else Remove)
function meshOptionRmvMod(delMeshid, modMeshname){
- /*
- var meshOptions = Q('select-mesh');
- if (delMeshid) {
- var index=-1;
- for (var i = 1; i < meshOptions.options.length; i++) {
- if (meshOptions[i].value === delMeshid) { index=i; }
- }
- if (index > 0) {
- if (modMeshname) {
- meshOptions[index].innerHTML=modMeshname; // If Mesh name is Modified
- }
- else { meshOptions.remove(index); }
- }
- }
- */
+ //var meshOptions = Q('select-mesh');
+ //if (delMeshid) {
+ // var index=-1;
+ // for (var i = 1; i < meshOptions.options.length; i++) {
+ // if (meshOptions[i].value === delMeshid) { index=i; }
+ // }
+ // if (index > 0) {
+ // if (modMeshname) {
+ // meshOptions[index].innerHTML=modMeshname; // If Mesh name is Modified
+ // }
+ // else { meshOptions.remove(index); }
+ // }
+ //}
}
//Check if there is any mesh created
@@ -4205,10 +4201,8 @@
// Clear all mesh options except 'All'
function clearMeshOptions() {
- /*
- var meshOptions=Q('select-mesh');
- for(var i = meshOptions.options.length - 1 ; i > 0 ; i--) { meshOptions.remove(i); }
- */
+ //var meshOptions=Q('select-mesh');
+ //for(var i = meshOptions.options.length - 1 ; i > 0 ; i--) { meshOptions.remove(i); }
}
// Make a http get call- Replace this with AJAX get if jquery is used
@@ -4285,7 +4279,8 @@
var boundingExtent = ol.proj.transformExtent(extent, ol.proj.get('EPSG:4326'), ol.proj.get('EPSG:3857'));
xxmap.map.getView().fit(boundingExtent, xxmap.map.getSize());
}
-
+
+ {{{EndGeoLocationJS}}}
//
// MY DEVICE
diff --git a/views/translations/default-min_cs.handlebars b/views/translations/default-min_cs.handlebars
index fa9c63b0..157e8f47 100644
--- a/views/translations/default-min_cs.handlebars
+++ b/views/translations/default-min_cs.handlebars
@@ -1,4 +1,4 @@
-{{{title}}}Moje zařízení | Můj účet | Moje události | Moje soubory | Uživatelé | Můj server | |
Obecné | Plocha | Terminál | Soubory | Události | Detaily | Intel® AMT | Konzole | Pluginy | |
Server disconnected,klikni pro opětovné připojení.
Moje zařízení
| No device groups. |
Můj účet
Device Groups ( New )Moje události
| Zobrazit | |
Moje soubory
These files are shared publicly, click "link" to get public url.
✓
✗
Můj server
Statistiky serveruIntel® AMT Redirection port or KVM feature is disabled, zde kliknout pro aktivaci.
Vzdálený počítač není zapnutý, klikněte zde pro zapnutí.
Intel® AMT Redirection port or KVM feature is disabled, zde kliknout pro aktivaci.
Vzdálený počítač není zapnutý, klikněte zde pro zapnutí.
| Zobrazit | |
Obecné -
Events -
| Zobrazit | |
My Server Plugins
| | Jméno | Popis | Link | Version | Latest | Status | Action | |
---|
No plugins on server.
File Selection
Agent Remote Desktop
Škálování
Obnovování
Intel® AMT Hardware KVM
Kódovaní obrazu
{{{StartGeoLocation}}}{{{EndGeoLocation}}}{{{title}}}Moje zařízení | Můj účet | Moje události | Moje soubory | Uživatelé | Můj server | |
Obecné | Plocha | Terminál | Soubory | Události | Detaily | Intel® AMT | Konzole | Pluginy | |
Server disconnected,klikni pro opětovné připojení.
Moje zařízení
| No device groups. |
Můj účet
Device Groups ( New )Moje události
| Zobrazit | |
Moje soubory
These files are shared publicly, click "link" to get public url.
✓
✗
Můj server
Statistiky serveruIntel® AMT Redirection port or KVM feature is disabled, zde kliknout pro aktivaci.
Vzdálený počítač není zapnutý, klikněte zde pro zapnutí.
Intel® AMT Redirection port or KVM feature is disabled, zde kliknout pro aktivaci.
Vzdálený počítač není zapnutý, klikněte zde pro zapnutí.
| Zobrazit | |
Obecné -
Events -
| Zobrazit | |
My Server Plugins
| | Jméno | Popis | Link | Version | Latest | Status | Action | |
---|
No plugins on server.
File Selection
Agent Remote Desktop
Škálování
Obnovování
Intel® AMT Hardware KVM
Kódovaní obrazu
{{{title}}}Mes Appareils | Mon Compte | Mes Événements | Mes Dossiers | Mes Utilisateurs | Mon Serveur | |
Général | Desktop | Terminal | Dossiers | Événements | Details | Intel® AMT | Console | Plugins | |
Server disconnected,click to reconnect.
Mes Appareils
| Aucun groupe d'appareils. |
Mon Compte
Device Groups ( Nouveau )Mes Événements
| Afficher | |
Mes Dossiers
Ces fichiers sont partagés publiquement, cliquez sur "lien" pour obtenir une URL publique.
✓
✗
Mon Serveur
Statistiques du serveurAvertissements du serveur Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
L'ordinateur distant n'est pas sous tension, cliquez ici pour émettre une commande d'alimentation.
Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
L'ordinateur distant n'est pas sous tension, cliquez ici pour émettre une commande d'alimentation.
| Afficher | |
Général -
Événements -
| Afficher | |
Statistiques de mon serveur
Mes plugins serveur
| | Nom | Description | Lien | Version | Dernier | Statut | Action | |
---|
No plugins on server.
Sélection de fichier
Agent Remote Desktop
Mise à l'échelle
Frame rate
Intel® AMT Hardware KVM
Image Encoding
{{{StartGeoLocation}}}{{{EndGeoLocation}}}{{{title}}}Mes Appareils | Mon Compte | Mes Événements | Mes Dossiers | Mes Utilisateurs | Mon Serveur | |
Général | Desktop | Terminal | Dossiers | Événements | Details | Intel® AMT | Console | Plugins | |
Server disconnected,click to reconnect.
Mes Appareils
| Aucun groupe d'appareils. |
Mon Compte
Device Groups ( Nouveau )Mes Événements
| Afficher | |
Mes Dossiers
Ces fichiers sont partagés publiquement, cliquez sur "lien" pour obtenir une URL publique.
✓
✗
Mon Serveur
Statistiques du serveurAvertissements du serveur Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
L'ordinateur distant n'est pas sous tension, cliquez ici pour émettre une commande d'alimentation.
Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
L'ordinateur distant n'est pas sous tension, cliquez ici pour émettre une commande d'alimentation.
| Afficher | |
Général -
Événements -
| Afficher | |
Statistiques de mon serveur
Mes plugins serveur
| | Nom | Description | Lien | Version | Dernier | Statut | Action | |
---|
No plugins on server.
Sélection de fichier
Agent Remote Desktop
Mise à l'échelle
Frame rate
Intel® AMT Hardware KVM
Image Encoding
+ {{{StartGeoLocation}}}
+ {{{EndGeoLocation}}}
{{{title}}}
-
-
+
+