Skip to content

Commit

Permalink
SVG img replaced by use
Browse files Browse the repository at this point in the history
  • Loading branch information
Simounet committed May 14, 2019
1 parent 77a8478 commit cb5b7fa
Show file tree
Hide file tree
Showing 17 changed files with 100 additions and 38 deletions.
15 changes: 10 additions & 5 deletions article.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,21 @@ <h1 class="article__title js-article__title" tabindex="0"><a href="{$value->getL
<svg
width="15"
height="15"
role="img"
>
<title>{function="_t('LEEDVIBES_ADD_TO_FAVORITES')"}</title>
<use xlink:href="#svg-favorite" />
</svg>
</button>
<button class="article__read-unread js-read-unread{if="$value->getUnread() == 0"} article__read-read{/if}">
<img
src="plugins/leedvibes/images/check.svg"
class=""
alt="{if="$value->getUnread() == 0"}{function="_t('LEEDVIBES_MARK_AS_UNREAD')"}{else}{function="_t('LEEDVIBES_MARK_AS_READ')"}{/if}"
/>
<svg
width="15"
height="15"
role="img"
>
<title>{if="$value->getUnread() == 0"}{function="_t('LEEDVIBES_MARK_AS_UNREAD')"}{else}{function="_t('LEEDVIBES_MARK_AS_READ')"}{/if}</title>
<use xlink:href="#svg-check" />
</svg>
</button>
</header>
{if="isset($value->view)"}
Expand Down
6 changes: 1 addition & 5 deletions css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/style.css.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion favorite.html

This file was deleted.

1 change: 0 additions & 1 deletion images/add.svg

This file was deleted.

1 change: 0 additions & 1 deletion images/check.svg

This file was deleted.

1 change: 0 additions & 1 deletion images/logout.svg

This file was deleted.

1 change: 0 additions & 1 deletion images/menu.svg

This file was deleted.

1 change: 0 additions & 1 deletion images/reload.svg

This file was deleted.

1 change: 0 additions & 1 deletion images/settings.svg

This file was deleted.

1 change: 0 additions & 1 deletion images/shortcuts.svg

This file was deleted.

1 change: 0 additions & 1 deletion images/triangle.svg

This file was deleted.

Loading

0 comments on commit cb5b7fa

Please sign in to comment.