Update HTML
This commit is contained in:
@ -7,30 +7,28 @@
|
|||||||
<form action="/add_webhook" method="post">
|
<form action="/add_webhook" method="post">
|
||||||
{# Webhook name #}
|
{# Webhook name #}
|
||||||
<div class="row pb-2">
|
<div class="row pb-2">
|
||||||
<label for="webhook_name" class="col-sm-2 col-form-label">
|
<label for="webhook_name" class="col-sm-2 col-form-label">Webhook Name</label>
|
||||||
Webhook Name
|
|
||||||
</label
|
|
||||||
>
|
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<input name="webhook_name"
|
<input name="webhook_name"
|
||||||
type="text"
|
type="text"
|
||||||
class="form-control bg-dark border-dark text-muted"
|
class="form-control bg-dark border-dark text-muted"
|
||||||
id="webhook_name"
|
id="webhook_name" />
|
||||||
placeholder="TheLovinator #RSS"/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{# Webhook URL #}
|
{# Webhook URL #}
|
||||||
<div class="row pb-2">
|
<div class="row pb-2">
|
||||||
<label for="webhook_url" class="col-sm-2 col-form-label">
|
<label for="webhook_url" class="col-sm-2 col-form-label">Webhook URL</label>
|
||||||
Webhook URL
|
|
||||||
</label
|
|
||||||
>
|
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<input name="webhook_url"
|
<input name="webhook_url"
|
||||||
type="text"
|
type="text"
|
||||||
class="form-control bg-dark border-dark text-muted"
|
class="form-control bg-dark border-dark text-muted"
|
||||||
id="webhook_url"
|
id="webhook_url" />
|
||||||
placeholder="https://discord.com/api/webhooks/1011224189471124054/CQMa4hJN4gz"/>
|
</div>
|
||||||
|
<div class="form-text">
|
||||||
|
You can append ?thread_id=THREAD_ID to the end
|
||||||
|
of the URL to send messages to a thread. You can get
|
||||||
|
the thread ID by right-clicking on the thread and
|
||||||
|
Copy Thread ID.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{# Submit button #}
|
{# Submit button #}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
@ -33,9 +33,6 @@
|
|||||||
<a class="text-muted" href="https://github.com/TheLovinator1">TheLovinator</a>
|
<a class="text-muted" href="https://github.com/TheLovinator1">TheLovinator</a>
|
||||||
</p>
|
</p>
|
||||||
<ul class="nav col-md-4 justify-content-end">
|
<ul class="nav col-md-4 justify-content-end">
|
||||||
<li class="nav-item">
|
|
||||||
<a href="mailto:tlovinator@gmail.com" class="nav-link px-2 text-muted">Email</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="https://github.com/TheLovinator1/discord-rss-bot/issues"
|
<a href="https://github.com/TheLovinator1/discord-rss-bot/issues"
|
||||||
class="nav-link px-2 text-muted">Report an issue</a>
|
class="nav-link px-2 text-muted">Report an issue</a>
|
||||||
|
@ -18,9 +18,7 @@
|
|||||||
<button class="btn btn-danger btn-sm"
|
<button class="btn btn-danger btn-sm"
|
||||||
name="feed_url"
|
name="feed_url"
|
||||||
value="{{ feed.url }}"
|
value="{{ feed.url }}"
|
||||||
onclick="return confirm('Are you sure you want to delete this feed?')">
|
onclick="return confirm('Are you sure you want to delete this feed?')">Remove</button>
|
||||||
Remove
|
|
||||||
</button>
|
|
||||||
</form>
|
</form>
|
||||||
{% if not feed.updates_enabled %}
|
{% if not feed.updates_enabled %}
|
||||||
<form action="/unpause" method="post">
|
<form action="/unpause" method="post">
|
||||||
|
@ -42,6 +42,12 @@
|
|||||||
id="new_hook" />
|
id="new_hook" />
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary col-sm-1 ">Modify</button>
|
<button type="submit" class="btn btn-primary col-sm-1 ">Modify</button>
|
||||||
|
<div class="form-text">
|
||||||
|
You can append ?thread_id=THREAD_ID to the end
|
||||||
|
of the URL to send messages to a thread. You can get
|
||||||
|
the thread ID by right-clicking on the thread and
|
||||||
|
Copy Thread ID.
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<form action="/delete_webhook" method="post">
|
<form action="/delete_webhook" method="post">
|
||||||
|
Reference in New Issue
Block a user