liquid_feedback_frontend
annotate env/ui/raw_title.lua @ 1761:7df91db759ce
Removed invalid href from javascript button
| author | bsw |
|---|---|
| date | Fri Oct 15 09:57:42 2021 +0200 (2021-10-15) |
| 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 |