This commit is contained in:
2025-01-26 17:56:09 +01:00
parent 4b5d07fd12
commit fc7dcd107c
6 changed files with 60 additions and 18 deletions

View File

@@ -64,18 +64,17 @@ cat <<- _EOF > $PWD_SC/index.html
height: 200wj;
}
h1 {
font-size: 36px;
/* Default size */
}
@media (max-width: 480px) {
h1 {
font-size: 17px;
/* Size mobile phones */
}
}
@media (max-width: 480px) {
h3 {
font-size: 15px;
@@ -84,8 +83,10 @@ cat <<- _EOF > $PWD_SC/index.html
}
</style>
</head>
<body>
<center>
<br><br>
<div class="link">
@@ -105,25 +106,22 @@ cat <<- _EOF > $PWD_SC/index.html
<div class="link">
<h3> Link aggiornato per Streaming Community: </h3>
<h1> <a href=$formatted> $formatted </a> </h1>
<h3> (cambia circa una volta al mese) </h3><br>
<h5> stats di $attuale (non di mywebsite.com): <a href=./stats1.html>stats1</a> e <a href=./stats2.html>stats2 </a> </h5>
<h3> (cambia circa una volta al mese) </h3>
</div>
<br><br>
</center>
</body>
</html>
_EOF
# Genera le stats scrapate da streaming community sui client più altre cose da capire
./make_stats.sh
# Da i permessi alla cartella (decommentare se hostato)
#chown -R root:root $PWD_SC; echo "la cartella $PWD_SC è di root"
#chmod +x $PWD_SC ; echo "permetto di leggere dentro a $PWD_SC"
#chmod 740 $PWD_SC/*; echo "reset permessi per tutti i file dentro a $PWD_SC"
#chown -R www-data:www-data $PWD_SC/*.html; chmod -R 744 $PWD_SC/*.html; echo "do i permessi agli html dentro a $PWD_SC"
#chown -R www-data:www-data $PWD_SC/*.json; chmod -R 744 $PWD_SC/*.json; echo "do i permessi ai json dentro a $PWD_SC"
#chown -R www-data:www-data $PWD_SC/*.xml; chmod -R 744 $PWD_SC/*.xml; echo "do i permessi agli xml dentro a $PWD_SC"
#chown root:root ./*.sh; chmod 740 ./*.sh; echo "do i permesi agli sh dentro $PWD_SC"
#chown www-data:www-data ./splash.gif; chmod 740 ./splash.gif; echo "do i permesi alla gif splash"