diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-06-23 22:34:47 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-06-23 22:34:47 +0200 |
commit | 0cd84bb3758d1500f8282f2dc28e38bc25e9fef5 (patch) | |
tree | 493825971b6f7ae03003b7490c811cc610a684d4 /newspipe/templates/article.html | |
parent | fixed a minor issue in the bookmarks template concerning the list of tags abo... (diff) | |
download | newspipe-0cd84bb3758d1500f8282f2dc28e38bc25e9fef5.tar.gz newspipe-0cd84bb3758d1500f8282f2dc28e38bc25e9fef5.tar.bz2 newspipe-0cd84bb3758d1500f8282f2dc28e38bc25e9fef5.zip |
chg: [ui] improved forms in navbar.
Diffstat (limited to 'newspipe/templates/article.html')
-rw-r--r-- | newspipe/templates/article.html | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/newspipe/templates/article.html b/newspipe/templates/article.html index 81705da1..df9eba98 100644 --- a/newspipe/templates/article.html +++ b/newspipe/templates/article.html @@ -1,37 +1,37 @@ {% extends "layout.html" %} {% block content %} <div class="container" data-article="{{ article.id }}"> - <div class="well"> - <h2><a href="{{ article.link }}" target="_blank">{{ article.title|safe }}</a></h2> - <h3>{{ _('from') }} <a href="/feed/{{ article.source.id }}">{{ article.source.title }}</a></h3> - <a href="{{ url_for("article.delete", article_id=article.id) }}"><i class="fa fa-times delete" aria-hidden="true" title="{{ _('Delete this article') }}"></i></a> - {% if article.like %} - <a href="#"><i class="fa fa-star like" aria-hidden="true" title="{{ _('One of your favorites') }}"></i></a> - {% else %} - <a href="#"><i class="fa fa-star-o like" aria-hidden="true" title="{{ _('Click if you like this article') }}"></i></a> - {% endif %} - {% if article.readed %} - <a href="#"><i class="fa fa-square-o readed" title="{{ _('Mark this article as unread') }}"></i></a> - {% else %} - <a href="#"><i class="fa fa-check-square-o readed" aria-hidden="true" aria-hidden="true" title="{{ _('Mark this article as read') }}"></i></a> - {% endif %} - <h6>{{ article.date | datetime }}</h6> + <div class="row"> + <div class="col"> + <h2><a href="{{ article.link }}" target="_blank">{{ article.title|safe }}</a></h2> + <h3>{{ _('from') }} <a href="/feed/{{ article.source.id }}">{{ article.source.title }}</a></h3> + <a href="{{ url_for("article.delete", article_id=article.id) }}"><i class="fa fa-times delete" aria-hidden="true" title="{{ _('Delete this article') }}"></i></a> + {% if article.like %} + <a href="#"><i class="fa fa-star like" aria-hidden="true" title="{{ _('One of your favorites') }}"></i></a> + {% else %} + <a href="#"><i class="fa fa-star-o like" aria-hidden="true" title="{{ _('Click if you like this article') }}"></i></a> + {% endif %} + {% if article.readed %} + <a href="#"><i class="fa fa-square-o readed" title="{{ _('Mark this article as unread') }}"></i></a> + {% else %} + <a href="#"><i class="fa fa-check-square-o readed" aria-hidden="true" aria-hidden="true" title="{{ _('Mark this article as read') }}"></i></a> + {% endif %} + <h6>{{ article.date | datetime }}</h6> + </div> </div> <br /> - <div class="well"> - {{ article.content | safe }} + <div class="row"> + <div class="col"> + {{ article.content | safe }} + </div> </div> <br /> - <div class="well"> - <a href="https://api.pinboard.in/v1/posts/add?url={{ article.link }}&description={{ article.title }}" rel="noreferrer" target="_blank"> - <img src="{{ url_for('static', filename='img/pinboard.png') }}" title="{{ _('Share on') }} Pinboard" /> - </a> - <a href="https://reddit.com/submit?url={{ article.link }}&title={{ article.title }}" rel="noreferrer" target="_blank"> - <img src="{{ url_for('static', filename='img/reddit.png') }}" title="{{ _('Share on') }} reddit" /> - </a> - <a href="https://twitter.com/intent/tweet?url={{ article.link }}&text={{ article.title }}" rel="noreferrer" target="_blank"> - <img src="{{ url_for('static', filename='img/twitter.png') }}" title="{{ _('Share on') }} twitter" > - </a> + <div class="row"> + <div class="col"> + <a href="https://api.pinboard.in/v1/posts/add?url={{ article.link }}&description={{ article.title }}" rel="noreferrer" target="_blank"><img src="{{ url_for('static', filename='img/pinboard.png') }}" title="{{ _('Share on') }} Pinboard" /></a> + <a href="https://reddit.com/submit?url={{ article.link }}&title={{ article.title }}" rel="noreferrer" target="_blank"><img src="{{ url_for('static', filename='img/reddit.png') }}" title="{{ _('Share on') }} reddit" /></a> + <a href="https://twitter.com/intent/tweet?url={{ article.link }}&text={{ article.title }}" rel="noreferrer" target="_blank"><img src="{{ url_for('static', filename='img/twitter.png') }}" title="{{ _('Share on') }} twitter" ></a> + <div class="col"> </div> </div><!-- /.container --> {% endblock %} |