liquid_feedback_frontend
view env/ui/sidebar.lua @ 1725:4a5a79a37db1
Render links in unit and area description, updated layout of unit and area box
author | bsw |
---|---|
date | Tue Sep 28 09:43:58 2021 +0200 (2021-09-28) |
parents | 701a5cf6b067 |
children |
line source
1 function ui.sidebar ( arg1, arg2 )
3 local class = "sidebarSection"
4 local content
6 if arg2 then
7 class = class .. " " .. arg1
8 content = arg2
9 else
10 content = arg1
11 end
13 slot.select ( "sidebar", function ()
14 ui.container { attr = { class = class }, content = content }
15 end )
17 end