optimize code and ingest docs
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
<th>ID</th>
|
||||
<th>Typ</th>
|
||||
<th>Status</th>
|
||||
<th>Indexiert</th>
|
||||
<th>Versionen</th>
|
||||
<th>Aktive Version</th>
|
||||
<th>Erstellt am</th>
|
||||
@@ -58,6 +59,13 @@
|
||||
<span class="badge bg-secondary">Archiviert</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if document.currentVersion.ingestStatus == 'INDEXED' %}
|
||||
<span class="badge bg-success">{{ document.currentVersion.ingestStatus }}</span>
|
||||
{% else %}
|
||||
<span class="badge bg-danger">{{ document.currentVersion.ingestStatus }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ document.versions|length }}</td>
|
||||
<td>
|
||||
{% if document.currentVersion %}
|
||||
|
||||
@@ -8,12 +8,15 @@
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Titel</label>
|
||||
<label class="form-label">Titel:</label>
|
||||
<div class="mb-2"><b>Bitte geben Sie einen aussagekräftigen Titel ein.</b><br>
|
||||
Der Titel ist entscheidend, damit in jedem Chunk ein sinnvoller thematischer Bezug hergestellt und eine saubere semantische Zuordnung ermöglicht werden kann.<br>
|
||||
Wenn kein Titel angegeben wird, wird automatisch der Dateiname als Titel verwendet (nicht empfohlen).</div>
|
||||
<input class="form-control" name="title">
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Datei</label>
|
||||
<label class="form-label">Datei:</label>
|
||||
<input type="file" class="form-control" name="file" required>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user