aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/user_stream.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-02-26 11:27:31 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-02-26 11:27:31 +0100
commit62b3afeeedfe054345f86093e2d243e956c1e3c9 (patch)
treebbd58f5c8c07f5d87b1c1cca73fa1d5af6178f48 /src/web/templates/user_stream.html
parentUpdated Python dependencies. (diff)
downloadnewspipe-62b3afeeedfe054345f86093e2d243e956c1e3c9.tar.gz
newspipe-62b3afeeedfe054345f86093e2d243e956c1e3c9.tar.bz2
newspipe-62b3afeeedfe054345f86093e2d243e956c1e3c9.zip
The project is now using Poetry.
Diffstat (limited to 'src/web/templates/user_stream.html')
-rw-r--r--src/web/templates/user_stream.html70
1 files changed, 0 insertions, 70 deletions
diff --git a/src/web/templates/user_stream.html b/src/web/templates/user_stream.html
deleted file mode 100644
index b05376a8..00000000
--- a/src/web/templates/user_stream.html
+++ /dev/null
@@ -1,70 +0,0 @@
-{% extends "layout.html" %}
-{% block content %}
-<div class="container">
- <div class="row">
- <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">
- <option value="0">All</option>
- {% for cur_category in user.categories %}
- <option value="{{cur_category.id}}" {% if cur_category.id==category.id %}selected{% endif %}>{{ cur_category.name }}</option>
- {% endfor %}
- </select>
- <button type="submit" class="btn btn-primary mb-2">OK</button>
- </div>
- </form>
- </div>
- </div>
-
- <br /><br />
-
- {% if category %}
- <div class="row">
- <div class="col-md-8 offset-md-1">
- <p class="lead">Articles from the category <a href="{{ url_for('user.profile_public', nickname=user.nickname, category_id=category.id) }}">{{ category.name }}</a></p>
- </div>
- </div>
- {% endif %}
-
- <div class="row">
- <div class="col-md-8 offset-md-1">
- {{ pagination.info }}
- </div>
- </div>
-
- <div class="row">
- <div class="col-md-8 offset-md-1">
- {{ pagination.links }}
- </div>
- </div>
-
- <div class="table-responsive">
- <table id="table-feeds" class="table table-striped">
- <thead>
- <tr>
- <th>#</th>
- <th>{{ _('Title') }}</th>
- <th>{{ _('Published at') }}</th>
- </tr>
- </thead>
- <tbody>
- {% for article in articles %}
- <tr>
- <td>{{ loop.index }}</td>
- <td><a href="{{ url_for('article.article_pub', article_id=article.id) }}">{{ article.title }}</a></td>
- <td>{{ article.date }}</td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- </div>
-
- <div class="row">
- <div class="col-md-8 offset-md-1">
- {{ pagination.links }}
- </div>
- </div>
-</div><!-- /.container -->
-{% endblock %}
bgstack15