forked from scossa/StreamingCommunity
add stats
This commit is contained in:
@@ -64,17 +64,18 @@ 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;
|
||||
@@ -83,16 +84,15 @@ cat <<- _EOF > $PWD_SC/index.html
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<center>
|
||||
|
||||
<br><br>
|
||||
|
||||
<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>
|
||||
<h5> link2stats of sc: <a href=./stats1.html>stats1</a> e <a href=./stats2.html>stats2 </a> </h5>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
@@ -107,15 +107,17 @@ cat <<- _EOF > $PWD_SC/index.html
|
||||
<h3> Link aggiornato per Streaming Community: </h3>
|
||||
<h1> <a href=$formatted> $formatted </a> </h1>
|
||||
<h3> (cambia circa una volta al mese) </h3>
|
||||
<h5> link2stats of sc: <a href=./stats1.html>stats1</a> e <a href=./stats2.html>stats2 </a> </h5>
|
||||
</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)
|
||||
#sudo chown -R www-data:www-data $PWD_SC ; sudo chmod -R 755 $PWD_SC
|
||||
Reference in New Issue
Block a user