[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: homepage(s) for game-data-packager

Alexandre Detiste <alexandre.detiste@gmail.com> writes:

> Le samedi 29 août 2015, 19:09:28 Nils Dagsson Moskopp a écrit :
>> > My HTML skills are stuck in the 90's but I guess Debian users
>> > would like it that way. Maybe some javascript to filter by language
>> > would be nice though.
>> Please do not use JavaScript for such a simple task. Filtering and
>> Highlighting can be done using HTML and CSS, see attachment and this:
>> <http://daten.dieweltistgarnichtso.net/src/debian-game-data-packager-babel.html>
> So if someone wants "fr" or "de" only,
> he first needs to unselect _all_ other languages one by one.
> These check-box should behave like a tristate:
> 1) at first no language is selected: everything is displayed
> 2) when some language is selected, all rows that doesn't match are hidden
> 3) more languages can be added back one by one
> Also, with this trick, rowspan can not be used anymore ?

I think it can. See the current version:

>> Do you need a patch to merge the CSS-based table filtering?
> I found this link, that gets tricky:
> https://css-tricks.com/indeterminate-checkboxes/
> I though of a one-shot "on-click" that
> disable all other checkboxes (step 2)
> A patch is welcome
> you can send a Github PR if you prefer.

I certainly do not prefer GitHub.

> This repo is allways kept in sync with Alioth
> https://github.com/a-detiste/game-data-packager
> Alexandre

Nils Dagsson Moskopp // erlehmann

Attachment: pgp9EbBP1OMFS.pgp
Description: PGP signature

Reply to: