liquid_feedback_frontend
view app/main/index/404.lua @ 1639:0f42dbf74270
Define function as local
| author | bsw | 
|---|---|
| date | Tue Feb 09 17:40:05 2021 +0100 (2021-02-09) | 
| parents | 32cc544d5a5b | 
| children | 
 line source
     1 request.set_status("404 Not found")
     3 ui.title("404 Not found")
     5 ui.grid{ content = function()
     7   ui.cell_main{ content = function()
     9     ui.container { attr = { class = "mdl-card mdl-shadow--2dp mdl-card__fullwidth" }, content = function()
    10       ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function()
    11         ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = _"Page not found" }
    12       end }
    13       ui.container{ attr = { class = "mdl-card__content" }, content = function()
    14         ui.link{
    15           content = _"Go back to home page",
    16           module = "index", view = "index"
    17         }
    18       end }
    19     end }
    20   end }
    21 end }
