liquid_feedback_frontend
view app/main/index/403.lua @ 1494:3e9b0f1adec3
Removed token based CSRF protection (WebMCP uses SameSite cookies now)
| author | bsw | 
|---|---|
| date | Mon Dec 09 15:54:57 2019 +0100 (2019-12-09) | 
| parents | 32cc544d5a5b | 
| children | 
 line source
     1 request.set_status("403 Forbidden")
     3 ui.title("403 Forbidden")
     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 = _"Forbidden" }
    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 }
