Format table and various components especially buttons

This commit is contained in:
2025-02-01 19:27:01 +01:00
parent 0ffe405e84
commit abb333da54
2 changed files with 54 additions and 60 deletions

View File

@@ -3,19 +3,19 @@
<td>{{feed.feed_url}}</td>
<td>{{feed.last_pub_date.clone().unwrap_or("None".to_string())}}</td>
<td>
<button class="btn"
<button class="btn btn-sm"
hx-get="/feed/{{feed.id}}/edit/inline"
hx-target="#feed_{{feed.id}}"
hx-swap="outerHTML">
Edit Inline
</button>
<button class="btn"
<button class="btn btn-sm"
hx-get="/feed/{{feed.id}}/edit/form"
hx-target="body"
hx-swap="beforeend">
Edit Dialog
</button>
<button class="btn btn-warning"
<button class="btn btn-error btn-sm"
hx-confirm="Are you sure?"
hx-delete="/feed/{{feed.id}}"
hx-target="#feed_{{feed.id}}"