yWeb: rework for basic functionality

Based on the last changes by svenhoefer
This commit is contained in:
2022-11-07 21:22:45 +01:00
parent 8189f3c86d
commit ccf604cc8e
145 changed files with 11179 additions and 596 deletions

View File

@@ -0,0 +1,6 @@
installdir = $(PRIVATE_HTTPDDIR)/lcd4linux
install_DATA = \
index.html \
manifest.json \
ylcd4linux.yhtm

View File

@@ -0,0 +1,15 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="expires" content="Thu, 01 Jan 1970 00:01:00 GMT">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="refresh" content="0; URL=ylcd4linux.yhtm">
<title></title>
</head>
<body>
<div>
</div>
</body>
</html>

View File

@@ -0,0 +1,18 @@
{
"name": "yLCD4Linux",
"icons": [
{
"src": "/favicon/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/favicon/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#212121",
"background_color": "#212121",
"display": "standalone"
}

View File

@@ -0,0 +1,54 @@
{=var-set:lcd4linux_png=/tmp/lcd4linux.png=}
{=include-block:Y_Blocks.txt;head_v3=}
<meta http-equiv="refresh" content="15; URL=ylcd4linux.yhtm">
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/favicon/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favicon/favicon-16x16.png" sizes="16x16">
<link rel="mask-icon" href="/favicon/safari-pinned-tab.svg" color="#212121">
<link rel="manifest" href="/lcd4linux/manifest.json">
<meta name="theme-color" content="#212121">
<style type="text/css">
/*<![CDATA[*/
html {
margin: 0;
padding: 0;
}
body {
background-color: #212121;
color: #bdbdbd;
height: 100%;
}
.ylcd4linux {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
/*]]>*/
</style>
<script type="text/javascript">
//<![CDATA[
jQuery(document).ready(function() {
jQuery('#screenshot').attr("src", "{=var-get:lcd4linux_png=}?" + Math.random());
jQuery('html head').find('title').text("yLCD4Linux");
});
//]]>
</script>
</head>
<body>
<div class="ylcd4linux">
{=if-file-exists:{=var-get:lcd4linux_png=}~
<img id="screenshot" border="0" src="" alt=""/>
~
<div>{=var-get:lcd4linux_png=} not found</div>
=}
</div>
</body>
</html>