mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 08:38:59 +00:00
add success template
This commit is contained in:
parent
eb3fb77c18
commit
9d6615b579
2 changed files with 6 additions and 1 deletions
|
@ -122,6 +122,6 @@ def make_post(handle):
|
||||||
post = re.sub(r"@(\w+)@([\w.]+)", r"@{}\1".format(zws), post)
|
post = re.sub(r"@(\w+)@([\w.]+)", r"@{}\1".format(zws), post)
|
||||||
|
|
||||||
print(post)
|
print(post)
|
||||||
# client.status_post(post, visibility = bot['post_privacy'], spoiler_text = bot['content_warning'])
|
client.status_post(post, visibility = bot['post_privacy'], spoiler_text = bot['content_warning'])
|
||||||
|
|
||||||
# TODO: update date of last post
|
# TODO: update date of last post
|
||||||
|
|
5
templates/success.html
Normal file
5
templates/success.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{% if success != None %}
|
||||||
|
<div class="success">
|
||||||
|
<i class="fas fa-check-circle"></i> Information updated succesfully.
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
Loading…
Reference in a new issue