aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2018-10-28 13:23:42 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2018-10-28 13:23:42 +0100
commitb46dccd8d8d85fb2a1d304ff239cdfcbcdc6bcb3 (patch)
treefcd3f507fdb4f31371c7a852b6028bb17d6b267a /src/web/templates
parentRemoved useless tag cloud. (diff)
downloadnewspipe-b46dccd8d8d85fb2a1d304ff239cdfcbcdc6bcb3.tar.gz
newspipe-b46dccd8d8d85fb2a1d304ff239cdfcbcdc6bcb3.tar.bz2
newspipe-b46dccd8d8d85fb2a1d304ff239cdfcbcdc6bcb3.zip
Removed tag cloud from the public feed page.
Diffstat (limited to 'src/web/templates')
-rw-r--r--src/web/templates/feed.html10
-rw-r--r--src/web/templates/feed_list_per_categories.html6
2 files changed, 5 insertions, 11 deletions
diff --git a/src/web/templates/feed.html b/src/web/templates/feed.html
index 6b2e5e40..d914b82b 100644
--- a/src/web/templates/feed.html
+++ b/src/web/templates/feed.html
@@ -45,7 +45,7 @@
</div>
<div class="row">
- <div class="col-md-8">
+ <div class="col-md-12">
<div class="table-responsive">
<table id="table-articles" class="table table-striped">
<thead>
@@ -55,7 +55,7 @@
</tr>
</thead>
<tbody>
- {% for article in articles %}
+ {% for article in feed.articles %}
<tr>
<td><a href="{{ url_for("article.article_pub", article_id=article.id) }}">{{ article.title }}</a></td>
<td>{{ article.date | datetime }}</td>
@@ -65,12 +65,6 @@
</table>
</div>
</div>
- <div class="col-md-4">
- <p><h3>{{ _('Most recurrent words') }}</h3></p>
- {% if articles | count != 0 %}
- <div class="well">{{ tag_cloud | safe }}</div>
- {% endif %}
- </div>
</div>
</div><!-- /.container -->
diff --git a/src/web/templates/feed_list_per_categories.html b/src/web/templates/feed_list_per_categories.html
index 396139a4..34d10ddd 100644
--- a/src/web/templates/feed_list_per_categories.html
+++ b/src/web/templates/feed_list_per_categories.html
@@ -1,12 +1,12 @@
<div class="row">
- <div class="col-md-6">
+ <div class="col-md-8">
<form class="form-inline">
<div class="form-group">
<label>Filter per category</label>
- <select class="form-control" id="category-select" name="category_id">
+ <select class="form-control" id="category-select" name="category_id">
<option value="0">All</option>
{% for category in user.categories %}
- <option value="{{category.id}}" {% if category.id==selected_category_id %}selected{% endif %}>{{ category.name }}</option>
+ <option value="{{category.id}}" {% if category.id==selected_category_id %}selected{% endif %}>{{ category.name }}</option>
{% endfor %}
</select>
<button type="submit" class="btn btn-primary mb-2">OK</button>
bgstack15