diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-06-23 22:59:53 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-06-23 22:59:53 +0200 |
commit | 3ab30e029adedbd7e652552c6da1eafbeadb40cd (patch) | |
tree | 913961f581edcb29a86507d640b2b47800bee3bc | |
parent | chg: [ui] improved forms in navbar. (diff) | |
download | newspipe-3ab30e029adedbd7e652552c6da1eafbeadb40cd.tar.gz newspipe-3ab30e029adedbd7e652552c6da1eafbeadb40cd.tar.bz2 newspipe-3ab30e029adedbd7e652552c6da1eafbeadb40cd.zip |
chg: [ui] improved article_pub template.
-rw-r--r-- | newspipe/templates/article.html | 6 | ||||
-rw-r--r-- | newspipe/templates/article_pub.html | 32 |
2 files changed, 19 insertions, 19 deletions
diff --git a/newspipe/templates/article.html b/newspipe/templates/article.html index df9eba98..00ec3bde 100644 --- a/newspipe/templates/article.html +++ b/newspipe/templates/article.html @@ -28,9 +28,9 @@ <br /> <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> + <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 --> diff --git a/newspipe/templates/article_pub.html b/newspipe/templates/article_pub.html index e810d18f..5f3ff0c1 100644 --- a/newspipe/templates/article_pub.html +++ b/newspipe/templates/article_pub.html @@ -1,24 +1,24 @@ {% 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="{{ url_for('feed.feed_pub', feed_id=article.source.id) }}">{{ article.source.title }}</a></h3> - <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="{{ url_for('feed.feed_pub', feed_id=article.source.id) }}">{{ article.source.title }}</a></h3> + <h6>{{ article.date | datetime }}</h6> + </div> </div> - <div class="well"> - {{ article.content | safe }} + <div class="row"> + <div class="col"> + {{ article.content | safe }} + </div> </div> - <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 %} |