PCv5/app/templates
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
..
account markdown: add markdown rendering 2020-09-18 19:43:10 +02:00
admin admin/members: add a dynamic regex/logic filter for the member list 2020-11-02 14:38:28 +01:00
base Issue #76 Refactoriser les messages flash 2020-10-01 22:16:15 +02:00
email account: ADD mot de passe oublié 2020-07-21 22:12:18 +02:00
errors errors: use the title block 2019-09-09 08:11:38 +02:00
forum editor: don't autofocus by default 2020-10-31 22:15:03 +01:00
programs programs: add models for programs and topic promotions (#20) 2020-08-01 15:11:19 +02:00
widgets threads: fix misplaced </td> in template 2020-11-01 15:59:25 +01:00
index.html templates: slightly restructure and improve design 2019-02-09 11:32:08 +01:00
search.html refactor: passage aux variables CSS4 2020-07-13 22:54:34 +02:00
tools.html Divers correctifs 2019-11-28 14:14:35 +01:00