1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

Add transaction sidebar (#534)

* Create sidebar element and working with turbo

* Add overview fields

* Add columns to transations and tidy modal

* permit new transaction params

* Add autosubmit form controller

* remove unused show code
This commit is contained in:
Cristiano Crolla 2024-03-10 21:38:31 +00:00 committed by GitHub
parent 9c9459211f
commit 7f2633f9da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 134 additions and 15 deletions

View file

@ -0,0 +1,14 @@
<%= turbo_frame_tag "modal" do %>
<dialog class="bg-white border border-alpha-black-25 rounded-2xl max-h-[calc(100vh-32px)] max-w-[480px] w-full shadow-xs h-full mt-4 mr-4" data-controller="modal" data-action="click->modal#click_outside">
<div class="flex flex-col h-full p-4">
<div class="flex justify-end items-center h-9">
<div data-action="click->modal#close" class="cursor-pointer">
<%= lucide_icon("x", class: "w-5 h-5 shrink-0") %>
</div>
</div>
<div class="flex flex-col overflow-scroll">
<%= content %>
</div>
</div>
</dialog>
<% end %>