Added Assistant to invitation page.

This commit is contained in:
Ylian Saint-Hilaire 2021-05-20 14:19:13 -07:00
parent 626364bab8
commit ebbf713e89
2 changed files with 17 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -85,6 +85,7 @@
<button id="tlinuxtab" class="tablinks" onclick="openTab(event, 'linuxtab')">Linux</button>
<button id="tmacostab" class="tablinks" onclick="openTab(event, 'macostab')">MacOS</button>
<button id="tandrotab" class="tablinks" onclick="openTab(event, 'androtab')">Android</button>
<button id="tandrotab" class="tablinks" onclick="openTab(event, 'assistab')">Assistant</button>
</div>
<div id="wintab64" class="tabcontent" style="background-color:white;color:black">
@ -142,6 +143,18 @@
</p>
</div>
</div>
<div id="assistab" class="tabcontent" style="background-color:white;color:black">
<h3>Assistant</h3>
<div style="min-height:220px">
<img src="images/assistant-312.png" style="float:right;margin-left:8px" width="148" height="200" />
<p>Assistant is a Windows system tray tool that can be used when help is needed. This is not an agent that runs in the background of the managed computer, instead, it's a tool that connects to the server only when requested.</p>
<p>
<a id="assisturl" rel="noreferrer noopener" target=_blank>Download Assistant for Windows</a>
</p>
</div>
<br style="clear:both" />
</div>
</div>
</div>
<div id="footer">
@ -318,6 +331,10 @@
QH('linuxinstall', linuxInstall);
QH('unlinuxinstall', linuxUnInstall);
// MeshCentral Assistant
url = 'meshosxagent?id=10006&meshid=' + meshid;
Q('assisturl').href = url;
// Attempt to detect the most likely operating system for this browser
if (navigator.userAgent.indexOf('Win64') >= 0) { openTab(null, 'wintab64'); }
else if (navigator.userAgent.indexOf('Windows') >= 0) { openTab(null, 'wintab32'); }