Make /webhooks sexier, make white things darker and button to link
This commit is contained in:
@ -4,28 +4,29 @@
|
|||||||
<div class="p-2 border border-dark">
|
<div class="p-2 border border-dark">
|
||||||
<form action="/add_webhook" method="post">
|
<form action="/add_webhook" method="post">
|
||||||
{# Webhook name #}
|
{# Webhook name #}
|
||||||
<div class="row mb-6">
|
<div class="row pb-2">
|
||||||
<label for="webhook_name" class="col-sm-2 col-form-label">Webhook Name</label>
|
<label for="webhook_name" class="col-sm-2 col-form-label">Webhook Name</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<input name="webhook_name" type="text" class="form-control" id="webhook_name"
|
<input name="webhook_name" type="text" class="form-control bg-dark border-dark text-muted"
|
||||||
|
id="webhook_name"
|
||||||
placeholder="TheLovinator #RSS">
|
placeholder="TheLovinator #RSS">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{# Webhook URL #}
|
{# Webhook URL #}
|
||||||
<div class="row mb-6">
|
<div class="row pb-2">
|
||||||
<label for="webhook_url" class="col-sm-2 col-form-label">Webhook URL</label>
|
<label for="webhook_url" class="col-sm-2 col-form-label">Webhook URL</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<input name="webhook_url" type="text" class="form-control" id="webhook_url"
|
<input name="webhook_url" type="text" class="form-control bg-dark border-dark text-muted"
|
||||||
|
id="webhook_url"
|
||||||
placeholder="https://discord.com/api/webhooks/1011224189471124054/CQMa4hJN4gz...">
|
placeholder="https://discord.com/api/webhooks/1011224189471124054/CQMa4hJN4gz...">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{# Submit button #}
|
{# Submit button #}
|
||||||
<div class="col-auto">
|
<div class="d-md-flex">
|
||||||
<button type="submit" class="btn btn-primary">Add webhook</button>
|
<a type="submit" class="btn btn-dark btn-sm">Add webhook</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user