Fixed website default settings
Ylian Saint-Hilaire committed
Aug 28, 2017 at 16:15 UTC
fbacc4fd81f0ad94e815dddb82831c608d2b3f19
2 files changed
+5
-4
package.json
+1
-1
@@ -1,6 +1,6 @@
1
{
2
"name": "meshcentral",
3
- "version": "0.0.6-q",
3
+ "version": "0.0.6-r",
4
"keywords": [
5
"Remote Management",
6
"Intel AMT",
views/default.handlebars
+4
-3
@@ -107,7 +107,7 @@
107
<input type="button" id="SelectAllButton" onclick="selectallButtonFunction();" value="Select All" />
108
<input type="button" id="GroupActionButton" disabled="disabled" value="Group Action" onclick="groupActionFunction();" />
109
<input id="SearchInput" type="text" style=width:120px placeholder=Search onchange="onSearchInputChanged()" onkeyup="onSearchInputChanged()" autocomplete=off onfocus="onSearchFocus(1)" onblur="onSearchFocus(0)" />
110
- <input type="checkbox" id="HostnameCheckBox" onclick="onHostnameCheckBox()" /><span title="Show device hostnames">Hostname</span>
110
+ <input type=checkbox id=HostnameCheckBox onclick=onHostnameCheckBox() /><span title="Show device hostnames">Hostname</span>
111
</div>
112
<div class="auto-style1" style="height: 100%; float: right">
113
<div style="height:100%;width:4px;float:right;background-color:#ffffff"></div>
@@ -593,7 +593,7 @@
593
var wssessions = null;
594
var nodeShortIdent = 0;
595
var desktop;
596
- var desktopsettings = { encoding: 2, showfocus: false, showmouse: true, showcad: true };
596
+ var desktopsettings = { encoding: 2, showfocus: false, showmouse: true, showcad: true, quality: 40, scaling: 1024 };
597
var terminal;
598
var files;
599
var debugLevel = {{{debuglevel}}};
@@ -628,7 +628,7 @@
628
// Setup page controls
629
document.getElementById("sortselect").selectedIndex = sort = getstore("sort", 0);
630
Q('SearchInput').value = getstore("search", "");
631
- showHostnames = (getstore("showHostnames", 1) == 1);
631
+ showHostnames = (getstore("showHostnames", 0) == 1);
632
Q('HostnameCheckBox').checked = showHostnames;
633
Q('viewselect').value = getstore("deviceView", 1);
634
@@ -2135,6 +2135,7 @@
2135
}
2136
2137
function applyDesktopSettings() {
2138
+ console.log(desktopsettings);
2139
d7desktopmode.value = desktopsettings.encoding;
2140
d7showfocus.checked = desktopsettings.showfocus;
2141
d7showcursor.checked = desktopsettings.showmouse;