Add /add page and cli.py for updating feeds
This commit is contained in:
parent
3f3ad42acd
commit
8cea0bd347
8 changed files with 130 additions and 57 deletions
16
templates/add.html
Normal file
16
templates/add.html
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h2>Add feeds</h2>
|
||||
<form method="post" action='{{ url_for("add_feed") }}'>
|
||||
<p>
|
||||
<label for="feed_urls">Feed URLs</label>
|
||||
<textarea id="feed_urls"
|
||||
name="feed_urls"
|
||||
rows="4"
|
||||
cols="50"
|
||||
required
|
||||
placeholder="Enter the URLs of the feeds you want to add"></textarea>
|
||||
</p>
|
||||
<button type="submit">Add feeds</button>
|
||||
</form>
|
||||
{% endblock content %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue