liquid_feedback_frontend
annotate env/ui/sidebarHead.lua @ 1859:02c34183b6df
Fixed wrong filename in INSTALL file
author | bsw |
---|---|
date | Tue Nov 28 18:54:51 2023 +0100 (17 months ago) |
parents | 701a5cf6b067 |
children |
rev | line source |
---|---|
bsw@1045 | 1 function ui.sidebarHead ( arg1, arg2 ) |
bsw@1045 | 2 |
bsw@1045 | 3 local class = "sidebarHead" |
bsw@1045 | 4 local content |
bsw@1045 | 5 |
bsw@1045 | 6 if arg2 then |
bsw@1045 | 7 class = class .. " " .. arg1 |
bsw@1045 | 8 content = arg2 |
bsw@1045 | 9 else |
bsw@1045 | 10 content = arg1 |
bsw@1045 | 11 end |
bsw@1045 | 12 |
bsw@1045 | 13 ui.container { attr = { class = class }, content = content } |
bsw@1045 | 14 |
bsw@1045 | 15 end |