mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
yWeb: add lcd4linux page
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7d30c9f71d
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-28 (Fri, 28 Jan 2022)
Origin message was:
------------------
- yWeb: add lcd4linux page
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -460,6 +460,7 @@ data/y-web/favicon/Makefile
|
|||||||
data/y-web/images/Makefile
|
data/y-web/images/Makefile
|
||||||
data/y-web/info/Makefile
|
data/y-web/info/Makefile
|
||||||
data/y-web/jquery/Makefile
|
data/y-web/jquery/Makefile
|
||||||
|
data/y-web/lcd4linux/Makefile
|
||||||
data/y-web/languages/Makefile
|
data/y-web/languages/Makefile
|
||||||
data/y-web/scripts/Makefile
|
data/y-web/scripts/Makefile
|
||||||
data/y-web/styles/Makefile
|
data/y-web/styles/Makefile
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
SUBDIRS = images scripts languages styles
|
SUBDIRS = images scripts languages styles
|
||||||
|
|
||||||
# NI-yWeb
|
# NI-yWeb
|
||||||
SUBDIRS += favicon info jquery
|
SUBDIRS += favicon info jquery lcd4linux
|
||||||
|
|
||||||
installdir = $(PRIVATE_HTTPDDIR)
|
installdir = $(PRIVATE_HTTPDDIR)
|
||||||
|
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
<link rel="icon" type="image/png" href="/favicon/favicon-32x32.png" sizes="32x32">
|
<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="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="mask-icon" href="/favicon/safari-pinned-tab.svg" color="#212121">
|
||||||
<link rel="manifest" href="/favicon/manifest.json">
|
<link rel="manifest" href="/info/manifest.json">
|
||||||
<meta name="theme-color" content="#212121">
|
<meta name="theme-color" content="#212121">
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
6
data/y-web/lcd4linux/Makefile.am
Normal file
6
data/y-web/lcd4linux/Makefile.am
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
installdir = $(PRIVATE_HTTPDDIR)/lcd4linux
|
||||||
|
|
||||||
|
install_DATA = \
|
||||||
|
index.html \
|
||||||
|
manifest.json \
|
||||||
|
ylcd4linux.yhtm
|
15
data/y-web/lcd4linux/index.html
Normal file
15
data/y-web/lcd4linux/index.html
Normal 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>
|
18
data/y-web/lcd4linux/manifest.json
Normal file
18
data/y-web/lcd4linux/manifest.json
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"name": "NI - 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"
|
||||||
|
}
|
54
data/y-web/lcd4linux/ylcd4linux.yhtm
Normal file
54
data/y-web/lcd4linux/ylcd4linux.yhtm
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
{=var-set:lcd4linux_png=/tmp/lcd4linux.png=}
|
||||||
|
|
||||||
|
{=include-block:Y_NI_Blocks.txt;head=}
|
||||||
|
<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>
|
Reference in New Issue
Block a user