diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-06 09:14:30 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-06 09:14:30 +0100 |
commit | 112c531628ffc470a94cacb3683bb17b9f17d779 (patch) | |
tree | 76313d918361661c78a5219c0142b025097f50be | |
parent | Retrun the bookmarks saved during the last 365 days, starting from the date o... (diff) | |
download | newspipe-112c531628ffc470a94cacb3683bb17b9f17d779.tar.gz newspipe-112c531628ffc470a94cacb3683bb17b9f17d779.tar.bz2 newspipe-112c531628ffc470a94cacb3683bb17b9f17d779.zip |
Fixed some icons.
-rw-r--r-- | newspipe/web/templates/admin/dashboard.html | 8 | ||||
-rw-r--r-- | newspipe/web/templates/categories.html | 4 | ||||
-rw-r--r-- | newspipe/web/templates/home.html | 14 |
3 files changed, 13 insertions, 13 deletions
diff --git a/newspipe/web/templates/admin/dashboard.html b/newspipe/web/templates/admin/dashboard.html index 390e8853..8bcc2db0 100644 --- a/newspipe/web/templates/admin/dashboard.html +++ b/newspipe/web/templates/admin/dashboard.html @@ -30,16 +30,16 @@ <td class="date">{{ user.date_created | datetime }}</td> <td class="date">{{ user.last_seen | datetime }}</td> <td> - <a href="{{ url_for("admin.user_form", user_id=user.id) }}"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this user') }}"></i></a> + <a href="{{ url_for("admin.user_form", user_id=user.id) }}"><i class="fa fa-pencil-square-o" aria-hidden="true" title="{{ _('Edit this user') }}"></i></a> {% if user.id != current_user.id %} <a href="{{ url_for("admin.toggle_user", user_id=user.id) }}"> {% if user.is_active %} - <i class="glyphicon glyphicon-ban-circle" title="{{ _("Disable this account") }}"></i> + <i class="fa fa-ban" title="{{ _("Disable this account") }}"></i> {% else %} - <i class="glyphicon glyphicon-ok-circle" title="{{ _("Enable this account") }}"></i> + <i class="fa fa-check-circle-o" aria-hidden="true" title="{{ _("Enable this account") }}"></i> {% endif %} </a> - <a href="{{ url_for("admin.delete_user", user_id=user.id) }}"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this user') }}" onclick="return confirm('{{ _('You are going to delete this account.') }}');"></i></a> + <a href="{{ url_for("admin.delete_user", user_id=user.id) }}"><i class="fa fa-times" aria-hidden="true" title="{{ _('Delete this user') }}" onclick="return confirm('{{ _('You are going to delete this account.') }}');"></i></a> {% endif %} </td> </tr> diff --git a/newspipe/web/templates/categories.html b/newspipe/web/templates/categories.html index 4985e0ca..ea5388a3 100644 --- a/newspipe/web/templates/categories.html +++ b/newspipe/web/templates/categories.html @@ -24,8 +24,8 @@ <td>{{ feeds_count.get(category.id, 0) }}</td> <td>( {{ unread_article_count.get(category.id, 0) }} ) {{ article_count.get(category.id, 0) }}</td> <td> - <a href="{{ url_for("category.form", category_id=category.id) }}"><i class="glyphicon glyphicon-edit" title='{{ _("Edit this category") }}'></i></a> - <a href="{{ url_for("category.delete", category_id=category.id) }}"><i class="glyphicon glyphicon-remove" title='{{ _("Delete this category") }}' onclick="return confirm('{{ _('You are going to delete this category.') }}');"></i></a> + <a href="{{ url_for("category.form", category_id=category.id) }}"><i class="fa fa-pencil-square-o" aria-hidden="true" title='{{ _("Edit this category") }}'></i></a> + <a href="{{ url_for("category.delete", category_id=category.id) }}"><i class="fa fa-times" aria-hidden="true" title='{{ _("Delete this category") }}' onclick="return confirm('{{ _('You are going to delete this category.') }}');"></i></a> </td> </tr> {% endfor %} diff --git a/newspipe/web/templates/home.html b/newspipe/web/templates/home.html index ea946080..26168d3d 100644 --- a/newspipe/web/templates/home.html +++ b/newspipe/web/templates/home.html @@ -36,7 +36,7 @@ {% if feed_id == fid %}</b>{% endif %} </a></li> <li class="nav-item feed-commands"><span class="nav-link"> - <a href="/feed/{{ fid }}"><i class="glyphicon glyphicon-info-sign" title="{{ _('Details') }}"></i></a> + <a href="/feed/{{ fid }}"><i class="fa fa-info" aria-hidden="true" title="{{ _('Details') }}"></i></a> <a href="{{ url_for('feed.form', feed_id=fid) }}"><i class="fa fa-pencil-square-o" aria-hidden="true" title="{{ _('Edit this feed') }}"></i></a> <a href="{{ url_for('article.mark_as', new_value='read', feed_id=fid) }}"><i class="fa fa-check-square-o" aria-hidden="true" title="{{ _('Mark this feed as read') }}"></i></a> <a href="{{ url_for('article.mark_as', new_value='unread', feed_id=fid) }}"><i class="fa fa-square-o" aria-hidden="true" title="{{ _('Mark this feed as unread') }}"></i></a> @@ -55,7 +55,7 @@ {% if feed_id == fid %}</b>{% endif %} </a></li> <li class="nav-item feed-commands"><span class="nav-link"> - <a href="/feed/{{ fid }}"><i class="glyphicon glyphicon-info-sign" title="{{ _('Details') }}"></i></a> + <a href="/feed/{{ fid }}"><i class="fa fa-info" aria-hidden="true" title="{{ _('Details') }}"></i></a> <a href="{{ url_for('feed.form', feed_id=fid) }}"><i class="fa fa-pencil-square-o" aria-hidden="true" title="{{ _('Edit this feed') }}"></i></a> <a href="{{ url_for('article.mark_as', new_value='read', feed_id=fid) }}"><i class="fa fa-check-square-o" aria-hidden="true" title="{{ _('Mark this feed as read') }}"></i></a> <a href="{{ url_for('article.mark_as', new_value='unread', feed_id=fid) }}"><i class="fa fa-square-o" aria-hidden="true" title="{{ _('Mark this feed as unread') }}"></i></a> @@ -104,16 +104,16 @@ {% for article in articles %} <tr data-article="{{ article.id }}" data-feed="{{ article.feed_id }}"> <td> - <a href="#"><i class="glyphicon glyphicon-remove delete" title="{{ _('Delete this article') }}"></i></a> + <a href="#"><i class="fa fa-times" aria-hidden="true" title="{{ _('Delete this article') }}"></i></a> {% if article.like %} - <a href="#"><i class="glyphicon glyphicon-star like" title="{{ _('One of your favorites') }}"></i></a> + <a href="#"><i class="fa fa-star" aria-hidden="true" title="{{ _('One of your favorites') }}"></i></a> {% else %} - <a href="#"><i class="glyphicon glyphicon-star-empty like" title="{{ _('Click if you like this article') }}"></i></a> + <a href="#"><i class="fa fa-star-o" aria-hidden="true" title="{{ _('Click if you like this article') }}"></i></a> {% endif %} {% if article.readed %} - <a href="#"><i class="glyphicon glyphicon-unchecked readed" title="{{ _('Mark this article as unread') }}"></i></a> + <a href="#"><i class="fa fa-square-o" aria-hidden="true" title="{{ _('Mark this article as unread') }}"></i></a> {% else %} - <a href="#"><i class="glyphicon glyphicon-check readed" title="{{ _('Mark this article as read') }}"></i></a> + <a href="#"><i class="fa fa-check-square-o" aria-hidden="true" title="{{ _('Mark this article as read') }}"></i></a> {% if filter_ == 'all' %}</b>{% endif %} {% endif %} </td> |