liquid_feedback_frontend
annotate app/main/index/405.lua @ 1809:5425f77466ec
Set identification to null if empty string
| author | bsw | 
|---|---|
| date | Thu Dec 02 13:20:26 2021 +0100 (2021-12-02) | 
| parents | 32cc544d5a5b | 
| children | 
| rev | line source | 
|---|---|
| bsw/jbe@1309 | 1 request.set_status("405 Method Not Allowed") | 
| bsw/jbe@1309 | 2 | 
| bsw/jbe@1309 | 3 ui.title("405 Method Not Allowed") | 
| bsw/jbe@1309 | 4 | 
| bsw/jbe@1309 | 5 ui.grid{ content = function() | 
| bsw/jbe@1309 | 6 | 
| bsw/jbe@1309 | 7 ui.cell_main{ content = function() | 
| bsw/jbe@1309 | 8 | 
| bsw/jbe@1309 | 9 ui.container { attr = { class = "mdl-card mdl-shadow--2dp mdl-card__fullwidth" }, content = function() | 
| bsw/jbe@1309 | 10 ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function() | 
| bsw/jbe@1309 | 11 ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = _"Method not allowed" } | 
| bsw/jbe@1309 | 12 end } | 
| bsw/jbe@1309 | 13 ui.container{ attr = { class = "mdl-card__content" }, content = function() | 
| bsw/jbe@1309 | 14 ui.link{ | 
| bsw/jbe@1309 | 15 content = _"Go back to home page", | 
| bsw/jbe@1309 | 16 module = "index", view = "index" | 
| bsw/jbe@1309 | 17 } | 
| bsw/jbe@1309 | 18 end } | 
| bsw/jbe@1309 | 19 end } | 
| bsw/jbe@1309 | 20 end } | 
| bsw/jbe@1309 | 21 end } |