liquid_feedback_frontend
changeset 882:1c70e9ea07ad
Added raw_title helper
author | bsw |
---|---|
date | Mon Aug 20 01:24:58 2012 +0200 (2012-08-20) |
parents | 23e12fe721d4 |
children | 1e4c6baf2d87 |
files | env/ui/raw_title.lua |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/env/ui/raw_title.lua Mon Aug 20 01:24:58 2012 +0200 1.3 @@ -0,0 +1,7 @@ 1.4 +function ui.raw_title(content) 1.5 + slot.select("head", function() 1.6 + ui.container{ attr = { class = "title" }, content = function() 1.7 + slot.put(content) 1.8 + end } 1.9 + end) 1.10 +end 1.11 \ No newline at end of file