Skip to content

A live bird collage card for your Home Assistant dashboard.

less scrolling

mcguirepr8947028b3d6c9b
diff --git a/homepage/style.css b/homepage/style.css
index dabe886c..8da70d9b 100644
--- a/homepage/style.css
+++ b/homepage/style.css
@@ -21,7 +21,7 @@ iframe {
padding: 0;
margin: 0;
border: none;
- height: 95%;
+ height: 92%;
width: 100%;
}
diff --git a/homepage/views.php b/homepage/views.php
index be83552c..b723ad89 100644
--- a/homepage/views.php
+++ b/homepage/views.php
@@ -53,7 +53,7 @@ if(isset($_POST['view'])){
$submittedpwd = $_SERVER['PHP_AUTH_PW'];
$submitteduser = $_SERVER['PHP_AUTH_USER'];
if($submittedpwd == $caddypwd && $submitteduser == 'birdnet'){
- $url = "https://".$_SERVER['SERVER_NAME']."/scripts/adminer.php";
+ $url = $_SERVER['SERVER_NAME']."/scripts/adminer.php";
echo "<div class=\"centered\">
<form action=\"\" method=\"POST\" id=\"views\">
<button type=\"submit\" name=\"view\" value=\"Settings\" form=\"views\">Settings</button>