aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2018-10-31 22:19:20 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2018-10-31 22:19:20 +0100
commit5f5b8f0632c843bc568b1d4597f83f8546bf68b6 (patch)
tree3de65b713c58464eb4bfbd339acd686915613fca /src/web/templates
parentImproved the import/export functions for data liberation. It is now possible ... (diff)
parentRemoved deug print. (diff)
downloadnewspipe-5f5b8f0632c843bc568b1d4597f83f8546bf68b6.tar.gz
newspipe-5f5b8f0632c843bc568b1d4597f83f8546bf68b6.tar.bz2
newspipe-5f5b8f0632c843bc568b1d4597f83f8546bf68b6.zip
Merge branch 'master' of gitlab.com:newspipe/newspipe
Diffstat (limited to 'src/web/templates')
-rw-r--r--src/web/templates/feed.html15
-rw-r--r--src/web/templates/profile_public.html2
2 files changed, 7 insertions, 10 deletions
diff --git a/src/web/templates/feed.html b/src/web/templates/feed.html
index d914b82b..31db94a5 100644
--- a/src/web/templates/feed.html
+++ b/src/web/templates/feed.html
@@ -55,7 +55,7 @@
</tr>
</thead>
<tbody>
- {% for article in feed.articles %}
+ {% for article in articles %}
<tr>
<td><a href="{{ url_for("article.article_pub", article_id=article.id) }}">{{ article.title }}</a></td>
<td>{{ article.date | datetime }}</td>
@@ -67,13 +67,10 @@
</div>
</div>
+ <div class="row">
+ <div class="col-md-8 offset-md-1">
+ {{ pagination.links }}
+ </div>
+ </div>
</div><!-- /.container -->
-<script>
-$(document).ready(function() {
- $('#table-articles').DataTable( {
- responsive: true,
- order: [[1, "desc"]]
- });
-});
-</script>
{% endblock %}
diff --git a/src/web/templates/profile_public.html b/src/web/templates/profile_public.html
index e30ae300..e933a04b 100644
--- a/src/web/templates/profile_public.html
+++ b/src/web/templates/profile_public.html
@@ -1,7 +1,7 @@
{% extends "layout.html" %}
{% block content %}
<div class="container">
- <h1>{{ user.nickname }}</h1>
+ <h1>{{ user.nickname }} / <a href="{{ url_for('user.user_stream', nickname=user.nickname) }}">stream</a></h1>
<div class="row">
<div class="col-md-12">
<p>
bgstack15