PCv5/app/static
Lephe 1d38f906ee
admin/members: add a dynamic regex/logic filter for the member list
This commit introduces a client-side table filter that supports regexes
and propositional logic to filter table rows.

A table can be filtered if it has the [filter-target] class and its
first row has <th> tags with a [data-filter] attribute specifying column
names.

The filter itself is a div with the [form] and [filter] classes, and a
[data-target] attribute pointing to the table to filter. The filter
contains a text <input> which is passed to filter_update() when the
filter expression is validated.

The client-side filter code runs the expression through a basic lexer
and parser, then matches the result for every row in the target table.
The [textContent] of each cell is used for string and regex matching.
2020-11-02 14:38:28 +01:00
..
css admin/members: add a dynamic regex/logic filter for the member list 2020-11-02 14:38:28 +01:00
fonts Ajout de la police pour les smileys :) 2019-09-25 16:36:06 +02:00
icons Ajout d'une favicon :D 2019-12-17 10:10:51 +01:00
images trophies: generate icons dynamically in the master script 2020-07-22 11:53:35 +02:00
scripts admin/members: add a dynamic regex/logic filter for the member list 2020-11-02 14:38:28 +01:00