Commit graph

6 commits

Author SHA1 Message Date
Benjamin Renard
12217d642e
JS handle_ajax_return() helper: fix handling Tpl :: display_ajax_error() response type 2025-01-06 15:47:01 +01:00
Benjamin Renard
2beee5c645
validate_form(): add support of Bootstrap switches 2024-12-28 02:03:41 +01:00
Benjamin Renard
075519220b
handle_ajax_return(): only display success_message if no other message is provided and fix auto-dismiss it 2024-12-28 01:58:24 +01:00
Benjamin Renard
e48d1224f6
Improve validate_form() JS helper function 2024-12-28 00:19:22 +01:00
Benjamin Renard
f868343de5
Upgrade AlertifyJS to v1.14.0 2024-12-27 23:10:14 +01:00
Benjamin Renard
4f2259f118
Add some useful UI helpers
- Add alertify lib and provide its default configuration
- Add copy_to_clipboard() function and the CSS copyable class
- Enable Bootstrap tooltips
- Add CSS share-links class helper: link's URL is copied to clipboard
- Add Bootstrap 5 like 3-states switches
- Add show_form_modal(), validate_form() and handle_ajax_return() helper functions
2024-12-02 20:01:51 +01:00