Allow for a list of URLs to be entered into the system.

This commit is contained in:
Josako
2024-07-08 15:17:10 +02:00
parent c55fc6b7ce
commit 8f08d6e1ae
3 changed files with 98 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
{% extends 'base.html' %}
{% from "macros.html" import render_field %}
{% block title %}Add URLs{% endblock %}
{% block content_title %}Add URLs{% endblock %}
{% block content_description %}Add a list of URLs and the corresponding documents to EveAI. In some cases, url's cannot be loaded directly. Download the html and add it as a document in that case.{% endblock %}
{% block content %}
<form method="post">
{{ form.hidden_tag() }}
{% set disabled_fields = [] %}
{% set exclude_fields = [] %}
{% for field in form %}
{{ render_field(field, disabled_fields, exclude_fields) }}
{% endfor %}
<button type="submit" class="btn btn-primary">Add URL</button>
</form>
{% endblock %}
{% block content_footer %}
{% endblock %}