From 9377a62f288981e7ef44c91a5895d8405d0aacf1 Mon Sep 17 00:00:00 2001 From: Manon Bourgognon <manon.bourgognon@epitech.eu> Date: Wed, 31 Mar 2021 16:35:41 +0200 Subject: [PATCH] Add class-submit/delete-button attributes --- source/import_documentation/Components/Solid-Delete.rst | 3 +++ .../Components/Solid-Form-Search.rst | 5 +++++ source/import_documentation/Components/Solid-Form.rst | 5 +++++ source/import_documentation/attributes-list.rst | 9 +++++++++ 4 files changed, 22 insertions(+) diff --git a/source/import_documentation/Components/Solid-Delete.rst b/source/import_documentation/Components/Solid-Delete.rst index 44c8733..0497c79 100644 --- a/source/import_documentation/Components/Solid-Delete.rst +++ b/source/import_documentation/Components/Solid-Delete.rst @@ -40,6 +40,9 @@ Attributes Add this attribute to create a dialog box linked with the button of the solid-delete. Its value matches the message displayed in the dialog box. +``class-delete-button`` +~~~~~~~~~~~~~~~~~~~~~~~ + Define the ``class`` of the ``div`` containing the delete button. Events ------- diff --git a/source/import_documentation/Components/Solid-Form-Search.rst b/source/import_documentation/Components/Solid-Form-Search.rst index 5265770..37383f6 100644 --- a/source/import_documentation/Components/Solid-Form-Search.rst +++ b/source/import_documentation/Components/Solid-Form-Search.rst @@ -51,6 +51,11 @@ Attributes Text of the submit button to create in the search form. If the attribute is not defined, no button will be added and the form will trigger the search on change. +.. _class-submit-button-sfs: +``class-submit-button`` +~~~~~~~~~~~~~~~~~~~~~~~ + Define the ``class`` of the ``div`` containing the submit button. + .. _range-field-sfs: ``range-[field]`` ~~~~~~~~~~~~~~~~~ diff --git a/source/import_documentation/Components/Solid-Form.rst b/source/import_documentation/Components/Solid-Form.rst index 13a216d..6cb460a 100644 --- a/source/import_documentation/Components/Solid-Form.rst +++ b/source/import_documentation/Components/Solid-Form.rst @@ -55,6 +55,11 @@ Attributes ~~~~~~~~~~~~~~~~~ Text of the submit button of the form. +.. _class-submit-button-sf: +``class-submit-button`` +~~~~~~~~~~~~~~~~~~~~~~~ +Define the ``class`` of the ``div`` containing the submit button. + .. _range-field-sf: ``range-[field]`` ~~~~~~~~~~~~~~~~~ diff --git a/source/import_documentation/attributes-list.rst b/source/import_documentation/attributes-list.rst index 41f7547..67ffa78 100644 --- a/source/import_documentation/attributes-list.rst +++ b/source/import_documentation/attributes-list.rst @@ -26,6 +26,15 @@ List of attributes (core framework) ~~~~~~~~~~~~~~~~~ * :ref:`widget-mixin <class-field>` +``class-delete-button`` +~~~~~~~~~~~~~~~~~~~~~~~ + * :ref:`solid-delete <solid-delete>` + +``class-submit-button`` +~~~~~~~~~~~~~~~~~~~~~~~ + * :ref:`solid-form <class-submit-button-sf>` + * :ref:`solid-form-search <class-submit-button-sfs>` + ``clustering`` ~~~~~~~~~~~~~~ * :ref:`solid-map <solid-map>` -- GitLab