From 97c0e394b3dbcfc29c9ceba1304989d0dfade87f Mon Sep 17 00:00:00 2001 From: Patrick McGuire Date: Wed, 1 Dec 2021 15:39:55 -0500 Subject: [PATCH] birdweather updates and webpage aesthetic changes --- homepage/index.html | 2 +- homepage/menu.html | 114 ++++++++++++++++++++------------------ scripts/update_birdnet.sh | 4 +- 3 files changed, 62 insertions(+), 58 deletions(-) diff --git a/homepage/index.html b/homepage/index.html index ce4d4d4..a1294b0 100644 --- a/homepage/index.html +++ b/homepage/index.html @@ -31,7 +31,7 @@ - + diff --git a/homepage/menu.html b/homepage/menu.html index c7122b7..2889cc0 100644 --- a/homepage/menu.html +++ b/homepage/menu.html @@ -1,75 +1,79 @@ <html> -<head> -<title>HTML Frames Example - Menu</title> -<style type="text/css"> + <head> + <title>HTML Frames Example - Menu</title> + <style type="text/css"> a { - text-decoration:none; - margin: 0px 0px 0px 0px; - color:black; + text-decoration:none; + margin: 0px 0px 0px 0px; + color:black; + font-size: small; } body { - font-family:verdana,arial,sans-serif; - font-size:medium; - margin:10px; - background-color: rgb(119, 196, 135); + font-family:verdana,arial,sans-serif; + font-size:medium; + margin:10px; + background-color: rgb(119, 196, 135); + text-align: left; + padding-bottom: 30px; } h3 { - margin: 0px 0px -15px 0px; - text-align: center; + margin: 0px 0px -15px 0px; + text-align: center; } h4,h5 { - text-align: center; - margin: 0px 0px 5px 0px; + text-align: center; + margin: 0px 0px 5px 0px; } footer { - position:absolute; - bottom:0; - left:0; - width:100%; + background: rgb(119, 196, 135); + position: fixed; + padding-top: 10px; + left: 0; + bottom: 0; + width:100%; } hr { - border-bottom: 1px solid black; + border-bottom: 1px solid black; } -</style> -</head> -<body> -<h5>Extractions</h5> -<p style="font-size: small;text-align: left;padding-left:5px;"> -<a href="http://birdnetpi.local/By_Date/" target="content">By Date</a><br> -<a href="http://birdnetpi.local/By_Common_Name/" target="content">By Common Name</a><br> -<a href="http://birdnetpi.local/By_Scientific_Name/" target="content">By Scientific Name</a><br> -<a href="http://birdnetpi.local/Processed/" target="content">Processed</a><br> +body::-webkit-scrollbar { + display:none +} + </style> + </head> + <body> -</p> -<hr class="solid"> -<h5>System Links</h5> -<p style="font-size: small;text-align: left;padding-left:5px;"> -<a href="http://birdnetpi.local/scripts/" target="content">Tools</a><br> + <h5>Extractions</h5> + - <a href="http://birdnetpi.local/By_Date/" target="content">By Date</a><br> + - <a href="http://birdnetpi.local/By_Common_Name/" target="content">By Common Name</a><br> + - <a href="http://birdnetpi.local/By_Scientific_Name/" target="content">By Scientific Name</a><br> + - <a href="http://birdnetpi.local/Processed/" target="content">Processed</a><br> -<a href="http://birdnetpi.local/phpsysinfo/" target="content">System Info</a><br> + <hr class="solid"> -<a href="http://birdnetpi.local:8080" target="content">BirdNET-Lite Log</a><br> + <h5>System Links</h5> + - <a href="http://birdnetpi.local/scripts/" target="content">Tools</a><br> + - <a href="http://birdnetpi.local/phpsysinfo/" target="content">System Info</a><br> + - <a href="https://birdnetpi.local:8080" target="content">BirdNET-Lite Log</a><br> + - <a href="https://birdnetpi.local:8888" target="content">Extraction Log</a><br> -<a href="http://birdnetpi.local:8888" target="content">Extraction Log</a><br> + <hr class="solid"> -</p> -<hr class="solid"> -<h5>External Links</h5> -<p style="font-size: small;text-align: left;padding-left:5px;"> -<a href="https://app.birdweather.com" target="_content">BirdWeather</a><br> -<a href="https://github.com/mcguirepr89/BirdNET-Pi" target="_content">Repository</a><br> -<a href="https://github.com/mcguirepr89/BirdNET-Pi/wiki" target="_content">Wiki Help Page</a><br> -<a href="https://wttr.in" target="content">Wttr.in Report</a><br> -<a href="https://www.birds.cornell.edu" target="_content">Cornell Lab of Ornithology</a><br> -</p> -<hr class="solid"> -<h5>Other<br>BirdNET-Pis</h5> -<a style="font-size: small;" href="https://birdnetpi.pmcgui.xyz" target="_content">United States</a><br> -<a style="font-size: small;" href="https://birds.naturestation.net" target="_content">South Africa</a><br> -<a style="font-size: small;" href="https://birdnetpigermany.hopto.org" target="_content">Germany</a> -</body> -<footer style="font-size: small;"> -Icon by <a style="font-weight: bold" href="https://www.freepik.com" title="Freepik">Freepik</a> from <a style="font-weight: bold" href="https://www.flaticon.com/" title="Flaticon">Flaticon.com</a> -</footer> + <h5>External Links</h5> + - <a href="https://app.birdweather.com" target="_content">BirdWeather</a><br> + - <a href="https://github.com/mcguirepr89/BirdNET-Pi" target="_content">Repository</a><br> + - <a href="https://github.com/mcguirepr89/BirdNET-Pi/wiki" target="_content">Wiki Help Page</a><br> + - <a href="https://v2.wttr.in/" target="content">Wttr.in Report</a><br> + - <a href="https://www.birds.cornell.edu" target="_content">Cornell Lab of Ornithology</a><br> + <hr class="solid"> + + <h5>Other<br>BirdNET-Pis</h5> + - <a href="https://birdnetpi.pmcgui.xyz" target="_content">United States</a><br> + - <a href="https://birds.naturestation.net" target="_content">South Africa</a><br> + - <a href="https://birdnetpigermany.hopto.org" target="_content">Germany</a> + + </body> + <footer style="font-size: small;"> + Icon by <a style="font-weight: bold" href="https://www.freepik.com" title="Freepik">Freepik</a> from <a style="font-weight: bold" href="https://www.flaticon.com/" title="Flaticon">Flaticon.com</a> + </footer> </html> diff --git a/scripts/update_birdnet.sh b/scripts/update_birdnet.sh index 7a33523..59540d8 100755 --- a/scripts/update_birdnet.sh +++ b/scripts/update_birdnet.sh @@ -52,7 +52,7 @@ remove_services remove_scripts # Stage 2 does a git pull to fetch new things -sudo -u${USER} git -C ${HOME}/BirdNET-Pi checkout -f -sudo -u${USER} git -C ${HOME}/BirdNET-Pi pull -f +#sudo -u${USER} git -C ${HOME}/BirdNET-Pi checkout -f +#sudo -u${USER} git -C ${HOME}/BirdNET-Pi pull -f # Trigger the new update_birdnet2.sh sudo -u${USER} ${my_dir}/update_birdnet2.sh