summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
Diffstat (limited to 'web/html')
-rw-r--r--web/html/images/new.pngbin378 -> 0 bytes
-rw-r--r--web/html/images/new.svg3
-rw-r--r--web/html/index.php2
3 files changed, 4 insertions, 1 deletions
diff --git a/web/html/images/new.png b/web/html/images/new.png
deleted file mode 100644
index 6a9bf037..00000000
--- a/web/html/images/new.png
+++ /dev/null
Binary files differ
diff --git a/web/html/images/new.svg b/web/html/images/new.svg
new file mode 100644
index 00000000..87f1a4cc
--- /dev/null
+++ b/web/html/images/new.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8">
+ <path style="fill:#66aa22;fill-opacity:1" d="M4 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 1l3 3h-2v3h-2v-3h-2l3-3z" />
+</svg>
diff --git a/web/html/index.php b/web/html/index.php
index 817c20b3..8b5cb621 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -165,7 +165,6 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
readfile("./$path");
break;
case "/css/archnavbar/archlogo.gif":
- case "/images/new.png":
header("Content-Type: image/png");
readfile("./$path");
break;
@@ -182,6 +181,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
case "/images/pin.min.svg":
case "/images/unpin.min.svg":
case "/images/rss.svg":
+ case "/images/new.svg":
header("Content-Type: image/svg+xml");
readfile("./$path");
break;