diff --git a/doc/favicon.png b/doc/favicon.png new file mode 100644 index 0000000..8070ede Binary files /dev/null and b/doc/favicon.png differ diff --git a/doc/favicon.svg b/doc/favicon.svg new file mode 100644 index 0000000..6e3e839 --- /dev/null +++ b/doc/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wfe.php b/wfe.php index 1136b1d..e153f3b 100644 --- a/wfe.php +++ b/wfe.php @@ -170,14 +170,30 @@ $d = array_column($files, "date"); array_multisort($n, SORT_ASC, $d, SORT_ASC, $files); # Output +// Favicon +$png = <<span{color:DarkSlateGrey;font:35pt Sans-serif} footer{font:11pt Sans-serif;margin-top:10pt;text-align:center} footer>p{margin:0;padding-top:1pt} .container{background-color:DarkSlateGrey;border:3pt solid LightSlateGray;border-radius:15pt;padding:20pt 0 24pt 28pt} @@ -188,18 +204,20 @@ CSS3; // HTML5 code // Useful link for SVG encoding: https://yoksel.github.io/url-encoder/ $html5 = << + + - + + $script -

$script

+

$script

-
Name
+
Name
Type
Size
Date
@@ -210,7 +228,7 @@ echo $html5; foreach ($default as $value) { echo '
'; - echo ''; + echo ''; echo '
' . $value["type"] . '
'; echo '
' . $value["size"] . '
'; echo '
' . $value["date"] . '
'; @@ -222,7 +240,7 @@ foreach ($directories as $value) { if ($value["link"] === null) { echo '
' . $value["name"] . '
'; } else { - echo ''; + echo ''; } echo '
' . $value["type"] . '
'; echo '
' . $value["size"] . '
'; @@ -234,7 +252,7 @@ foreach ($files as $value) { if ($value["link"] === null) { echo '
' . $value["name"] . '
'; } else { - echo ''; + echo ''; } echo '
' . $value["type"] . '
'; echo '
' . $value["size"] . '
';