mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-29 18:14:14 +03:00
Added full screen image support on login screen, #2609.
This commit is contained in:
parent
3d84509d33
commit
c352513746
@ -31,7 +31,7 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body id="body" onload="if (typeof(startup) !== 'undefined') startup();" class="arg_hide login">
|
<body id="body" onload="if (typeof(startup) !== 'undefined') startup();" class="arg_hide login">
|
||||||
<div style="position:absolute;left:0;bottom:0;z-index:-1;height:60%;width:100%;opacity:0.1;background-image:url('welcome.png');background-repeat:no-repeat;background-position:left bottom;background-size:contain"></div>
|
<div id="backgroundImage" style="position:absolute;left:0;bottom:0;z-index:-1;height:60%;width:100%;opacity:0.1;background-image:url('welcome.png');background-repeat:no-repeat;background-position:left bottom;background-size:contain"></div>
|
||||||
<table id="centralTable" class="container" style="height:100%;z-index:1">
|
<table id="centralTable" class="container" style="height:100%;z-index:1">
|
||||||
<tr>
|
<tr>
|
||||||
<td id="logincell">
|
<td id="logincell">
|
||||||
@ -368,7 +368,10 @@
|
|||||||
|
|
||||||
// Change the background image to full screen
|
// Change the background image to full screen
|
||||||
if (welcomePictureFullScreen) {
|
if (welcomePictureFullScreen) {
|
||||||
|
QS('backgroundImage').height = '100%';
|
||||||
|
QS('backgroundImage').opacity = '1';
|
||||||
|
QS('backgroundImage')['background-position'] = 'center center';
|
||||||
|
QS('backgroundImage')['background-size'] = 'cover';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Display the right server message
|
// Display the right server message
|
||||||
|
Loading…
Reference in New Issue
Block a user