about summary refs log tree commit diff
path: root/templates
diff options
context:
space:
mode:
authorPjotr Prins2026-04-06 09:57:53 +0200
committerPjotr Prins2026-04-06 09:57:53 +0200
commit5da54ef6347acdba3613e3b1b161b66013817206 (patch)
treedcdba71e7c25fa0569f469ae0be777064c81af7d /templates
parent5c28db960087ddb282a13e4dd2c3a3dd5c4cc207 (diff)
downloadgenecup-5da54ef6347acdba3613e3b1b161b66013817206.tar.gz
Create template
Diffstat (limited to 'templates')
-rw-r--r--templates/create-ontology.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/create-ontology.html b/templates/create-ontology.html
new file mode 100644
index 0000000..44d8ef1
--- /dev/null
+++ b/templates/create-ontology.html
@@ -0,0 +1,23 @@
+{% extends "layout.html" %}
+{% block content %}
+
+<div class="container mt-4">
+  <h3>Create Ontology with Gemini AI</h3>
+
+  <form method="POST" action="/create-ontology">
+    <div class="form-group">
+      <label for="prompt">Prompt:</label>
+      <textarea class="form-control" id="prompt" name="prompt" rows="6">{{ prompt }}</textarea>
+    </div>
+    <button type="submit" class="btn btn-primary">Create Ontology</button>
+  </form>
+
+  {% if result %}
+  <div class="form-group mt-4">
+    <label for="result">Result ({{ count }} terms):</label>
+    <textarea class="form-control" id="result" rows="20" readonly>{{ result }}</textarea>
+  </div>
+  {% endif %}
+</div>
+
+{% endblock %}