A live bird collage card for your Home Assistant dashboard.
password obfuscation in advanced
ehpersonal3829358943ba5c
diff --git a/homepage/index.php b/homepage/index.phpindex df28a8db..554b6413 100644--- a/homepage/index.php+++ b/homepage/index.php@@ -5,7 +5,7 @@ body::-webkit-scrollbar {display:none}</style>-<link rel="stylesheet" href="style.css?v=7.04.22">+<link rel="stylesheet" href="style.css?v=7.24.22"><link rel="stylesheet" type="text/css" href="static/dialog-polyfill.css" /><body><div class="banner">diff --git a/homepage/style.css b/homepage/style.cssindex 8dbc2ce4..b5edaf2a 100644--- a/homepage/style.css+++ b/homepage/style.css@@ -798,4 +798,13 @@ pre.bash {#toolsbtn {min-width: max-content;+}++#showpassword {+ cursor:pointer;+ margin-left:2px;+ height:5px;+ line-height:5px;+ padding:3px;+ background-color:#9fe29b}\ No newline at end of filediff --git a/homepage/views.php b/homepage/views.phpindex d446f633..ea153e53 100644--- a/homepage/views.php+++ b/homepage/views.php@@ -21,7 +21,7 @@ if (file_exists('./scripts/thisrun.txt')) {$config = parse_ini_file('./scripts/firstrun.ini');}?>-<link rel="stylesheet" href="style.css?v=7.04.22">+<link rel="stylesheet" href="style.css?v=7.24.22"><style>body::-webkit-scrollbar {display:nonediff --git a/scripts/advanced.php b/scripts/advanced.phpindex e0e2aab2..8ae37297 100644--- a/scripts/advanced.php+++ b/scripts/advanced.php@@ -245,7 +245,7 @@ foreach($formats as $format){<h3>BirdNET-Pi Password</h3><p>This password will protect your "Tools" page and "Live Audio" stream.</p><label for="caddy_pwd">Password: </label>- <input style="width:40ch" name="caddy_pwd" type="text" value="<?php print($newconfig['CADDY_PWD']);?>" /><br>+ <input style="width:40ch" name="caddy_pwd" id="caddy_pwd" type="password" value="<?php print($newconfig['CADDY_PWD']);?>" /><span id="showpassword" onmouseover="document.getElementById('caddy_pwd').type='text';" onmouseout="document.getElementById('caddy_pwd').type='password';">show</span><br><h3>Custom URL</h3><p><a href="mailto:[email protected]?subject=Request%20BirdNET-Pi%20Subdomain&body=<?php include('birdnetpi_request.php'); ?>" target="_blank">Email Me</a> if you would like a BirdNETPi.com subdomain. This would be, <i>https://YourLocation.birdnetpi.com</i></p><p>When you update the URL below, the web server will reload, so be sure to wait at least 30 seconds and then go to your new URL.</p>