hrss/web/templates/homepage.html

18 lines
754 B
HTML

{% extends 'template.html' %}
{% block content %}
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h1 class="mt-5">Generate RSS out of any website</h1>
{% if error %}<div class="alert alert-danger" role="alert">{{ error }}</div>{% endif %}
<form action="{% url 'homepage' %}" method="post">
{% csrf_token %}
<div class="form-group">
<input type="text" class="form-control" name="url" id="url" placeholder="http://" {% if url %}value="{{ url }}"{% endif %}>
</div>
<button type="submit" class="btn btn-primary">Setup</button>
</form>
</div>
</div>
</div>
{% endblock %}