Yu-Gi-Oh! Deck Building and Card Inventory Management web interface written in Common Lisp, utilizing HTMX.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.4KB

  1. <table class="table">
  2. <tr>
  3. <td>
  4. <label for="name">Name</label>
  5. </td>
  6. <td>
  7. <input class="input "
  8. name="name" id="name" type="text">
  9. </td>
  10. </tr>
  11. <tr>
  12. <td>
  13. </td>
  14. <td>
  15. <button class="button "
  16. hx-delete="/category/{{ id }}/delete"
  17. hx-indicator="#i-spinner"
  18. hx-confirm="Delete node id {{ id }}?"
  19. hx-target="#child-results"
  20. hx-trigger="click">Delete Node</button>
  21. <button class="button "
  22. hx-post="/category/{{ id }}/rename"
  23. hx-indicator="#i-spinner"
  24. hx-target="#child-results"
  25. hx-trigger="click">Rename Node</button>
  26. <button class="button "
  27. hx-post="/category/new-parent?id={{ id }}"
  28. hx-indicator="#i-spinner"
  29. hx-target="#child-results"
  30. hx-trigger="click">New Parent (left) Node</button>
  31. <button class="button "
  32. hx-post="/category/new-child?id={{ id }}"
  33. hx-indicator="#i-spinner"
  34. hx-target="#child-results"
  35. hx-trigger="click">New Child (right) Node</button>
  36. <button class="button "
  37. hx-get="/category/fake-data"
  38. hx-indicator="#i-spinner"
  39. hx-target="#child-results"
  40. hx-trigger="click">Fake Data</button>
  41. </td>
  42. </tr>
  43. </table>