liquid_feedback_frontend

view env/ui/title.lua @ 1625:0f4302e67eb6

Removed not used view
author bsw
date Mon Feb 08 00:58:05 2021 +0100 (2021-02-08)
parents 32cc544d5a5b
children
line source
1 function ui.title ( content )
3 slot.select ( "title", function ()
5 -- home link
6 ui.link {
7 module = "index", view = "index",
8 attr = { class = "home", title = _"Home" },
9 content = function ()
10 ui.tag{ tag = "i", attr = { class = "material-icons" }, content = "home" }
11 end
12 }
14 if content then
15 ui.tag { attr = { class = "spacer" }, content = function()
16 slot.put ( " ยป " )
17 end }
18 ui.tag { content = content }
19 else
20 ui.tag { attr = { class = "spacer" }, content = function()
21 slot.put ( " " )
22 end }
23 ui.tag { content = _"Home" }
24 end
26 end )
28 end

Impressum / About Us