mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 07:39:29 +00:00
Merge pull request #18 from senju1337/fix_tb
fix: fix toolbar to include haiku generation button
This commit is contained in:
commit
f595313f33
2 changed files with 10 additions and 4 deletions
|
|
@ -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">
|
||||||
|
|
@ -32,11 +34,15 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a href="{{ url_for('haiku_index_view') }}"
|
<a href="{{ url_for('haiku_index_view') }}"
|
||||||
class="rounded-md px-3 py-2 text-sm font-mediRefs: OPS-11um
|
class="rounded-md px-3 py-2 text-sm font-medium
|
||||||
{% 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-medium
|
||||||
|
{% 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
|
||||||
|
|
|
||||||
|
|
@ -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">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue