From 56d5b20642a07b32e1537094b3ea2c92c84edb49 Mon Sep 17 00:00:00 2001 From: netico Date: Mon, 20 Dec 2021 18:18:08 +0100 Subject: [PATCH] PNG favicon --- doc/favicon.png | Bin 0 -> 719 bytes doc/favicon.svg | 1 + wfe.php | 40 +++++++++++++++++++++++++++++----------- 3 files changed, 30 insertions(+), 11 deletions(-) create mode 100644 doc/favicon.png create mode 100644 doc/favicon.svg diff --git a/doc/favicon.png b/doc/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..8070ede36f5e4c277273759b05366d2aa5cd32cc GIT binary patch literal 719 zcmV;=0x)X<-H50axtSXmD_4l5kR;`;qi_>O@Q+D~*~c3!0O@oW^rq3s10 zZH#&|s{%b4(F83#9u_-m>^fIE0Rj9yn9OYkA;j|p$1 zlh%~%jKa1aPRWl(+1V_oSu2LC@p~;L>q_-6rTS0e_jnP0Gf{_6IE5O_!F~Kje-}oVralVyz=)dAE5;^@+M7i z7h57xpTg?5$~m?}aS^w%3e$zHZp1w~$95=can9gv?ngT&=0Q-26__x>c#9D0C)hZG z&NS>6@_o_RF0AG`R+eHIQKwK!SC?XV+Ta3z9_vvxicJNYa6m{fiGAxRHiIxvA$Fa3 zopSO9hp;H6-+(rBN1boDj++X1yXXqnh{dV@W!Q@csY%@s@^` \ 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"] . '
';