1
0
mirror of https://github.com/TheGreyDiamond/Enlight.git synced 2026-01-31 07:30:24 +01:00

Node.js deal with it

This commit is contained in:
TheGreyDiamond
2020-11-22 01:16:08 +01:00
parent a166aa8108
commit 944df57777
14 changed files with 770 additions and 0 deletions

15
ui_templates/index.html Normal file
View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<link href="static/default.css" rel="stylesheet"/>
</head>
<body>
<h1>Hello World!</h1>
We are using node <script>document.write(process.versions.node)</script>,
Chrome <script>document.write(process.versions.chrome)</script>,
and Electron <script>document.write(process.versions.electron)</script>.
</body>
</html>

21
ui_templates/startUp.ejs Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Starting</title>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<link href="static/default.css" rel="stylesheet"/>
</head>
<body>
<center>
<img src="static/icon.png" alt="Logo" height="40px"></img>
<h1>Enlight </h1></center>
<h3>Starting...</h3>
<small style="padding: 1px; margin: 0px;">
We are using node <script>document.write(process.versions.node)</script>,
Chrome <script>document.write(process.versions.chrome)</script>,
and Electron <script>document.write(process.versions.electron)</script>.
</small>
</body>
</html>

View File

@@ -0,0 +1,12 @@
@import url('static/fonts/Quicksand-Regular.ttf');
body, html {
background-color: rgb(51, 51, 51);
height: 100%;
width: 100%;
overflow: hidden;
font-family: 'Quicksand', sans-serif;
color:white;
}
small {
font-size: 10px;
}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB