optimize ui
This commit is contained in:
@@ -19,58 +19,6 @@
|
||||
<div class="alert alert-danger">{{ message }}</div>
|
||||
{% endfor %}
|
||||
|
||||
{# ============================= #}
|
||||
{# Neue Version erstellen #}
|
||||
{# ============================= #}
|
||||
|
||||
<div class="card bg-black border-secondary mb-5 text-light">
|
||||
<div class="card-body">
|
||||
|
||||
<h5 class="text-info mb-3">Neue Version erstellen</h5>
|
||||
|
||||
<form method="post">
|
||||
<input type="hidden"
|
||||
name="_token"
|
||||
value="{{ csrf_token('create_system_prompt') }}">
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Kommentar (optional)</label>
|
||||
<input type="text"
|
||||
name="comment"
|
||||
class="form-control bg-dark text-light border-secondary"
|
||||
placeholder="Warum wurde der Prompt geändert?">
|
||||
<div class="form-text text-secondary">
|
||||
Dokumentation der Änderung für spätere Nachvollziehbarkeit.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">
|
||||
Prompt-Inhalt
|
||||
</label>
|
||||
<div class="form-text text-secondary mb-2">
|
||||
Verfügbare Variable:
|
||||
<code>{% verbatim %}{% now %}{% endverbatim %}</code>
|
||||
(aktuelles Datum/Zeit)
|
||||
</div>
|
||||
<textarea name="content"
|
||||
rows="16"
|
||||
class="form-control bg-dark text-light border-secondary"
|
||||
required>{{ active ? active.content : '' }}</textarea>
|
||||
</div>
|
||||
|
||||
{% if is_granted('ROLE_SUPER_ADMIN') %}
|
||||
<div class="d-flex justify-content-end">
|
||||
<button class="btn btn-outline-info">
|
||||
Neue Version speichern
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{# ============================= #}
|
||||
{# Versionen Übersicht #}
|
||||
{# ============================= #}
|
||||
@@ -169,4 +117,58 @@
|
||||
des LLM unmittelbar. Änderungen sollten dokumentiert und versioniert erfolgen.
|
||||
</div>
|
||||
|
||||
{# ============================= #}
|
||||
{# Neue Version erstellen #}
|
||||
{# ============================= #}
|
||||
|
||||
<div class="card bg-black border-secondary mb-5 text-light">
|
||||
<div class="card-body">
|
||||
|
||||
<h5 class="text-info mb-3">Neue Version erstellen</h5>
|
||||
|
||||
<form method="post">
|
||||
<input type="hidden"
|
||||
name="_token"
|
||||
value="{{ csrf_token('create_system_prompt') }}">
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Kommentar (optional)</label>
|
||||
<input type="text"
|
||||
name="comment"
|
||||
class="form-control bg-dark text-light border-secondary"
|
||||
placeholder="Warum wurde der Prompt geändert?">
|
||||
<div class="form-text text-secondary">
|
||||
Dokumentation der Änderung für spätere Nachvollziehbarkeit.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">
|
||||
Prompt-Inhalt
|
||||
</label>
|
||||
<div class="form-text text-secondary mb-2">
|
||||
Verfügbare Variable:
|
||||
<code>{% verbatim %}{% now %}{% endverbatim %}</code>
|
||||
(aktuelles Datum/Zeit)
|
||||
</div>
|
||||
<textarea name="content"
|
||||
rows="16"
|
||||
class="form-control bg-dark text-light border-secondary"
|
||||
required>{{ active ? active.content : '' }}</textarea>
|
||||
</div>
|
||||
|
||||
{% if is_granted('ROLE_SUPER_ADMIN') %}
|
||||
<div class="d-flex justify-content-end">
|
||||
<button class="btn btn-outline-info">
|
||||
Neue Version speichern
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user