adjusting for installations
This commit is contained in:
+25
-24
@@ -5,31 +5,7 @@
|
|||||||
font-size: large;
|
font-size: large;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*table {
|
|
||||||
background-color: transparent;
|
|
||||||
border-collapse: collapse;
|
|
||||||
border-spacing: 0;
|
|
||||||
width: 100%;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
td {
|
|
||||||
padding: 10px;
|
|
||||||
vertical-align: top;
|
|
||||||
background-color: rgb(219, 255, 235);
|
|
||||||
font-weight: lighter;
|
|
||||||
border: 2px solid black;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
th {
|
|
||||||
font-weight: bold;
|
|
||||||
height: auto;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
audio, video{
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.banner {
|
.banner {
|
||||||
height: auto;
|
height: auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -138,7 +114,32 @@ body {
|
|||||||
background-color: rgb(119, 196, 135);
|
background-color: rgb(119, 196, 135);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
background-color: transparent;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
padding: 10px;
|
||||||
|
vertical-align: top;
|
||||||
|
background-color: rgb(219, 255, 235);
|
||||||
|
font-weight: lighter;
|
||||||
|
border: 2px solid black;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
font-weight: bold;
|
||||||
|
height: auto;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
audio, video{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.spectrogram {
|
.spectrogram {
|
||||||
width:50%
|
width:50%
|
||||||
|
|||||||
@@ -214,7 +214,12 @@ install_Caddyfile() {
|
|||||||
cat << EOF > /etc/caddy/Caddyfile
|
cat << EOF > /etc/caddy/Caddyfile
|
||||||
http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
|
http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
|
||||||
root * ${EXTRACTED}
|
root * ${EXTRACTED}
|
||||||
|
handle /By_Date/* {
|
||||||
file_server browse
|
file_server browse
|
||||||
|
}
|
||||||
|
handle /Charts/* {
|
||||||
|
file_server browse
|
||||||
|
}
|
||||||
basicauth /Processed* {
|
basicauth /Processed* {
|
||||||
birdnet ${HASHWORD}
|
birdnet ${HASHWORD}
|
||||||
}
|
}
|
||||||
@@ -235,7 +240,12 @@ EOF
|
|||||||
cat << EOF > /etc/caddy/Caddyfile
|
cat << EOF > /etc/caddy/Caddyfile
|
||||||
http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
|
http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
|
||||||
root * ${EXTRACTED}
|
root * ${EXTRACTED}
|
||||||
|
handle /By_Date/* {
|
||||||
file_server browse
|
file_server browse
|
||||||
|
}
|
||||||
|
handle /Charts/* {
|
||||||
|
file_server browse
|
||||||
|
}
|
||||||
reverse_proxy /stream localhost:8000
|
reverse_proxy /stream localhost:8000
|
||||||
php_fastcgi unix//run/php/php7.4-fpm.sock
|
php_fastcgi unix//run/php/php7.4-fpm.sock
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,12 @@ HASHWORD=$(caddy hash-password -plaintext ${CADDY_PWD})
|
|||||||
cat << EOF > /etc/caddy/Caddyfile
|
cat << EOF > /etc/caddy/Caddyfile
|
||||||
http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
|
http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
|
||||||
root * ${EXTRACTED}
|
root * ${EXTRACTED}
|
||||||
|
handle /By_Date/* {
|
||||||
file_server browse
|
file_server browse
|
||||||
|
}
|
||||||
|
handle /Charts/* {
|
||||||
|
file_server browse
|
||||||
|
}
|
||||||
basicauth /Processed* {
|
basicauth /Processed* {
|
||||||
birdnet ${HASHWORD}
|
birdnet ${HASHWORD}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user