aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-11-01 17:36:39 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-11-01 17:36:39 +0100
commit3ca4561d36673f5a2360ab9174b3f4d5a9a32ead (patch)
treeddc3800c1c1b8132d32d586d01f8ad0b34c7d396 /pyaggr3g470r/templates
parentIt is now possible to delete an article or an entire feed. (diff)
downloadnewspipe-3ca4561d36673f5a2360ab9174b3f4d5a9a32ead.tar.gz
newspipe-3ca4561d36673f5a2360ab9174b3f4d5a9a32ead.tar.bz2
newspipe-3ca4561d36673f5a2360ab9174b3f4d5a9a32ead.zip
Updated templates.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/article.html6
-rw-r--r--pyaggr3g470r/templates/feed.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html
index 98a170e0..05738a5f 100644
--- a/pyaggr3g470r/templates/article.html
+++ b/pyaggr3g470r/templates/article.html
@@ -2,9 +2,9 @@
{% block content %}
<div class="container">
<div class="jumbotron">
- <h2><a href="{{ article.link }}">{{ article.title }}</a></h2>
- <h6>{{ article.date }}</h6>
- <a href="/delete/{{ article.id }}"><i class="glyphicon glyphicon-remove"></i></a>
+ <a href="/delete/{{ article.id }}"><i class="glyphicon glyphicon-remove"></i></a>
+ <h2><a href="{{ article.link }}">{{ article.title }}</a></h2>
+ <h6>{{ article.date }}</h6>
</div>
<div class="jumbotron">
{{ article.content|safe }}
diff --git a/pyaggr3g470r/templates/feed.html b/pyaggr3g470r/templates/feed.html
index caa3415d..dc152d33 100644
--- a/pyaggr3g470r/templates/feed.html
+++ b/pyaggr3g470r/templates/feed.html
@@ -3,10 +3,10 @@
<div class="container">
<div class="jumbotron">
<h1>{{ feed.title }}</h1>
+ <a href="/delete_feed/{{ feed.oid }}"><i class="glyphicon glyphicon-remove"></i></a>
<p>This feed contains {{ feed.articles|count }} <a href="/articles/{{ feed.id }}">articles</a>.</p>
<p>Address of the feed: <a href="{{ feed.link }}">{{ feed.link }}</a>.</p>
<p>Address of the site: <a href="{{ feed.site_link }}">{{ feed.site_link }}</a>.</p>
- <a href="/delete_feed/{{ feed.oid }}"><i class="glyphicon glyphicon-remove"></i></a>
</div>
</div><!-- /.container -->
{% endblock %} \ No newline at end of file
bgstack15