WIP: ktb-static #5

Draft
niko wants to merge 9 commits from ktb-static into main
Showing only changes of commit 9cd6667e4a - Show all commits

View file

@ -209,8 +209,6 @@
<h4>Trofal</h4> <h4>Trofal</h4>
<table class="is-fullwidth"> <table class="is-fullwidth">
<tbody> <tbody>
<template <template
x-for="wf2 in (lemma_detail?.word_forms ?? [])"> x-for="wf2 in (lemma_detail?.word_forms ?? [])">
<tr x-data="{ <tr x-data="{
@ -232,6 +230,7 @@
x-model="edited_text"> x-model="edited_text">
</td> </td>
<td style="width: 5em;"> <td style="width: 5em;">
<div class="float-right">
<button class="tiny hollow primary" x-show="!editing" title="kawari" <button class="tiny hollow primary" x-show="!editing" title="kawari"
@click="editing = true" >~</button> @click="editing = true" >~</button>
<button class="tiny hollow delete" x-show="!editing" title="keshite" <button class="tiny hollow delete" x-show="!editing" title="keshite"
@ -240,6 +239,7 @@
@click="editing = false">/</button> @click="editing = false">/</button>
<button class="tiny" x-show="editing" title="antaa" <button class="tiny" x-show="editing" title="antaa"
@click="await put_word_form_text(wf2.word_form_id, edited_text); editing = false" >></button> @click="await put_word_form_text(wf2.word_form_id, edited_text); editing = false" >></button>
</div>
</td> </td>
</tr> </tr>
</template> </template>