liquid_feedback_frontend
view env/ui/raw_title.lua @ 1068:04809990c2e7
Show development settings only to developers
| author | bsw | 
|---|---|
| date | Thu Jul 17 23:28:39 2014 +0200 (2014-07-17) | 
| 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
