initial docstrings of card view

This commit is contained in:
iLLiCiTiT 2021-10-25 14:08:21 +02:00
parent b948b3c826
commit 8209f40a53
3 changed files with 24 additions and 2 deletions

View file

@ -1,3 +1,25 @@
"""Card view instance with more information about each instance.
Instances are grouped under groups. Groups are defined by `creator_label`
attribute on instance (Group defined by creator).
Only one item can be selected at a time.
```
<i> == Icon (Can have Warning icon when context is not right)
+----------------------+
| Options |
| <Group 1> -----------|
| <i> <Instance 1> [x]|
| <i> <Instance 2> [x]|
| ... |
| <Group 2> -----------|
| <i> <Instance 3> [ ]|
| ... |
+----------------------+
```
"""
import re
import collections

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -1,7 +1,7 @@
"""Simple easy instance view grouping instances into collapsible groups.
Groups are defined by `creator_label` attribute on instance (Group
defined by creator).
View has multiselection ability. Groups are defined by `creator_label`
attribute on instance (Group defined by creator).
Each item can be enabled/disabled with their checkbox, whole group
can be enabled/disabled with checkbox on group or