liquid_feedback_frontend
annotate env/ui/grid.lua @ 1696:446d2798f424
Automatically switch to single unit mode for users having only one unit
| author | bsw |
|---|---|
| date | Thu Sep 23 17:47:58 2021 +0200 (2021-09-23) |
| parents | 32cc544d5a5b |
| children |
| rev | line source |
|---|---|
| bsw/jbe@1309 | 1 function ui.grid(args) |
| bsw/jbe@1309 | 2 args.attr = args.attr or {} |
| bsw/jbe@1309 | 3 args.attr.class = args.attr.class and args.attr.class .. " " or "" |
| bsw/jbe@1309 | 4 args.attr.class = args.attr.class .. "mdl-grid" |
| bsw/jbe@1309 | 5 ui.container(args) |
| bsw/jbe@1309 | 6 end |