mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:25:53 -05:00
Added Raspberry Pi device icon support for mobile site.
This commit is contained in:
parent
4d94ae18f5
commit
b32f5aaed0
@ -78,6 +78,13 @@
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.i7 {
|
||||||
|
background: url(../images/icons50.png) -300px 0px;
|
||||||
|
height: 50px;
|
||||||
|
width: 50px;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
.m0 {
|
.m0 {
|
||||||
background: url(../images/images16.png) -32px 0px;
|
background: url(../images/images16.png) -32px 0px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
@ -2155,13 +2162,14 @@
|
|||||||
var rights = GetNodeRights(currentNode);
|
var rights = GetNodeRights(currentNode);
|
||||||
if ((rights & 4) == 0) return;
|
if ((rights & 4) == 0) return;
|
||||||
|
|
||||||
var x = '<table align=center><td>';
|
var x = '<table align=center><td style=text-align:center>';
|
||||||
x += '<div style=display:inline-block class=i1 onclick=p10setIcon(1)></div>';
|
x += '<div style=display:inline-block class=i1 onclick=p10setIcon(1)></div>';
|
||||||
x += '<div style=display:inline-block class=i2 onclick=p10setIcon(2)></div>';
|
x += '<div style=display:inline-block class=i2 onclick=p10setIcon(2)></div>';
|
||||||
x += '<div style=display:inline-block class=i3 onclick=p10setIcon(3)></div><br>';
|
x += '<div style=display:inline-block class=i3 onclick=p10setIcon(3)></div>';
|
||||||
x += '<div style=display:inline-block class=i4 onclick=p10setIcon(4)></div>';
|
x += '<div style=display:inline-block class=i4 onclick=p10setIcon(4)></div><br />';
|
||||||
x += '<div style=display:inline-block class=i5 onclick=p10setIcon(5)></div>';
|
x += '<div style=display:inline-block class=i5 onclick=p10setIcon(5)></div>';
|
||||||
x += '<div style=display:inline-block class=i6 onclick=p10setIcon(6)></div></table>';
|
x += '<div style=display:inline-block class=i6 onclick=p10setIcon(6)></div>';
|
||||||
|
x += '<div style=display:inline-block class=i7 onclick=p10setIcon(7)></div></table>';
|
||||||
setDialogMode(2, "Icon Selection", 0, null, x);
|
setDialogMode(2, "Icon Selection", 0, null, x);
|
||||||
QV('id_dialogclose', true);
|
QV('id_dialogclose', true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user