Show warning if JavaScript is disabled
This commit is contained in:
1 parent
1859d41405
commit
2d853607e3
1 file changed
+1
@@ -208,6 +208,7 @@ router.get("/", async ctx => {
|
||||
<link rel="stylesheet" href="app.css">
|
||||
</head>
|
||||
<body>
|
||||
<noscript>GenieACS UI requires JavaScript to work. Please enable JavaScript in your browser.</noscript>
|
||||
<script>
|
||||
window.clientConfig = ${JSON.stringify({
|
||||
ui: localCache.getUiConfig(ctx.state.configSnapshot)
|
||||
|
||||
Reference in new issue
Block a user