Commit Graph

315 Commits

Author SHA1 Message Date
Alexandre 44e7d113ca Load progress bar after image on audio player (#326)
* Load progress bar after image

* Ensure bottom overlay on top

* zindex
2025-04-26 15:38:40 +02:00
frederik 1d8506bb93 cleanup: consolidate duplicate code 2025-04-13 18:18:05 +02:00
frederik 8777a6cffe use common species_list 2025-04-13 18:18:05 +02:00
frederik 054b3b3dab consolidate Include/Exclude/Whitelist 2025-04-13 18:18:05 +02:00
Alexandre 7c22e2593e New feat : Redesigned audio player (#279)
* New audio player

* New style

* Readd vertical bar

* Improve appearance safari

* Improve layout

* Improve alignement of bottom elements

* Align
2025-04-12 10:09:03 +02:00
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
frederik 1c43dfc6cd add restore to views and system_controls 2024-12-03 19:10:03 +01:00
frederik 3f35cf7c87 add plupload 2024-12-03 19:10:03 +01:00
Alexandre 6f41569cba Ensure ratio of image on screen <800px 2024-11-22 18:47:17 +01:00
Alexandre bc7112312d Ensure ratio of image on screen <800px 2024-11-22 18:47:17 +01:00
frederik 98f0d04329 fix: small, fast scrolls might be detected as swipes 2024-11-03 10:45:35 +01:00
Alexandre 5e70dcabbb UI : align overview and todays UI with centered stats #182 (#191)
* Move chart to center

* Align css

* Align dark-style.css

* Add stats title

* Removed title : cleaner look

* Shorter titles for stats

* Shorter title, unique is implicit

* Invert Species Total and Today

* Re-add left chart

* Re-add left chart bis

* Adapt css for flexible layout

* Align with main css

* Restore overview-stats, add center-column

* Restore style, add center-column

* Restore css

* add center-column

* Remove useless change

* Prevents centering

* Prevents centering

* Aggregate ajax sqlite

* Ensured the 5 sqlite commands are centralized

* Load center only after left has completed (to sync values)
2024-10-15 19:52:56 +02:00
Alexandre 4175224e2c UI : align sort_date with other sort icons (#204)
* sort_date icon aligned with others

* Aligned design icon

* base on sort_abc instead of sort_occ

* Improve layout

* Improve again
2024-10-12 11:01:28 +02:00
Alexandre 96df8e781d Feat : sort species by max confidence (#198)
* Add sort by occurence button

* sort_conf icon

* Optimized svg
2024-09-30 20:50:59 +02:00
Jason Rhubottom b18172304e Changed paths to relative to support home-assistant ingress (#179) 2024-08-25 09:55:17 +02:00
Alexandre b77f579e35 Feat : limit the number of audio files to keep per species (#121)
* New disk usage settings

* Use sudo for rm, just in case

* Remove set -x

* Correct code for png

* Correct today

* Correct dates

* Accepts date format of different distributions

* Avoid message

* Very significant processing time optimisation

* Update disk_species_clean.sh

* Avoid locking database

* Update disk_species_clean.sh

* Disable set -x (again)

* Add number of remaining files

* Add new variables to update_birdnet_snippets.sh

* Consolidate disk management elements

* Update disk_species_clean.sh

* Update disk_species_clean.sh

* Protect last 7 days

* Add options to advanced.php, in same style

* Remove from config

* Update config.php

* Reset max_disk_usage to hard 95

* Improve layout

* Remove automatic addition of MAX_FILE_SPECIES if not defined https://github.com/alexbelgium/hassio-addons/issues/1458

* Cosmetic white-listed changed to whitelist

* Add comma in text

* Update scripts/advanced.php

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>

* Update crontab if less than 5 #birdnet occurence (= all scripts not installed)

* Made .sh file executable

* Remove unused field k5 (second field of year) ; add explanations

* Call functions without ()

* Uninstall current cron before reinstalling them

* Update update_birdnet_snippets.sh

* Use $HOME instead of $mydir

---------

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-07-12 18:18:27 +02:00
Alexandre 18693fae06 Feat : add species whitelist (#110)
* Add white_list to server.py

https://github.com/Nachtzuster/BirdNET-Pi/issues/108

* Create whitelist_list.php

* Add whitelist to views

* Make more explicit the usage

* Update views.php

* Align with uppercase

* Align with "species"

https://github.com/Nachtzuster/BirdNET-Pi/issues/108

* Update views.php

* Correct python code

https://github.com/Nachtzuster/BirdNET-Pi/issues/108

* Align clear_all_data.sh

* Align install_services.sh

* Embed whitelist_species_list in PREDICTED_SPECIES_LIST

* Only embed whitelist in predicted list

* Correct python append @dalogue1

https://github.com/Nachtzuster/BirdNET-Pi/issues/108#issuecomment-2183508903

* Update scripts/server.py

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>

* Use preexisting functions

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>

* Alert not a recommended WoW

---------

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-06-30 10:18:32 +02:00
Alexandre b959325605 Feat : proposal to standardize behavior of click on Com_Name and Sci_Name (#116)
* Align with 3 logos : wikipedia ; info_site ; minigraph

* Add info & wiki.png

* Rename wikipedia.png to wiki.png

* Show icons on recent detections

* icons with white background

* Align icons with scientific name to center common name

* Add icons

* Not sure what this makes

* Correct link to info_site

* Restore initial cleaner layout

* Have same behavior for title than the overview

* Add icons of info and wikipedia to recordings

* Add icons

* Clean

* Improve icons size

* Add icons to species stats

* Put icons near sci_name

* Remove pictures from mobile on main page for small screens

* Other solution for mobile

* Improve visibility on smaller screen and consistency

* Improve visibility on smaller screen and consistency

* Improve readability on small screens

* Improve readability on small screens

* Set image size for smaller screens

* Make scientific name in italics

* Sci_name in italics

* Add sci_name in Italics for consistency

* Inline icons with scientific text for consistency

* Italics for todays scientific name
2024-06-29 10:15:30 +02:00
Alexandre e44b30717e Light : correct dropdowns to white 2024-06-28 09:20:39 +02:00
Alexandre 5d8daff3cb Dark : improve halo 2024-06-28 09:15:37 +02:00
Alexandre 4cece9014a Avoid logo halo 2024-06-27 11:52:13 +02:00
Alexandre eae16d0555 Cleaner 2024-06-26 08:53:50 +02:00
Alexandre ef2c535c12 More subtle halo 2024-06-26 08:49:37 +02:00
Alexandre 48ce98fd02 More diffuse shadow 2024-06-25 16:38:53 +02:00
Alexandre 0dad370921 Have a white halo around png on dark mode 2024-06-25 15:57:48 +02:00
Alexandre 475f03274a Remove useless space 2024-06-25 13:33:11 +02:00
Alexandre b22c253ba3 Lighter slider thumb 2024-06-22 16:48:03 +02:00
Alexandre f0d2a99557 Slide thumb grey 2024-06-22 16:46:36 +02:00
Alexandre a675166552 Lighter green for drop down @hiemstra87
I used the same light green as already present in the css code for showpassword and rtspstream

Co-Authored-By: Hiemstra <145980686+hiemstra87@users.noreply.github.com>
2024-06-21 10:27:28 +02:00
Alexandre 87d330dd2e Align light css for sortbutton @hiemstra87
Co-Authored-By: Hiemstra <145980686+hiemstra87@users.noreply.github.com>
2024-06-21 10:23:32 +02:00
Alexandre 26de851669 Improve flickr overlay image dark layout 2024-06-21 10:19:47 +02:00
Alexandre 6b905b200c Css : fix adminer background 2024-06-21 09:47:13 +02:00
Alexandre f117a44623 Not needed anymore as css styles were defined for droplists 2024-06-21 09:33:54 +02:00
Alexandre f09c9acab2 Return to gray scale @hiemstra87
Co-Authored-By: Hiemstra87 <145980686+hiemstra87@users.noreply.github.com>
2024-06-20 17:18:18 +02:00
Alexandre 26789ee7cf Invert background of active 2024-06-20 14:56:19 +02:00
Alexandre 5a2d479ff2 Need to read more slowly 2024-06-20 14:50:13 +02:00
Alexandre c2240c984b Realign to comment 2180493471
Co-Authored-By: Hiemstra87 <145980686+hiemstra87@users.noreply.github.com>
2024-06-20 14:48:54 +02:00
Alexandre 939283e71b Darker palette 2024-06-20 14:45:42 +02:00
Alexandre 8fa422adcf Update php + dark css @hiemstra87
Co-Authored-By: Hiemstra87 <145980686+hiemstra87@users.noreply.github.com>
2024-06-20 14:45:09 +02:00
Alexandre 218b5ea619 Use css for sortbuttons style
Thanks #hiemstra87 https://github.com/Nachtzuster/BirdNET-Pi/pull/115

Co-Authored-By: Hiemstra87 <145980686+hiemstra87@users.noreply.github.com>
2024-06-20 12:07:39 +02:00
Alexandre 530d4566b3 Add chartdiv to darkstyle 2024-06-19 09:16:39 +02:00
Alexandre b779e9f1ef Add chartdiv style 2024-06-19 09:10:57 +02:00
frederik 2c4fe69505 fix: use a font that can actually render the characters 2024-06-15 12:57:02 +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
Alexandre a06b5bacf4 Feat : Add Weekly report button in views.php (#73)
* Add Weekly report button

* Put weekly report next to daily charts

https://github.com/Nachtzuster/BirdNET-Pi/pull/73
2024-06-02 10:48:41 +02:00
Alexandre eeb2048ca6 Adminer iframe ? (#78)
* Show Adminer in iframe

* Add a link to open in a new page if needed

* X-Frame-Options to SameOrigin

* Use uppercase as per standard
2024-06-01 09:03:54 +02:00
Alexandre 2fd75ccafc Feat : change specie detected (#62)
* Add changedetection function

* Create birdnet_changeidentification.sh

* Add files via upload

* Use a modal box for display of the species

* Allow filtering on safari ios

* Reset the dropdown if cancelled

* Fix : click outside modal box to cancel it in safari ios

* Switch modal style to style.css

* Switch modal style to style.css

* Improves modal rendition on small screens

* Use ./scripts/labels.txt instead of hardcoded home

* Added physical cancel button

* ensure user pi executes the scripts

https://github.com/Nachtzuster/BirdNET-Pi/pull/62

* Specify exec if not explicit

https://github.com/Nachtzuster/BirdNET-Pi/pull/62

* Try another way to define the variables

https://github.com/Nachtzuster/BirdNET-Pi/pull/62

* Align shebang with other scripts

https://github.com/Nachtzuster/BirdNET-Pi/pull/62

* Allow different HOME

https://github.com/Nachtzuster/BirdNET-Pi/pull/62

* Update birdnet_changeidentification.sh

* Align way to call sudo -u $user with other birdnet-pi code

https://github.com/Nachtzuster/BirdNET-Pi/pull/62

* Align with proposal

https://github.com/Nachtzuster/BirdNET-Pi/pull/62

* Successfully converted message

https://github.com/Nachtzuster/BirdNET-Pi/pull/62

* Align "safe" variables logic to helpers.py

* Make birdnet_changeidentification.sh executable

* Force confidence to 1.001

* Set confidence to 0

https://github.com/Nachtzuster/BirdNET-Pi/pull/62
2024-05-30 11:30:09 +02:00
frederik 9d3a7b44ff make sure the stats are not pushed down 2024-04-15 15:08:00 +02:00
frederik a22c7c089f fix topnav formatting 2024-04-10 13:04:08 +02:00