Dialogs fixes

This commit is contained in:
roberto 2024-12-17 12:02:32 +01:00
parent b03046a1a6
commit 4018db0e17
2 changed files with 7 additions and 7 deletions

View File

@ -44,9 +44,9 @@
{{ end }} {{ end }}
</div> </div>
</div> </div>
<div id="footer-navbar"> </div>
<a class="button main close-dialog" hx-get="/item/update/{{.item.Id}}" hx-push-url="true" hx-target="#page-content" href="/item/update/{{.item.Id}}"><i class="bi bi-pencil close-dialog"></i> Edit</a> <div id="footer-navbar">
</div> <a class="button main close-dialog" hx-get="/item/update/{{.item.Id}}" hx-push-url="true" hx-target="#page-content" href="/item/update/{{.item.Id}}"><i class="bi bi-pencil close-dialog"></i> Edit</a>
</div> </div>
</dialog> </dialog>
{{ end }} {{ end }}

View File

@ -5,7 +5,7 @@
<span class="close-dialog button close"><i class='close-dialog bi bi-x-circle-fill'></i></span> <span class="close-dialog button close"><i class='close-dialog bi bi-x-circle-fill'></i></span>
</header> </header>
<form hx-post="/quickbox/transform/{{ .quicknote.Id }}" hx-target="#message"> <form hx-post="/quickbox/transform/{{ .quicknote.Id }}" hx-target="#message">
<div style="overflow: auto;"> <div class="content">
<p> <p>
<label for="item-title">Title</label> <label for="item-title">Title</label>
<input name="Title" id="item-title" type="text" value=""/> <input name="Title" id="item-title" type="text" value=""/>
@ -46,9 +46,9 @@
</label> </label>
<span class="label-checkbox">Keep in Quickbox</span> <span class="label-checkbox">Keep in Quickbox</span>
</p> </p>
<footer> </div>
<button class="main"><i class="bi bi-arrow-up-left-circle-fill" title="Transform"></i> Transform</button> <div id="footer-navbar">
</footer> <button class="main"><i class="bi bi-arrow-up-left-circle-fill" title="Transform"></i> Transform</button>
</div> </div>
</form> </form>
</dialog> </dialog>