liquid_feedback_frontend
annotate env/ui/raw_title.lua @ 1046:b9300c2e75da
Removed RocketWiki from installation instructions
| author | jbe |
|---|---|
| date | Thu Jul 10 02:14:49 2014 +0200 (2014-07-10) |
| parents | 701a5cf6b067 |
| children |
| rev | line source |
|---|---|
| bsw@1045 | 1 function ui.raw_title ( content ) |
| bsw@1045 | 2 |
| bsw@1045 | 3 slot.select ( "title", function () |
| bsw@1045 | 4 |
| bsw@1045 | 5 -- home link |
| bsw@1045 | 6 ui.link { |
| bsw@1045 | 7 module = "index", view = "index", |
| bsw@1045 | 8 attr = { class = "home" }, |
| bsw@1045 | 9 content = function () |
| bsw@1045 | 10 ui.image { static = "icons/16/house.png" } |
| bsw@1045 | 11 end |
| bsw@1045 | 12 } |
| bsw@1045 | 13 |
| bsw@1045 | 14 slot.put ( " " ) |
| bsw@1045 | 15 |
| bsw@1045 | 16 slot.put ( content ) |
| bsw@1045 | 17 |
| bsw@1045 | 18 end ) |
| bsw@1045 | 19 |
| bsw@1045 | 20 end |