Added Assistant to invitation page.

Ylian Saint-Hilaire committed May 20, 2021 at 14:19 UTC ebbf713e89aad2f8d982f7246e036c37abd92137
2 files changed +17
public/images/assistant-200.png
Binary files /dev/null and b/public/images/assistant-200.png differ
views/agentinvite.handlebars
+17
@@ -85,6 +85,7 @@
85 <button id="tlinuxtab" class="tablinks" onclick="openTab(event, 'linuxtab')">Linux</button>
86 <button id="tmacostab" class="tablinks" onclick="openTab(event, 'macostab')">MacOS</button>
87 <button id="tandrotab" class="tablinks" onclick="openTab(event, 'androtab')">Android</button>
88 + <button id="tandrotab" class="tablinks" onclick="openTab(event, 'assistab')">Assistant</button>
89 </div>
90
91 <div id="wintab64" class="tabcontent" style="background-color:white;color:black">
@@ -142,6 +143,18 @@
143 </p>
144 </div>
145 </div>
146 +
147 + <div id="assistab" class="tabcontent" style="background-color:white;color:black">
148 + <h3>Assistant</h3>
149 + <div style="min-height:220px">
150 + <img src="images/assistant-312.png" style="float:right;margin-left:8px" width="148" height="200" />
151 + <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>
152 + <p>
153 + <a id="assisturl" rel="noreferrer noopener" target=_blank>Download Assistant for Windows</a>
154 + </p>
155 + </div>
156 + <br style="clear:both" />
157 + </div>
158 </div>
159 </div>
160 <div id="footer">
@@ -318,6 +331,10 @@
331 QH('linuxinstall', linuxInstall);
332 QH('unlinuxinstall', linuxUnInstall);
333
334 + // MeshCentral Assistant
335 + url = 'meshosxagent?id=10006&meshid=' + meshid;
336 + Q('assisturl').href = url;
337 +
338 // Attempt to detect the most likely operating system for this browser
339 if (navigator.userAgent.indexOf('Win64') >= 0) { openTab(null, 'wintab64'); }
340 else if (navigator.userAgent.indexOf('Windows') >= 0) { openTab(null, 'wintab32'); }