From f069ec044fa2979caa1372e820ea9c2e94ca1859 Mon Sep 17 00:00:00 2001 From: Manon Bourgognon <manon.bourgognon@epitech.eu> Date: Thu, 29 Jul 2021 11:24:00 +0200 Subject: [PATCH] some pages layout --- .../Components/Solid-Auth.rst | 2 +- .../Components/Solid-Form-Search.rst | 5 +++-- .../Components/Solid-Table.rst | 18 +++++++++--------- .../Mixins/filter-mixin.rst | 2 +- .../import_documentation/Mixins/next-mixin.rst | 2 +- 5 files changed, 15 insertions(+), 14 deletions(-) diff --git a/source/import_documentation/Components/Solid-Auth.rst b/source/import_documentation/Components/Solid-Auth.rst index bd8766e..83568e1 100644 --- a/source/import_documentation/Components/Solid-Auth.rst +++ b/source/import_documentation/Components/Solid-Auth.rst @@ -19,7 +19,7 @@ Initialize ``sib-auth`` in your HTML file : </sib-auth> - `You'll find here the detail of the attributes configuration. <https://github.com/IdentityModel/oidc-client-js/wiki#usermanager>`__ +`You'll find here the detail of the attributes configuration. <https://github.com/IdentityModel/oidc-client-js/wiki#usermanager>`__ Set an OIDC provider to your server ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/source/import_documentation/Components/Solid-Form-Search.rst b/source/import_documentation/Components/Solid-Form-Search.rst index aca6e7a..9adf5bf 100644 --- a/source/import_documentation/Components/Solid-Form-Search.rst +++ b/source/import_documentation/Components/Solid-Form-Search.rst @@ -115,7 +115,7 @@ Specific attributes Allows to modify "searchPlaceholder" displayed in the search bar (from SlimSelect plugin). Its value by default is "Search" in English, "Rechercher" in French. - **It works only with the ``autocompletion`` feature.** + **It works only with the autocompletion feature.** .. _search-text-field: ``search-text-[field]`` @@ -124,7 +124,7 @@ Specific attributes Allows to modify "searchText" displayed when no value is found (from SlimSelect plugin). Its value by default is "No result" in English, "Aucun résultat" in French. - **It works only with the ``autocompletion`` feature.** + **It works only with the autocompletion feature.** .. code:: html @@ -154,6 +154,7 @@ Specific attributes ``field`` can target a ``container`` or a ``resource``. In this example below, ``auto-range-skills ``attribute catches all skill values for all users in the ``data-src`` `data/list/users` and displays in the dropdown all skills once : + .. code:: html <solid-form-search diff --git a/source/import_documentation/Components/Solid-Table.rst b/source/import_documentation/Components/Solid-Table.rst index 7caf423..d499851 100644 --- a/source/import_documentation/Components/Solid-Table.rst +++ b/source/import_documentation/Components/Solid-Table.rst @@ -63,8 +63,8 @@ Specific attributes .. code:: javascript - document.querySelector('solid-table').component.selectedLines - // returns [ "resourceId1", "resourceId2" ] + document.querySelector('solid-table').component.selectedLines + // returns [ "resourceId1", "resourceId2" ] ``editable-[field]`` ~~~~~~~~~~~~~~~~~~~~ @@ -75,13 +75,13 @@ Specific attributes .. code:: html - <solid-table - data-src="https://server/users/" - fields="first_name" - editable-first_name - widget-first_name="solid-form-placeholder-text" - placeholder-first_name="Your First Name" - ></solid-table> + <solid-table + data-src="https://server/users/" + fields="first_name" + editable-first_name + widget-first_name="solid-form-placeholder-text" + placeholder-first_name="Your First Name" + ></solid-table> Mixin attributes diff --git a/source/import_documentation/Mixins/filter-mixin.rst b/source/import_documentation/Mixins/filter-mixin.rst index a140692..a8e91eb 100644 --- a/source/import_documentation/Mixins/filter-mixin.rst +++ b/source/import_documentation/Mixins/filter-mixin.rst @@ -20,7 +20,7 @@ Attributes Target a ``<solid-form-search>`` used to filter current list of resource. - example: + Example: .. code:: html diff --git a/source/import_documentation/Mixins/next-mixin.rst b/source/import_documentation/Mixins/next-mixin.rst index 539b849..5ab1af4 100644 --- a/source/import_documentation/Mixins/next-mixin.rst +++ b/source/import_documentation/Mixins/next-mixin.rst @@ -20,7 +20,7 @@ Attributes ``next`` ~~~~~~~~ - `name` attribute of the ``<solid-route>`` that should be accessed when a ``<solid-display>``, ``<solid-map>`` or ``<solid-calendar>`` element is clicked. + ``name`` attribute of the ``<solid-route>`` that should be accessed when a ``<solid-display>``, ``<solid-map>`` or ``<solid-calendar>`` element is clicked. It can also be used to indicate the ``name`` attribute of the ``<solid-route>`` to reach after : -- GitLab