Make /webhooks sexier, make white things darker and button to link

This commit is contained in:
2022-12-19 23:40:22 +01:00
parent 65d9510f27
commit d35022d31c

View File

@ -4,28 +4,29 @@
<div class="p-2 border border-dark">
<form action="/add_webhook" method="post">
{# 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>
<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">
</div>
</div>
{# 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>
<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...">
</div>
</div>
{# Submit button #}
<div class="col-auto">
<button type="submit" class="btn btn-primary">Add webhook</button>
<div class="d-md-flex">
<a type="submit" class="btn btn-dark btn-sm">Add webhook</a>
</div>
</form>
</div>