Changes to be committed:
deleted: beloit/menu.png new file: clay/menu.avi deleted: clay/menu.png modified: docker/entrypoint.sh modified: index.html deleted: st_marys/menu.png
This commit is contained in:
BIN
beloit/menu.png
BIN
beloit/menu.png
Binary file not shown.
|
Before Width: | Height: | Size: 266 KiB |
BIN
clay/menu.avi
Normal file
BIN
clay/menu.avi
Normal file
Binary file not shown.
BIN
clay/menu.png
BIN
clay/menu.png
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 MiB |
@@ -5,11 +5,10 @@ cd /usr/share/nginx
|
|||||||
rm -rf html
|
rm -rf html
|
||||||
mkdir html
|
mkdir html
|
||||||
|
|
||||||
git clone https://github.com/stenny94/kiosk-menu.git html
|
git clone https://git.brodystenfors.cloud/stenny94/kiosk-menu-video.git html
|
||||||
|
|
||||||
cd html
|
cd html
|
||||||
sed -i "s/*LOCATION/${LOCATION:-clay}/g" index.html
|
sed -i "s/*LOCATION/${LOCATION:-clay}/g" index.html
|
||||||
sed -i "s/*FILETYPE/${FILETYPE:-image}/g" index.html
|
|
||||||
|
|
||||||
nginx -g "daemon off;"
|
nginx -g "daemon off;"
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
background-color: black; /* Prevents white flash during load */
|
background-color: black; /* Prevents white flash during load */
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
video {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
display: block;
|
display: block;
|
||||||
@@ -24,6 +24,8 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="*LOCATION/menu.png" alt="Menu Image">
|
<video src="*LOCATION/menu.avi" muted="" autoplay="" loop=""></video>
|
||||||
|
|
||||||
|
<!-- <img src="*LOCATION/menu.png" alt="Menu Image"> -->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB |
Reference in New Issue
Block a user