Show warning if JavaScript is disabled

This commit is contained in:
Shweelan Samson authored and Zaid Abdulla committed 2019-07-24 01:23:30 -07:00
1 parent 1859d41405
commit 2d853607e3
1 file changed
+1
+1
View File
@@ -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)