Added BSD agent dialog box.

Ylian Saint-Hilaire committed Jul 22, 2019 at 17:54 UTC 710a9ee4f873860d9e18de8058a19d726ccdf30d
1 file changed +3 -2
views/default.handlebars
+3 -2
@@ -2866,7 +2866,7 @@
2866 function addAgentToMesh(meshid) {
2867 if (xxdialogMode) return false;
2868 var mesh = meshes[meshid], x = '', installType = 0;
2869 - x += addHtmlValue('Operating System', '<select id=aginsSelect onchange=addAgentToMeshClick() style=width:236px><option value=0>Windows</option><option value=1>Linux</option><option value=2>Apple MacOS</option><option value=3>Windows (UnInstall)</option><option value=4>Linux (UnInstall)</option></select>');
2869 + x += addHtmlValue('Operating System', '<select id=aginsSelect onchange=addAgentToMeshClick() style=width:236px><option value=0>Windows</option><option value=1>Linux / BSD</option><option value=2>Apple MacOS</option><option value=3>Windows (UnInstall)</option><option value=4>Linux / BSD (UnInstall)</option></select>');
2870 x += '<div id=aginsTypeDiv>';
2871 x += addHtmlValue('Installation Type', '<select id=aginsType onchange=addAgentToMeshClick() style=width:236px><option value=0>Background & interactive</option><option value=2>Background only</option><option value=1>Interactive only</option></select>');
2872 x += '</div><hr>';
@@ -2886,7 +2886,7 @@
2886 // Linux agent install
2887 x += "<div id=agins_linux style=display:none>To add a computer to " + EscapeHtml(mesh.name) + " run the following command. Root credentials will be needed.<br />";
2888 x += '<textarea id=agins_linux_area rows=2 cols=20 readonly=readonly style=width:100%;resize:none;height:120px;overflow:scroll;font-size:12px readonly></textarea>';
2889 - x += "</div>";
2889 + x += "<div style='font-size:x-small'>* For BSD, run \"pkg install wget sudo bash\" first.</div></div>";
2890
2891 // MacOS agent install
2892 x += "<div id=agins_osx style=display:none>To add a new computer to device group \"" + EscapeHtml(mesh.name) + "\", download the mesh agent and install it the computer to manage. This agent installer has server and device group information embedded within it.<br /><br />";
@@ -8073,6 +8073,7 @@
8073 options: {
8074 responsive: true,
8075 maintainAspectRatio: false,
8076 + elements: { line: { tension: 0.001 } },
8077 scales: {
8078 xAxes: [{ type: 'time', time: { tooltipFormat: 'll HH:mm' }, display: true, scaleLabel: { display: false, labelString: '' } }],
8079 yAxes: [{ type: 'linear', display: true, scaleLabel: { display: true, labelString: '' } }]