mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 07:39:29 +00:00
fix: rename from jinja to html and update on main.py accordingly
Refs: OPS-50
This commit is contained in:
parent
c032865e0a
commit
80f3d6d9a9
3 changed files with 1 additions and 29 deletions
|
|
@ -42,6 +42,6 @@ def haiku_view(haiku_id):
|
||||||
@app.route("/prompt")
|
@app.route("/prompt")
|
||||||
def prompt_view():
|
def prompt_view():
|
||||||
return render_template(
|
return render_template(
|
||||||
"prompt.jinja",
|
"prompt.html",
|
||||||
title="Haiku generation"
|
title="Haiku generation"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
{% extends "base.jinja" %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<div class="bg-violet-900 min-h-screen flex items-center justify-center text-white">
|
|
||||||
<div class="text-center">
|
|
||||||
<div class="bg-white text-gray-900 p-10 rounded-lg shadow-lg max-w-2xl mx-auto transform -translate-y-10">
|
|
||||||
<h1 class="text-4xl font-bold text-violet-700 mb-6">Haiku of the Day</h1>
|
|
||||||
<p class="text-2xl italic leading-relaxed">
|
|
||||||
An old silent pond<br>
|
|
||||||
A frog jumps into the pond—<br>
|
|
||||||
Splash! Silence again.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="flex justify-center gap-4 mt-4">
|
|
||||||
<a href="{{ url_for('index_view') }}"
|
|
||||||
class="inline-block bg-violet-600 hover:bg-violet-700 text-white font-bold py-2 px-4 rounded-lg">
|
|
||||||
Back to Home
|
|
||||||
</a>
|
|
||||||
<a href="{{ url_for('prompt_view') }}"
|
|
||||||
class="inline-block bg-violet-600 hover:bg-violet-700 text-white font-bold py-2 px-4 rounded-lg">
|
|
||||||
Generate Haiku
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue