Fixed site embedded options.

This commit is contained in:
Ylian Saint-Hilaire 2019-07-07 13:51:24 -07:00
parent 91acb4e448
commit 97da316f3d
5 changed files with 25 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "meshcentral",
"version": "0.3.7-h",
"version": "0.3.7-i",
"keywords": [
"Remote Management",
"Intel AMT",

View File

@ -262,7 +262,7 @@ body {
#column_l {
position: relative;
float: left;
/* float: left; */
width: 100%;
box-sizing: border-box;
margin: 0;

File diff suppressed because one or more lines are too long

View File

@ -987,6 +987,27 @@
// QV('page_leftbar', false);
// QS('page_content').left = '0px';
//}
// Fix the main grid to zero-height elements we want to hide.
QS('container')['grid-template-rows'] = ((hide & 1) ? '0' : '66') + 'px ' + ((hide & 2) ? '0' : '24') + 'px auto ' + ((hide & 4) ? '0' : '45') + 'px';
QS('container')['-ms-grid-rows'] = ((hide & 1) ? '0' : '66') + 'px ' + ((hide & 2) ? '0' : '24') + 'px auto ' + ((hide & 4) ? '0' : '45') + 'px';
// Adjust height of remote desktop, files and Intel AMT
var xh = (((hide & 1) ? 0 : 66) + ((hide & 2) ? 0 : 24) + ((hide & 4) ? 0 : 45) + ((hide & 8) ? 0 : 60)); // 0 to 195
QS('p3users')['max-height'] = 'calc(100vh - ' + (124 + xh) + 'px)';
QS('p3events')['height'] = 'calc(100vh - ' + (124 + xh) + 'px)';
QS('deskarea3x')['height'] = 'calc(100vh - ' + (75 + xh) + 'px)';
QS('deskarea3x')['max-height'] = 'calc(100vh - ' + (75 + xh) + 'px)';
QS('p5filetable')['height'] = 'calc(100vh - ' + (160 + xh) + 'px)';
QS('p13filetable')['height'] = 'calc(100vh - ' + (124 + xh) + 'px)';
QS('serverMainStats')['height'] = 'calc(100vh - ' + (110 + xh) + 'px)';
QS('serverMainStats')['max-height'] = 'calc(100vh - ' + (110 + xh) + 'px)';
QS('xdevices')['max-height'] = 'calc(100vh - ' + (124 + xh) + 'px)';
QS('xdevicesmap')['max-height'] = 'calc(100vh - ' + (124 + xh) + 'px)';
QS('p15agentConsole')['height'] = 'calc(100vh - ' + (84 + xh) + 'px)';
QS('p15agentConsole')['max-height'] = 'calc(100vh - ' + (84 + xh) + 'px)';
QS('p15agentConsoleText')['height'] = 'calc(100vh - ' + (81 + xh) + 'px)';
QS('p15agentConsoleText')['max-height'] = 'calc(100vh - ' + (81 + xh) + 'px)';
}
// We are looking at a single device, remove all the back buttons

File diff suppressed because one or more lines are too long