[aur-dev] [PATCH 2/3] Replace RSS feed icon

Lukas Fleischer lfleischer at archlinux.org
Sat Dec 12 12:06:45 UTC 2015


Use a flat icon from the Open Iconic collection for the RSS feed.

Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 web/html/images/feed-icon-14x14.png  | Bin 689 -> 0 bytes
 web/html/images/rss.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/feed-icon-14x14.png
 create mode 100644 web/html/images/rss.svg

diff --git a/web/html/images/feed-icon-14x14.png b/web/html/images/feed-icon-14x14.png
deleted file mode 100644
index b3c949d2244f2c0c81d65e74719af2a1b56d06a3..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 689
zcmV;i0#5yjP)<h;3K|Lk000e1NJLTq000gE000gM1^@s6A4o0H00004XF*Lt006JZ
zHwB960000PbVXQnQ*UN;cVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBU!LrFwIRCwBq
zl1)eyVHn4M^Ulo9v at t~@+ZN^_p-4n3!zl8WhftwQbP(%Mhi;zwxJA&VI<E(BK|x3b
zLQ)Y?)FFfX%E%>(tky!*UETcH-TCU7SrqEjJM#?B`_A)!p7(kFf9-P@=@15kkTkGK
zgFusyy#KECqZzRdBLb=P?$(kUP;>kYTDeG&{|a+iOiRbI6nbQ)j#7bOf>iF=<d6}D
z?Dawoy?!4%yRZFKV)gwa+~EwmpT{&6=we<e`gOpNYbirA8ivozol9s+l59<pY-qu0
z?gX*Q=xu`Wev~FaWyML2sJ1dSyv6T?3l6vif*(sPO%1T}v5jp<&tV-ri<_|FT_0iK
zZvZ6=gthh5_1=%Sr7y2>C+|_py<&Fo1F5cC*iEM?zZGC{ejNg4LWYp=S$L6Qaby6y
zp$+F`250{%tU{Lg$5*ROH}y!1UKJS4*xqd7P(Y3JQF?lrnf?yerr%&6yGXLG1ur*B
z{$&R1 at Oj)yl@%rY5rh?j(j10Yz_DBs`AKFU_QnB;)(aqQmGi&ieOS|21^NP9UMpa<
zU&p!f6RZ6Owp^X!EXA=0SbN&h?CrQK%Q3(=YBqqHD^9ZUM0Hxt-6-KT;>lf at j?Z+v
zHm(}`>85I&E<7e}oz?6UwjAogowzGO8kSN7+2`b^$Az9L{K5*ko87EV45LT-`_##3
z>d3AGh@>=mbg34|6}+-gT9N+6Dr at 44VEl44O&{&|w=qpbzC#iWMKa?5)>tI+KLQK@
Xq0QFqn(9Yl00000NkvXXu0mjfZ8t<K

diff --git a/web/html/images/rss.svg b/web/html/images/rss.svg
new file mode 100644
index 0000000..3c7f6ba
--- /dev/null
+++ b/web/html/images/rss.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:#3366aa;fill-opacity:1" d="M0 0v2c3.33 0 6 2.67 6 6h2c0-4.41-3.59-8-8-8zm0 3v2c1.67 0 3 1.33 3 3h2c0-2.75-2.25-5-5-5zm0 3v2h2c0-1.11-.9-2-2-2z" />
+</svg>
diff --git a/web/html/index.php b/web/html/index.php
index b9ab1ff..817c20b 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -172,7 +172,6 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
 	case "/css/archnavbar/archlogo.png":
 	case "/css/archnavbar/aurlogo.png":
 	case "/images/favicon.ico":
-	case "/images/feed-icon-14x14.png":
 	case "/images/titlelogo.png":
 	case "/images/x.png":
 		header("Content-Type: image/png");
@@ -182,6 +181,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
 	case "/images/pencil.min.svg":
 	case "/images/pin.min.svg":
 	case "/images/unpin.min.svg":
+	case "/images/rss.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 775d707..b783bd8 100644
--- a/web/template/stats/updates_table.php
+++ b/web/template/stats/updates_table.php
@@ -1,6 +1,6 @@
 <h3><?= __("Recent Updates") ?></h3>
 
-<a href="<?= get_uri('/rss/') ?>" title="Arch Package Updates RSS Feed" class="rss-icon"><img src="/images/feed-icon-14x14.png" alt="RSS Feed" /></a>
+<a href="<?= get_uri('/rss/') ?>" title="Arch Package Updates RSS Feed" class="rss-icon"><img src="/images/rss.svg" alt="RSS Feed" /></a>
 
 <table>
 	<tbody>
-- 
2.6.4


More information about the aur-dev mailing list