Go to file
jordi fita mas d697b340e9 Remove scroll after update quote or invoice form
By default, when using hx-boost, HTMx adds the `show:top` modifier to
`hx-swap`.  This is actually the wanted behaviour in these cases,
because it means that you are following a link to a “different” page,
and it makes sense to start from the top.

However, for quote and invoice forms is a hindrance because you are
usually editing the bottom-most product, as new lines are appended,
therefore you are all the time having to scroll down to the line.
Every. Single. Time.

Here i reverted the show:top to just show:false to keep the scroll as
is.  I also added the show:bottom to the new product button, because
that way the window show entirely the new line.

I could not use `show🪟bottom`, however, despite appearing in the
documentation, because that, somehow, ended up doing the same as
`show🪟top`.  Not sure if a bug or something i did not understand.

Closes #58.
2023-07-04 19:55:58 +02:00
cmd/numerus Implement login cookie, its verification, and logout 2023-01-17 20:58:13 +01:00
debian Allow importing contacts from Holded 2023-07-03 00:05:47 +02:00
demo Add empty IBAN and BIC to demo contacts 2023-07-02 02:26:35 +02:00
deploy Create validation function for SQL domains and for phones 2023-07-03 11:31:59 +02:00
pkg Create validation function for SQL domains and for phones 2023-07-03 11:31:59 +02:00
po Allow importing contacts from Holded 2023-07-03 00:05:47 +02:00
revert Create validation function for SQL domains and for phones 2023-07-03 11:31:59 +02:00
test Create validation function for SQL domains and for phones 2023-07-03 11:31:59 +02:00
verify Create validation function for SQL domains and for phones 2023-07-03 11:31:59 +02:00
web Remove scroll after update quote or invoice form 2023-07-04 19:55:58 +02:00
.gitignore Ignore IntelliJ’s project files 2023-01-30 16:42:15 +01:00
COPYING Rename LICENSE to COPYING 2023-01-15 04:08:35 +01:00
Makefile Rename extension of templates to .gohtml 2023-01-30 16:48:21 +01:00
go.mod Allow importing contacts from Holded 2023-07-03 00:05:47 +02:00
go.sum Allow importing contacts from Holded 2023-07-03 00:05:47 +02:00
sqitch.conf Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
sqitch.plan Tag Sqitch with version 1 2023-07-03 11:33:09 +02:00