liquid_feedback_frontend
view app/main/lf2/units.lua @ 291:71eed60f6a41
Closed branch of experimental frontend
author | jbe |
---|---|
date | Sat Feb 25 15:56:55 2012 +0100 (2012-02-25) |
parents | 73dbc9e2bfd4 |
children |
line source
1 slot.set_layout("lf2")
3 local units = Unit:new_selector():exec()
5 ui.box{ content = function()
6 ui.box_row{ class = "head", content = function() ui.box_col{ class = "head", content = _"Units" } end }
7 for i, unit in ipairs(units) do
9 ui.box_row{ content = function() ui.box_col{ content = function()
10 ui.link{ text = unit.name, module = "lf2", view = "unit", id = unit.id }
11 end } end }
13 end
15 end }