liquid_feedback_frontend
view 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 | 
 line source
     1 function ui.raw_title ( content )
     3   slot.select ( "title", function ()
     5     -- home link
     6     ui.link {
     7       module = "index", view = "index",
     8       attr = { class = "home" },
     9       content = function ()
    10         ui.image { static = "icons/16/house.png" }
    11       end
    12     }
    14     slot.put ( " " )
    16     slot.put ( content )
    18   end )
    20 end
