1
0
mirror of https://github.com/TheGreyDiamond/Enlight.git synced 2025-07-19 05:03:49 +02:00

Added font awesome and more

This commit is contained in:
TheGreyDiamond
2020-11-22 20:38:10 +01:00
parent 11145b6fba
commit e0e504fa0c
1709 changed files with 135182 additions and 50 deletions

View File

@ -1,15 +1,49 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<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>
<!--<meta
http-equiv="Content-Security-Policy"
content="script-src 'self' 'unsafe-inline';"
/>-->
<link href="static/default.css" rel="stylesheet" />
<link href="static/fontawesome-free-5.15.1-web/css/all.css" rel="stylesheet">
</head>
<body>
<div id="header-bar" class="header-bar">
<clock id="clock" class="header-clock"></clock>
<battery id="battery"></battery>
</div>
<script>
function updateTime(k) {
if (k < 10) {
return "0" + k;
} else {
return k;
}
}
setInterval(function(){
var date = new Date();
hour = updateTime(date.getHours());
min = updateTime(date.getMinutes());
sec = updateTime(date.getSeconds());
document.getElementById("clock").innerHTML = hour + ":" + min + ":" + sec;
}, 200);
</script>
<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>
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>