From 9c98523494a9f533cc2a8ee873c96db02a1a6d4e Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 12 Dec 2015 12:55:37 +0100 Subject: Replace new package icon Use a flat icon from the Open Iconic collection to mark new packages. Signed-off-by: Lukas Fleischer --- web/html/images/new.png | Bin 378 -> 0 bytes web/html/images/new.svg | 3 +++ web/html/index.php | 2 +- web/template/stats/updates_table.php | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 web/html/images/new.png create mode 100644 web/html/images/new.svg diff --git a/web/html/images/new.png b/web/html/images/new.png deleted file mode 100644 index 6a9bf03..0000000 Binary files a/web/html/images/new.png and /dev/null differ diff --git a/web/html/images/new.svg b/web/html/images/new.svg new file mode 100644 index 0000000..87f1a4c --- /dev/null +++ b/web/html/images/new.svg @@ -0,0 +1,3 @@ + + + diff --git a/web/html/index.php b/web/html/index.php index 817c20b..8b5cb62 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; diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php index b783bd8..7cad3fa 100644 --- a/web/template/stats/updates_table.php +++ b/web/template/stats/updates_table.php @@ -11,7 +11,7 @@ - New! + New! -- cgit v1.2.3-70-g09d2