Commit Graph

60 Commits

Author SHA1 Message Date
frederik dde82411d0 fix typo 2025-01-03 11:28:43 +01:00
frederik 82d243d052 make sure we get a nice icon when pinning to the Android start screen 2025-01-03 11:20:23 +01:00
Jason Rhubottom b18172304e Changed paths to relative to support home-assistant ingress (#179) 2024-08-25 09:55:17 +02:00
Alexandre f84c44bad4 Feature proposal : darkmode (#85)
* Create dark-style.css

* Add call to get_color_scheme

* Add call to get_color_scheme

* Create get_color_scheme function

* Add selection box in config.php

* Accept both lower and uppercase COLOR_SCHEME

* Add COLOR_SCHEME

* Add COLOR_SCHEME

* Change birdnet.conf after color scheme selection

* Move css to static to enable it

* Adapt css location to static

* Improve opacity value

* Fix logo background issues on smaller screens

* Avoid overlap of logos

* Ensure clean look (same margin as before but different location)

* Default background as transparent to avoid white on white

* Avoid black on dark ; improve readability

* Last element of green is homogenized to grayscale

* Enable site reload after color_scheme change
2024-06-08 11:44:21 +02:00
frederik 296cc091e0 index.php: cleanup html 2024-04-09 17:52:39 +02:00
frederik 464b2240d8 convert to standard html 2024-04-09 17:52:39 +02:00
frederik 68cbb337fd convert index.php 2024-03-29 13:21:18 +01:00
Lloyd Bayley 74eb351ea1 Update index.php 2024-03-10 22:04:53 +11:00
frederik 421575423c fix: do not rely on /etc/timezone to get the time zone. timedatectl does not update it immediately (anymore), it only gets updated after a reboot 2024-02-24 11:31:36 +01:00
ehpersonal38 5336736b38 reinstate scrollbars 2023-06-01 22:30:24 -04:00
ehpersonal38 126c7a080b #933 remove scrollbars on IE and Firefox 2023-05-30 13:07:19 -04:00
lloydbayley ed9b7c8055 Security Fixes, Mainly 2023-05-22 23:55:11 +10:00
ehpersonal38 9c1f4175e2 Revert "Code Consolidation for API preparations & hard coded path replacements" 2023-05-19 20:03:02 -04:00
jaredb7 a80d39d7b6 Replace all authentication code with a function that does the auth for us
Makes things a little tidier and easier to change in the future, a custom message can be passed to authenticateUser() and this is output if the authentication fails.

Added protection around Include and Exclude species pages as these still accessible & data can still be written to include and exclude species.txt even with a password.
2023-05-13 01:07:19 +10:00
jaredb7 69c4a6d3b1 Move remaining files to use new code
Include and Exclude list updated to use the calculated path to their respective x_species_list.txt files

Move play.php over to also use the new calculated paths to disk_check_exclude

Spectrogram.php remove unused code & replace setting save code with new function

Stats.php removed old code, update paths to use calculated path.

Rename setSetting func to saveSetting
Remove old code from other pages
2023-05-09 20:29:57 +10:00
jaredb7 4e882e3eef Dynamic style,css cache busting
Keeps the existing format used to version the style sheet but it's now based off the file modification time.
2023-04-08 13:58:42 +10:00
jaredb7 7972452d61 Merge branch 'BirdNET-pi-main' into Misc-Fixes-and-Enhancements__mcguirepr89- 2023-04-07 08:50:29 +10:00
ehpersonal38 815e744755 nocache for this update 2023-04-06 14:46:55 -04:00
jaredb7 e695852d19 Make PHP use the systems timezone setting
The timezone in the PHP INI file could differ from the timezone set on the system itself and result incorrect time display on webpages and wherever date functions are used.

Simple fix to read the systems timezone and make PHP use the correct one.
2023-04-02 00:27:08 +10:00
lloydbayley e6323e2546 Update index.php 2023-01-21 12:24:58 -05:00
ehpersonal38 b11ae6c10f issue #704 2023-01-20 14:37:26 -05:00
lloydbayley 1e1dde8dba Update index.php 2022-11-16 17:02:32 +11:00
ehpersonal38 5f727e71a3 Update index.php 2022-11-15 12:30:04 -05:00
lloydbayley ba358ec23c Update index.php 2022-11-15 21:56:09 +11:00
ehpersonal38 9ffdc928bf update timer 2022-08-05 15:01:34 -04:00
ehpersonal38 29358943ba password obfuscation in advanced 2022-07-24 13:17:17 -04:00
ehpersonal38 d13ee9865a transition for earlier commit 2022-07-04 18:01:36 -04:00
ehpersonal38 a48ab9176f Dialog polyfill
https://github.com/GoogleChrome/dialog-polyfill
2022-06-27 15:32:54 -04:00
ehpersonal38 c16d5f2c0c Attempt at clearing cache 2022-06-22 13:03:57 -04:00
ehpersonal38 8d43a409e3 397 part 2 2022-06-22 12:20:47 -04:00
ehpersonal38 340fdc0505 #397 2022-06-22 12:14:43 -04:00
ehpersonal38 d445dbba9d fixy fixy 2022-06-19 08:49:13 -04:00
ehpersonal38 aa4f417ca7 Logo things
Any preference? @mcguirepr89
https://i.imgur.com/s0qfRIZ.png
https://i.imgur.com/eymuHiS.png
2022-05-24 10:20:30 -04:00
ehpersonal38 10e5770c82 Prevent style caching on new update
I assume this'll be 0.14?
2022-05-24 09:22:04 -04:00
mcguirepr89 79a47a902d there's the heading! 2022-05-11 13:40:57 -04:00
mcguirepr89 486cc32b99 just removing the scroll bar now that @ehpersonal38 ethan
is making things so usable. scroll bars are for when stuff sucks
2022-04-23 19:36:16 -04:00
ehpersonal38 e61e38c1c5 Update index.php
Just a little bug
2022-04-18 08:47:53 -04:00
ehpersonal38 b2c80f0db7 Adding links to recordings
This should add a link to all the recordings, so you can copy and share with a friend, or save somewhere.

There's better ways some of this can be done, but it works for now.

(please test this! not sure if I copied all the right files to git)
2022-04-17 14:42:08 -04:00
ehpersonal38 22b9615a2d iframe closing tags
I was investigating why the top nav hamburger button didn't work on mobile when you were on system info, log, or streamlit page, and discovered the iframes didn't have closing tags!

Also note to self: don't run random git commands you find on stackoverflow -- my birds.db was erased :((( (doing a cron backup every day now!)
2022-04-17 09:47:03 -04:00
mcguirepr89 aaeda89f14 spectrogram, species stats, and log now have navigation bar
changed all POSTs to GET
2022-04-15 12:01:46 -04:00
mcguirepr89 f69f04d19d changes that remove the default pi user 2022-04-11 17:29:00 -04:00
mcguirepr89 023b68f386 making changes to accomodate removing the pi user 2022-04-11 10:16:54 -04:00
mcguirepr89 3d4534e9d4 hide scrollbar from index.php 2022-04-02 12:44:56 -04:00
mcguirepr89 3f5c667fa1 single URL installation -- 1 custom URL 2022-03-14 09:58:19 -04:00
mcguirepr89 b7c0c1bd78 testing another installation 2022-03-07 13:54:03 -05:00
mcguirepr89 77cde0df01 ugh 2022-03-06 16:28:10 -05:00
mcguirepr89 f9a894d5d3 tweaks 2022-03-06 13:54:40 -05:00
mcguirepr89 decf49e37c fixed the streamer mess 2022-03-04 20:58:06 -05:00
mcguirepr89 7578e1d7ef I love this version!!! 2022-03-03 18:14:56 -05:00
mcguirepr89 99018f7128 adding the old toolset back to the newif 2022-03-03 15:55:35 -05:00