fix: fix toolbar to include haiku generation button

Refs: OPS-51
This commit is contained in:
0xjrx 2025-02-28 20:29:08 +01:00
parent 91e4567bf6
commit b9fe19cf2d
No known key found for this signature in database
GPG key ID: 61C53033867D0271
2 changed files with 9 additions and 3 deletions

View file

@ -20,7 +20,9 @@
<div class="flex h-16 items-center justify-between"> <div class="flex h-16 items-center justify-between">
<div class="flex items-center"> <div class="flex items-center">
<div class="shrink-0"> <div class="shrink-0">
<img class="size-8" src="{{ url_for('static', filename='img/senju-nobg.svg') }}" alt="選集"> <a href = "{{ url_for('index_view') }}">
<img class="size-8" src="{{ url_for('static', filename='img/senju-nobg.svg') }}" alt="選集",>
</a>
</div> </div>
<div class="hidden md:block"> <div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4"> <div class="ml-10 flex items-baseline space-x-4">
@ -36,7 +38,11 @@
{% if request.endpoint == 'haiku_view' %} bg-gray-900 text-white {% else %} text-gray-300 hover:bg-gray-700 hover:text-white {% endif %}"> {% if request.endpoint == 'haiku_view' %} bg-gray-900 text-white {% else %} text-gray-300 hover:bg-gray-700 hover:text-white {% endif %}">
Haiku Haiku
</a> </a>
<a href="{{ url_for('prompt_view') }}"
class="rounded-md px-3 py-2 text-sm font-mediRefs: OPS-11um
{% if request.endpoint == 'prompt_view' %} bg-gray-900 text-white {% else %} text-gray-300 hover:bg-gray-700 hover:text-white {% endif %}">
Haiku generation
</a>
<a href="#" <a href="#"
class="rounded-md px-3 py-2 text-sm font-medium text-gray-300 hover:bg-gray-700 hover:text-white"> class="rounded-md px-3 py-2 text-sm font-medium text-gray-300 hover:bg-gray-700 hover:text-white">
Information Information

View file

@ -1,4 +1,4 @@
{% extends "base.jinja" %} {% extends "base.html" %}
{% block content %} {% block content %}
<div class="flex flex-col items-center justify-center min-h-screen bg-violet-900 text-white p-6"> <div class="flex flex-col items-center justify-center min-h-screen bg-violet-900 text-white p-6">