-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (44 loc) · 1.29 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?
const {importHead}=globals.functions;
const {hostname}=require("os");
const isDev=hostname()!=="lff-raspberrypi"&&!input.noDev;
const path="/p/Chat/";
?><!DOCTYPE html>
<!--Created 09.03.2023 at 09:14-->
<html>
<head>
<?=importHead({
input,
title:"Chat",
tabs:2,
description: "Landos Chat portal to chat with friends!",
keywords:[
"chat","online","lff chat","landos chat","friends","simple","fast","tiny",
],
icons:{
"360x360": "/files/img/icon/Chat/chat.png",
"16x16": "/files/img/icon/Chat/chat16.png",
"32x32": "/files/img/icon/Chat/chat32.png",
"64x64": "/files/img/icon/Chat/chat64.png",
"144x144": "/files/img/icon/Chat/chat144.png",
},
manifest: path+"manifest.json",
css:[
"/css/main.css",
path+"style.css",
],
script:[
"https://cdn.socket.io/4.5.4/socket.io.min.js",
"https://cdn.jsdelivr.net/gh/L3P3/lui@7c057f498ee8813053d7f7cff3af7141b53ced03/"+(isDev&&!input.legacy?"lui.dev.js":"lui.js"),
],
scriptLegacy:[
"/files/other/lui/lui.legacy.js",
],
})?>
</head>
<body>
<h1>Web Frame Work ist beschädigt oder kaput!</h1>
<noscript><h1>UND JavaScript ist aus!</h1></noscript>
<script src=<?=isDev?(path+"app.js"):input.legacy?(path+"build/app.legacy.js"):(path+"build/app.js")?>></script>
</body>
</html>