188 Commits

Author SHA1 Message Date
lovasoa 2aa0eecef8 loop, muted, and nocontrols for videos 2024-06-09 21:26:01 +02:00
Ophir LOJKINE 2bf85bc401 Merge pull request #385 from amrutadotorg/patch-9
adding poster parameter to the hero component
2024-06-09 20:59:20 +02:00
lovasoa cfc0ce36d4 download buttons
fixes https://github.com/lovasoa/SQLpage/issues/388
2024-06-09 20:21:10 +02:00
Amruta.org 19e0bccad4 Adding to hero.handlebars a poster as top-level parameter 2024-06-08 07:47:51 +02:00
lovasoa f32a176839 fix for geojson bounds determination 2024-06-07 08:50:05 +02:00
lovasoa ed9a367962 update map component
when top-level latitude and longitude attributes are omitted, the map will now center on its markers

fixes https://github.com/lovasoa/SQLpage/issues/378
2024-06-07 08:35:12 +02:00
Amruta.org e30ee13528 Update button.handlebars adding text-wrap 2024-06-06 19:00:39 +02:00
Amruta.org 94a4102c1d Update card.handlebars adding style to embed 2024-06-01 12:39:33 +02:00
Ophir LOJKINE f55a194cd0 Merge pull request #362 from E8y2FqZE/main
Added `search_value` to shell component.
2024-06-01 10:01:43 +02:00
Amruta.org 4ea8c3e083 Update hero.handlebars adding text-wrap to link_text 2024-05-31 20:38:06 +02:00
E8y2FqZE 0b64e118d5 Added search_value to shell component. 2024-05-31 13:09:30 +00: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 2ff489df99 fix 'separator' option in the CSV component
fixes https://github.com/lovasoa/SQLpage/issues/352

fixes https://github.com/lovasoa/SQLpage/discussions/345
2024-05-30 10:39:51 +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
lovasoa ea14c96361 links to migrations 2024-05-23 18:36:14 +02:00
lovasoa ed78380f65 More intuitive timeseries chart time axis behavior
fix https://github.com/lovasoa/SQLpage/issues/324
2024-05-20 21:00:27 +02:00
lovasoa c140e99a0d update dependencies (new icons, new charts, bugfixes) 2024-05-18 21:40:51 +02:00
lovasoa 63e8d1e7a8 new multi-step form example 2024-05-18 14:19:11 +02:00
Daniel Sheffield fd68f720ce Add favicon and manifest properties to shell.handlebars 2024-05-15 19:43:55 +12:00
lovasoa a016cdb815 embed prefix addition in the static_path helper 2024-05-14 00:17:20 +02:00
Daniel Sheffield a55739e68f missed one 2024-05-13 21:42:52 +12:00
Daniel Sheffield 013eb8f6c4 require trailing slash on site_prefix to avoid multiple strip_prefix calls 2024-05-13 21:28:19 +12:00
Daniel Sheffield 97d9a3c250 serve manfiest from site root too 2024-05-12 19:12:08 +12:00
Daniel Sheffield e09e1dbb5a support site prefix for use with reverse proxy 2024-05-12 18:57:15 +12:00
lovasoa b283c8ec3f move read_file_as_text to the new function system
add an "html" property to the shell-empty component
2024-05-09 11:00:17 +02:00
lovasoa 490711abd7 add "searchable" as an alias for dropdown in the form component
thanks @c-classen

https://github.com/lovasoa/SQLpage/issues/297
2024-05-01 13:26:43 +02:00
lovasoa b9bd212258 fix autofocus on select fields with dropdown
fixes https://github.com/lovasoa/SQLpage/issues/297
2024-04-29 23:35:14 +02:00
lovasoa 7297711432 Fix missing visual indication of selected item in form dropdown fields
works around https://github.com/tabler/tabler/issues/1879

fixes the first part of https://github.com/lovasoa/SQLpage/issues/297
2024-04-29 23:16:36 +02:00
lovasoa fe268f45ed bundle tomselect with sqlpage 2024-04-14 18:52:59 +02:00
lovasoa 12cc7cf0eb add a dropdown form item that allows multiple selection
fixes https://github.com/lovasoa/SQLpage/issues/221
fixes https://github.com/lovasoa/SQLpage/discussions/281
see https://github.com/lovasoa/SQLpage/discussions/220
2024-04-14 18:31:31 +02:00
lovasoa 49332324c0 update tabler icons 2024-04-14 10:49:31 +02:00
lovasoa 6982681bd7 chart performance: use .textContent instead of .innerText 2024-03-25 09:41:17 +01:00
lovasoa ba4292b492 add an easy was to persist uploaded files
fixes https://github.com/lovasoa/SQLpage/issues/199
2024-03-23 13:03:47 +01:00
lovasoa 746541fa9b add a css class with the column name to table headers, and document the behavior
fixes https://github.com/lovasoa/SQLpage/discussions/264
2024-03-13 18:26:41 +01:00
lovasoa 38fad27b5d update tabler icons 2024-03-13 11:32:29 +01:00
lovasoa 378ed9c50e update apexcharts 2024-03-12 15:40:24 +01:00
olivierauverlot eaee6987d8 New RSS component (#252)
* Produces a data flow in the RSS format

* add documentation and rss reference

* more complete rss component, with support for podcasts

* podcast changes

* documentation

* format dates as rfc2822

* extract template helpers

* extract more helpers

* remove unnecassary error handling

* fmt

* two-param helpers

* rfc2822_date_helper

* test rfc date formatter

* accept dates with or without time

* remove unneeded line breaks

---------

Co-authored-by: Olivier Auverlot <oauv@duck.com>
Co-authored-by: lovasoa <pere.jobs@gmail.com>
2024-03-05 19:42:44 +01:00
olivierauverlot edb7bf4d0f A unique identifier for the input, which can then be used to select and manage the field with Javascript code. (#250)
Co-authored-by: Olivier Auverlot <oauv@duck.com>
2024-03-04 16:08:17 +01:00
olivierauverlot 318dec18d3 Table improvements (#242)
Co-authored-by: Olivier Auverlot <oauv@duck.com>
2024-02-25 19:09:06 +01:00
lovasoa 9974f082b9 update apex charts 2024-02-24 20:15:50 +01:00
lovasoa beecaa1407 add support for new page layouts
Closes https://github.com/lovasoa/SQLpage/discussions/240
2024-02-24 20:08:39 +01:00
Ophir LOJKINE d14508d249 multishell (#234)
* New prefix and suffix attributes to create prepended and appended form fields

* fix indentation

* improve documentation

* add prefix_icon

* update changelog

* fix default cookie path

see https://github.com/lovasoa/SQLpage/discussions/200

* update dependencies

* multiple custom shells

* fmt

* clippy

* clippy

* tests and docs

* changelog

* update dependencies

---------

Co-authored-by: Olivier Auverlot <oauv@duck.com>
2024-02-24 19:23:13 +01:00
lovasoa dfe6dbbbf5 New edit_link, delete_link, and view_link...
...row-level attributes in the list component to add icons and links to each row.
2024-02-18 21:06:54 +01:00
olivierauverlot 29d56fa204 Refactoring of title and code components + documentation of these components (#224)
* New prefix and suffix attributes to create prepended and appended form fields

* Refactoring of code and title components. Documentation of code and title components.

* corrections

---------

Co-authored-by: Olivier Auverlot <oauv@duck.com>
2024-02-17 10:55:42 +01:00
olivierauverlot 2d68c6b767 forms: allow creating input groups with icons and text around form fields
* New prefix and suffix attributes to create prepended and appended form fields

* fix indentation

* improve documentation

* add prefix_icon

* update changelog

---------

Co-authored-by: Olivier Auverlot <oauv@duck.com>
Co-authored-by: lovasoa <pere.jobs@gmail.com>
2024-02-11 10:58:29 +01:00
lovasoa ede6a2823b update charting library & add new icons 2024-02-03 18:14:21 +01:00
Ophir LOJKINE 5fa50f374a carousel component (#214)
* Initial carousel component implementation

* change carousel example

* make the carousel text description more readable by adding a background

* update cat example

* carousel automatic cycling is now optional

* remove requirement for unique name attribute in carousel

see https://github.com/lovasoa/SQLpage/pull/179#discussion_r1445378383

* fix carousel buttons

* uodate deps

* fix official site docs

* lint

* update changelog

---------

Co-authored-by: Olivier Auverlot <@olivierauverlot>
2024-02-03 15:44:44 +01:00