Commit Graph

16 Commits

Author SHA1 Message Date
olivierauverlot 3834f18e88 New modal component (#934)
* New modal component and upgrade of the button component to allow the opening of a modal box

* Modal component

* Update examples/official-site/sqlpage/migrations/63_modal.sql

* Support for embed content in modal box
2025-06-27 14:32:37 +02:00
lovasoa 09fc784085 new image property in the [button] 2024-06-21 18:36:40 +02:00
PChemGuy 8486c68c7c Adds support for image-file-based button icons 2024-06-20 21:24:38 +03:00
lovasoa 1360d54bc6 fix space in icon button 2024-06-19 00:16:18 +02:00
lovasoa 907a61df0a fix alignment issue on narrow buttons 2024-06-19 00:06:22 +02:00
PChemGuy 7632d37b5b Added "narrow" attribute to "button"
Sets .btn-icon class, which trims horizontal padding.
See https://tabler.io/docs/components/buttons#icon-buttons
2024-06-19 00:28:42 +03:00
lovasoa cfc0ce36d4 download buttons
fixes https://github.com/lovasoa/SQLpage/issues/388
2024-06-09 20:21:10 +02:00
Amruta.org e30ee13528 Update button.handlebars adding text-wrap 2024-06-06 19:00:39 +02:00
lovasoa 15aac4dd48 new tooltip property in the button component
closes https://github.com/lovasoa/SQLpage/discussions/343

see https://github.com/lovasoa/SQLpage/issues/69
2024-05-30 11:11:29 +02:00
lovasoa e5a964928e add documentation for icon_after
fixes https://github.com/lovasoa/SQLpage/pull/348
2024-05-29 15:58:25 +02:00
Amruta.org 492c63247c Update button.handlebars adding after-icon
Explanation
{{#if after_icon}}: This new block checks if the after_icon parameter is provided. If it is, it renders the icon after the text.
In this way, the template will support both an icon before and after the text, depending on which parameters (icon or after_icon) are provided.
2024-05-29 05:37:36 +02:00
lovasoa bc02f6395b syntax 2024-05-24 16:18:34 +02:00
lovasoa af1904eea6 Add a row-level id attribute to the button component.
fixes https://github.com/lovasoa/SQLpage/issues/340
2024-05-24 15:20:06 +02:00
Lorefnon 1fa4f9364a Add id/class to the components (#182) 2024-01-12 23:05:38 +01:00
lovasoa ec0e580a95 Form submission with button component. #113 2023-11-06 23:07:55 +01:00
lovasoa 99d61b679a new component: button
creates a row of buttons to implement easy navigation
2023-10-19 00:04:58 +02:00