summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Scheibe <mail@robert-scheibe.de>2025-01-18 14:42:05 +0100
committerRobert Scheibe <mail@robert-scheibe.de>2025-01-18 14:42:05 +0100
commita64158fd3c117bd108e4f9d4f9161dc57b60cf9b (patch)
tree388189b54f19529c138110c00a8792febb7710ce
parent1b494e6d3e7da116e34f915269892b5e8c752271 (diff)
removed magnifying lensmain
-rwxr-xr-xdeploy.sh2
-rw-r--r--index.html8
2 files changed, 5 insertions, 5 deletions
diff --git a/deploy.sh b/deploy.sh
index ebd255e..2638475 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -4,4 +4,4 @@ scp favicon.ico plot.py read_sensors.py water_the_plant create_backup make_photo
ssh robert@waterpi -C '\
sudo mv favicon.ico index.html history.html bck.png error.png fbck.png ffwd.png fwd.png stop.png /var/www/html; \
sudo chown www-data:www-data /var/www/html/*.html /var/www/html/*.png; \
- sudo mv plot.py read_sensors.py create_backup make_photo read_temperature.py water_the_plant /usr/local/bin'
+ sudo mv plot.py read_sensors.py create_backup make_photo water_the_plant /usr/local/bin'
diff --git a/index.html b/index.html
index 7d90169..22c356f 100644
--- a/index.html
+++ b/index.html
@@ -225,10 +225,10 @@ function updateImage() {
document.getElementById('featured').src = `${timeString}.jpg`;
// Wait for the new image to load before reinitializing
const featuredImage = document.getElementById('featured');
- featuredImage.onload = function() {
+ /*featuredImage.onload = function() {
resetMagnifier();
magnify("featured", 3);
- };
+ };*/
}
function updateButtons() {
@@ -265,11 +265,11 @@ document.addEventListener('keydown', function(event) {
updateGallery();
/* Initiate Magnify Function
-with the id of the image, and the strength of the magnifier glass:*/
+with the id of the image, and the strength of the magnifier glass:
const featuredImage = document.getElementById('featured');
featuredImage.onload = function() {
magnify("featured", 3);
-};
+};*/
// Aktualisiere die Galerie alle 15 Minuten
setInterval(updateGallery, 900000);