SQLpage
SQLpage copied to clipboard
Table component built-in edit_link, delete_link and view_link
Discussed in https://github.com/sqlpage/SQLPage/discussions/656
Originally posted by xylle October 30, 2024 Hello, I've started using SQLPage, which is very good. Would it be possible to add edit_link, delete_link and view_link functions to the table component, same as the list component ? You can sort and filter table, not list
How do I use the icons provided by SQLPage in my Markdown links?
I tried that, but it's not elegant :
SELECT
'table' AS component,
'action' AS markdown,
'Listes des serveurs' AS description,
TRUE AS sort,
TRUE AS small,
TRUE AS striped_rows,
TRUE AS search;
SELECT
*,
'[](formulaire_serveur.sql?serveur_id='|| id || ')' AS action,
'[](suppression_serveur.sql?serveur_id='|| id || ')' AS action
FROM serveurs;
```</div>