Make /add sexier, make white things darker and button to link
This commit is contained in:
@ -4,19 +4,21 @@
|
||||
<div class="p-2 border border-dark">
|
||||
<form action="/add" method="post">
|
||||
{# Feed URL #}
|
||||
<div class="row mb-4">
|
||||
<div class="row pb-2">
|
||||
<label for="feed_url" class="col-sm-2 col-form-label">Feed URL</label>
|
||||
<div class="col-sm-10">
|
||||
<input name="feed_url" type="text" class="form-control" id="feed_url"
|
||||
<input name="feed_url" type="text" class="form-control bg-dark border-dark text-muted" id="feed_url"
|
||||
placeholder="https://www.reddit.com/r/FreeGameFindings.rss">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{# Webhook dropdown #}
|
||||
<div class="row mb-4">
|
||||
<label for="webhook_dropdown" class="col-sm-2">Which webhook should we send entries to?</label>
|
||||
<div class="row pb-2">
|
||||
<label for="webhook_dropdown"
|
||||
class="col-sm-2 col-form-label">Which webhook should we send entries to?</label>
|
||||
<div class="col-sm-10">
|
||||
<select class="col-auto form-select" id="webhook_dropdown" name="webhook_dropdown">
|
||||
<select class="col-auto form-select bg-dark border-dark text-muted" id="webhook_dropdown"
|
||||
name="webhook_dropdown">
|
||||
<option selected>Choose webhook...</option>
|
||||
{% for hook in webhooks %}
|
||||
<option value="{{ hook.name }}">{{ hook.name }}</option>
|
||||
@ -26,10 +28,9 @@
|
||||
</div>
|
||||
|
||||
{# Submit button #}
|
||||
<div class="col-auto">
|
||||
<button type="submit" class="btn btn-primary">Add feed</button>
|
||||
<div class="d-md-flex">
|
||||
<a type="submit" class="btn btn-dark btn-sm">Add feed</a>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %} | Webhooks{% endblock %}
|
||||
{% block title %} | Add new webhook{% endblock %}
|
||||
{% block content %}
|
||||
<div class="p-2 border border-dark">
|
||||
<form action="/add_webhook" method="post">
|
||||
|
Reference in New Issue
Block a user