Improved MeshCentral Router dialog box.

This commit is contained in:
Ylian Saint-Hilaire 2020-06-12 14:08:17 -07:00
parent 1f61bc7c2b
commit 76c53fb228
2 changed files with 17 additions and 9 deletions

View File

@ -508,10 +508,7 @@
},
{
"en": ", for this link to work you must download MeshCentral Router run it and click the install button.",
"nl": ", om deze link te laten werken, moet u MeshCentral Router downloaden, het uitvoeren en op de installatieknop klikken.",
"xloc": [
"default.handlebars->27->674"
]
"nl": ", om deze link te laten werken, moet u MeshCentral Router downloaden, het uitvoeren en op de installatieknop klikken."
},
{
"cs": ", klikněte na něj pravým tlačítkem nebo stiskněte klávesu Ctrl a klikněte na něj levým tlačítkem. Pak vyberte „Otevřít“ a postupujte podle pokynů.",
@ -14925,6 +14922,12 @@
"default.handlebars->27->1009"
]
},
{
"en": "Launch MeshCentral Router",
"xloc": [
"default.handlebars->27->674"
]
},
{
"en": "Launch noVNC session to this device",
"nl": "Start een noVNC-sessie op dit apparaat",
@ -22348,6 +22351,12 @@
"default.handlebars->27->204"
]
},
{
"en": "Run MeshCentral Router and click \\\"install\\\" to make it launchable from the browser.",
"xloc": [
"default.handlebars->27->673"
]
},
{
"cs": "ruština",
"de": "Russisch",
@ -25039,10 +25048,7 @@
},
{
"en": "Start MeshCentral Router",
"nl": "Start MeshCentral Router",
"xloc": [
"default.handlebars->27->673"
]
"nl": "Start MeshCentral Router"
},
{
"en": "Start Time",

View File

@ -5974,7 +5974,9 @@
var portStr = (serverinfo.port == 443) ? '' : (':' + serverinfo.port);
var url = 'mcrouter://' + servername + portStr + domainUrl + 'control.ashx?c=' + authCookie + '&t=' + serverinfo.tlshash;
//x += addHtmlValue("Launch", '<a style=cursor:pointer target="mcrouterframe" rel="noreferrer noopener" download href="' + url + '">Start MeshCentral Router</a>');
x += '<br /><div style=width:100%><a style=cursor:pointer target="mcrouterframe" rel="noreferrer noopener" download href="' + url + '">' + "Start MeshCentral Router" + '</a>' + ", for this link to work you must download MeshCentral Router run it and click the install button." + '</div>';
//x += '<br /><div style=width:100%><a style=cursor:pointer target="mcrouterframe" rel="noreferrer noopener" download href="' + url + '">' + "Start MeshCentral Router" + '</a>' + ", for this link to work you must download MeshCentral Router run it and click the install button." + '</div>';
x += '<br /><div>' + "Run MeshCentral Router and click \"install\" to make it launchable from the browser." + '</div>';
x += '<br /><a style=cursor:pointer target="mcrouterframe" rel="noreferrer noopener" download href="' + url + '"><input type=button style=width:100%;cursor:pointer value="' + "Launch MeshCentral Router" + '" /></a>';
x += '<iframe style=display:none name="mcrouterframe"></iframe>';
setDialogMode(2, "MeshCentral Router", 1, null, x, 'fileDownload');
}