liquid_feedback_frontend
annotate env/ui/raw_title.lua @ 1538:25ea15b4bd5e
Reworked cookie session control, exceptions for API
| author | bsw | 
|---|---|
| date | Tue Oct 20 17:48:49 2020 +0200 (2020-10-20) | 
| 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 |