liquid_feedback_frontend
diff app/main/lf2/_search.lua @ 212:3e4ad069847a
Some more work at 2nd generation frontend code
| author | bsw |
|---|---|
| date | Thu Mar 03 18:39:00 2011 +0100 (2011-03-03) |
| parents | 4993b71b383f |
| children | 1dab81353eb1 |
line diff
1.1 --- a/app/main/lf2/_search.lua Wed Mar 02 20:06:26 2011 +0100 1.2 +++ b/app/main/lf2/_search.lua Thu Mar 03 18:39:00 2011 +0100 1.3 @@ -1,35 +1,14 @@ 1.4 -ui.container{ 1.5 - attr = { class = "boxhead" }, 1.6 - content = _"Search in initiatives for text:" 1.7 -} 1.8 - 1.9 -ui.container{ 1.10 - attr = { class = "search box" }, 1.11 - content = function() 1.12 - ui.container{ 1.13 - attr = { class = "row first" }, 1.14 - content = function() 1.15 - ui.container{ 1.16 - attr = { class = "col first" }, 1.17 - content = function() 1.18 +ui.box{ class = "search", content = function() 1.19 + ui.box_row{ class = "head", content = function() ui.box_col{ class = "head", content = _"Search in initiatives" } end } 1.20 1.21 - ui.form{ 1.22 - content = function() 1.23 - 1.24 - 1.25 - slot.put(" ") 1.26 - 1.27 - ui.tag{ tag = "input", attr = { type = "text", name = "q" } } 1.28 - 1.29 - ui.submit{ text = _"Search" } 1.30 - 1.31 - end 1.32 - } 1.33 - 1.34 - end 1.35 - } 1.36 - 1.37 + ui.box_row{ content = function() ui.box_col{ content = function() 1.38 + ui.form{ 1.39 + content = function() 1.40 + slot.put(" ") 1.41 + ui.tag{ tag = "input", attr = { type = "text", name = "q" } } 1.42 + ui.submit{ text = _"Search" } 1.43 end 1.44 } 1.45 - end 1.46 -} 1.47 \ No newline at end of file 1.48 + end } end } 1.49 + 1.50 +end } 1.51 \ No newline at end of file