bugfix
This commit is contained in:
@@ -138,11 +138,13 @@ function restart() {
|
||||
document.head.appendChild(styleTag);
|
||||
}
|
||||
|
||||
// console.log(css)
|
||||
styleTag.textContent = css;
|
||||
|
||||
document.getElementById('start-menu-icon').src =
|
||||
`../images/radix_os_${activeTheme}_img.png`;
|
||||
console.log(css)
|
||||
const startmenuicon = document.getElementById('start-menu-icon');
|
||||
if(!startmenuicon) {
|
||||
return true;
|
||||
}
|
||||
startmenuicon.src = `../images/radix_os_${activeTheme}_img.png`;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -785,6 +787,7 @@ function positionTooltip(e) {
|
||||
let x = e.clientX + offset;
|
||||
let y = e.clientY + offset;
|
||||
|
||||
|
||||
const rect = tooltip.getBoundingClientRect();
|
||||
|
||||
if (x + rect.width > window.innerWidth) {
|
||||
|
||||
14
public/views/rbac.hbs
Normal file
14
public/views/rbac.hbs
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Role Based Access Control</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container static" style="height: 100vh;">
|
||||
<div class="card static" style="overflow-y:auto;flex: 1 1 auto;" >
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -41,7 +41,6 @@
|
||||
"height": "600px"
|
||||
},
|
||||
"icon": "app.png",
|
||||
"license": "rbac",
|
||||
"permissions": [
|
||||
{
|
||||
"scope": "SYSTEM",
|
||||
|
||||
@@ -66,7 +66,9 @@ module.exports = {
|
||||
|
||||
|
||||
|
||||
|
||||
app.post('/window/Server/rbac', async (req, res) => {
|
||||
await renderWindow(app, 'rbac.hbs', { }, { }, res)
|
||||
});
|
||||
|
||||
app.post('/window/EventLog/eventlog', async (req, res) => {
|
||||
await renderWindow(app, 'eventlog.hbs', { }, { }, res)
|
||||
|
||||
Reference in New Issue
Block a user