diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-12-12 12:22:06 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-12-13 10:22:59 +0100 |
commit | a35dc4022aea91a7be945222d7430a93276a6ee4 (patch) | |
tree | 1d6580175f04df9cd2a02ab3dea2f6948fa69623 | |
parent | 256a343b187b8a9435e208562f3bb5d55a082b05 (diff) |
Replace RSS feed icon
Use a flat icon from the Open Iconic collection for the RSS feed.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r-- | web/html/images/feed-icon-14x14.png | bin | 689 -> 0 bytes | |||
-rw-r--r-- | web/html/images/rss.svg | 3 | ||||
-rw-r--r-- | web/html/index.php | 2 | ||||
-rw-r--r-- | web/template/stats/updates_table.php | 2 |
4 files changed, 5 insertions, 2 deletions
diff --git a/web/html/images/feed-icon-14x14.png b/web/html/images/feed-icon-14x14.png Binary files differdeleted file mode 100644 index b3c949d..0000000 --- a/web/html/images/feed-icon-14x14.png +++ /dev/null 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> |