Commit Graph

103 Commits

Author SHA1 Message Date
Spencer Hansen 32d6863982 Added checks for active status to dropdown items in shell.handlebars. 2025-10-20 15:48:07 -07:00
lovasoa 298923efb9 Update generator meta tag to include version
The generator meta tag now includes the SQLPage version. This is fetched
from the CARGO_PKG_VERSION environment variable during the build
process.
2025-09-20 20:47:29 +02:00
lovasoa 709ffb60ab Fix submenu scroll issue by enabling autoclose
This is a workaround for https://github.com/sqlpage/SQLPage/issues/1011
until tabler releases the proper fix.
2025-09-09 22:17:15 +02:00
Andrews Innovations 275b44ae51 Add active indicator to the shell nav items (#908)
* Added active indicator to the nav-item to highlight active navigation item

* Update documentation to reflect active property on a menu_item

* Updated shell component examples to separate active flag as its own example

* Update examples/official-site/sqlpage/migrations/01_documentation.sql

---------

Co-authored-by: Ophir LOJKINE <contact@ophir.dev>
2025-05-06 09:36:43 +02:00
Amruta.org 74d5b24f9a Replace hardcoded strings with customizable attributes in multiple components (#893)
* Update shell.handlebars

adding two options:
search_button
search_placeholder

* Update table.handlebars

adding search_placeholder option

* Update 01_documentation.sql

documentation update for the shell component options:
search_placeholder
search_button
and for the table component option: search_placeholder

* avoid failing tests on long loading map tiles

* add an example for search_placeholder

---------

Co-authored-by: lovasoa <contact@ophir.dev>
2025-04-24 16:01:25 +02:00
lovasoa e8d97f3220 add support for rtl languages
fixes https://github.com/sqlpage/SQLPage/issues/838
2025-03-02 10:19:11 +01:00
francesco-cattoglio 35583a5f3e Option to completely hide the footer from the shell.handlebars template (#836)
* shell.handlebars: remove footer when it is exactly an empty string

With this patch, if the user specifies the footer for the shell as exactly the empty string, then the whole footer is removed from the page. Leaving the footer as null or undefined still shows the "Build with SQLPage" default footer.

* Update CHANGELOG.md
2025-02-28 14:14:02 +01:00
lovasoa 50d22992e8 tutorials 2024-12-28 12:04:19 +01:00
lovasoa b1da4d6aea sql.datapage.app -> sql-page.com 2024-11-26 23:26:09 +01:00
lovasoa 98afe59959 SEO 2024-10-27 00:12:50 +02:00
lovasoa dd94371c44 fix https://github.com/lovasoa/SQLpage/issues/621 2024-10-04 09:23:42 +02:00
Siju Joseph 9412033450 feat: open a new tab when clicking on the menu and submenu. 2024-10-01 13:56:44 +02:00
lovasoa 7cc40e528c fixed a bug where the mobile menu would display even when no menu items were provided 2024-09-25 20:41:53 +02:00
lovasoa cecd6eabb9 increase top margin 2024-09-13 23:00:36 +02:00
lovasoa 98fea39057 when the top menu is fixed to avoid a double margin. 2024-09-13 15:29:28 +02:00
lovasoa 21b5771943 reduce top margin in shell 2024-09-13 15:26:37 +02:00
lovasoa 5453dbc324 re-add missing font property
fixes https://github.com/lovasoa/SQLpage/issues/587
2024-09-13 11:21:50 +02:00
lovasoa 1ece8821bc navbar_title + fix shell navbar layout when a page has no title
fixes https://github.com/lovasoa/SQLpage/issues/566

thanks @alexisrc1
2024-09-06 17:30:49 +02:00
lovasoa 00c423fb45 social previews 2024-08-28 20:51:32 +02:00
lovasoa e220742902 Fixed small display inconsistencies in the shell component with the new sidebar feature.
fixes https://github.com/lovasoa/SQLpage/issues/556
2024-08-27 23:17:45 +02:00
Saturos ed26b5f1ce Correct the sidebar_theme modified on body instead of aside 2024-08-20 18:20:42 +02:00
Saturos 3ad5604677 Change the sidebar theme as "sidebar_theme" 2024-08-20 17:51:26 +02:00
lovasoa 54cb2aab41 move to the datapage.app domain 2024-08-17 20:06:26 +02:00
lovasoa 969bba1be9 use the main theme for the sidebar and for the main page
CI / compile_and_lint (push) Has been cancelled
CI / test (mssql) (push) Has been cancelled
CI / test (mysql) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / windows_test (push) Has been cancelled
CI / docker_build (linux/amd64) (push) Has been cancelled
CI / docker_build (linux/arm/v7) (push) Has been cancelled
CI / docker_build (linux/arm64) (push) Has been cancelled
CI / docker_push (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage, macos-latest) (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage, ubuntu-20.04) (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage.exe, windows-latest) (push) Has been cancelled
Create Release / Build AWS Lambda Serverless zip image (push) Has been cancelled
Create Release / Create Github Release (push) Has been cancelled
Create Release / Publish to crates.io (push) Has been cancelled
https://github.com/lovasoa/SQLpage/issues/540

@Ajotah98 : I'm open to a new pr to add a separate, documented, sidebar_theme, which falls back to the main theme when not specified
2024-08-17 18:08:40 +02:00
Saturos 8f3f89dca5 Merge & correct the layout of the sidebar (#523)
* remove changes to everything but the shell

* remove inline style

* formatting

* fixshell menu layout

---------

Co-authored-by: lovasoa <contact@ophir.dev>
2024-08-15 15:57:09 +02:00
lovasoa 38d858bd3f Fix site title underline 2024-08-12 17:42:53 +02:00
Saturos 03df43c550 Merge remote-tracking branch 'upstream/main' 2024-08-09 15:55:02 +02:00
Saturos 8f01dca160 Merge conflict: merged menu-items 2024-08-09 15:26:18 +02:00
Saturos e9f02e73ca Merge conflict solving 1 2024-08-08 21:13:32 +02:00
Saturos 9d80385e17 Add inline to merge funcionality of menu-items 2024-08-07 22:23:09 +02:00
lovasoa 6cc4cce73c add e2e tests 2024-08-05 15:25:41 +02:00
lovasoa 108e312c42 fix map component for new csp 2024-08-02 00:13:18 +02:00
lovasoa c52b2ada9c improve security and usability of custom js
The new default Content-Security-Policy contains a nonce that is made available to components during rendering.

This allows including inline scripts as well as scripts from any source easily by specifying a nonce, and forbids arbitrary js from jsdelivr in case of xss
2024-08-01 23:04:07 +02:00
lovasoa 2a5eb469bb refactor class 2024-07-28 15:52:43 +02:00
lovasoa b20933450e remove formatting changes that are unrelated to the new sidebar feature
I'm not against changing code style, but we can discuss that separately.

Otherwise, PRs are hard to review
2024-07-28 15:02:43 +02:00
Saturos 1933fa75af Erase redundant CSS 2024-07-25 17:36:36 +02:00
Saturos 1686cf348d Add sidebar 2024-07-25 17:19:57 +02:00
lovasoa 5719fb448a add support for esm javascript modules 2024-07-23 22:29:38 +02:00
lovasoa 664c99eaa9 shell title 2024-07-17 17:43:55 +02:00
lovasoa eb9b8e89b0 improve display of long page titles on small screens
closes https://github.com/lovasoa/SQLpage/issues/446
2024-07-11 13:45:01 +02:00
lovasoa 11b7656da9 changelog + remove conversion 2024-07-08 22:12:17 +02:00
PChemGuy 8e343e2506 Fixes top bar being shown only when page title is defined
When any top bar element is defined (title, icon, image, or menu), show top bar.
2024-06-27 08:22:03 +03:00
PChemGuy 35f35aad09 Extra parenthesis and secon instance 2024-06-24 00:53:03 +03:00
PChemGuy e5fc38e86d Update sqlpage/templates/shell.handlebars
Co-authored-by: Ophir LOJKINE <contact@ophir.dev>
2024-06-24 00:47:24 +03:00
PChemGuy bf1f52db34 Fixes OR helper usage
Apparently, the OR helper only supports two arguments, so three arguments require two helper calls
2024-06-24 00:24:54 +03:00
lovasoa e99e386a5f include a default favicon in sqlpage
this fixes the Unable to read file "favicon.ico" error that was displayed by default in the console when opening a page in a browser
2024-06-23 18:19:21 +02:00
Ophir LOJKINE 587f288844 Merge pull request #445 from pchemguy/fixed-top-navbar
Fixes margin issue for horizontal and fluid layouts with fixed navbar
2024-06-22 10:18:54 +02:00
Ophir LOJKINE fa12f8a645 Merge pull request #442 from pchemguy/menu-item-icon
Adds support for icons and image-based icons in menu
2024-06-22 10:17:57 +02:00
PChemGuy cb6d708ce4 Fixes margin issue for horizontal and fluid layouts with fixed navbar 2024-06-22 11:10:31 +03:00
Ophir LOJKINE 183ab27b75 Merge pull request #440 from pchemguy/fixed-top-navbar
Adds fixed top menu option to shell
2024-06-22 09:29:42 +02:00