liquid_feedback_frontend

view app/main/member/settings.lua @ 216:4f6e6b213fb8

Cleanup on second generation frontend code and stylesheet
author bsw
date Mon Mar 07 12:15:22 2011 +0100 (2011-03-07)
parents 733f65c0c0a0
children 7196685f9dd7
line source
1 slot.put_into("title", _"Settings")
3 slot.select("actions", function()
4 ui.link{
5 content = function()
6 ui.image{ static = "icons/16/cancel.png" }
7 slot.put(_"Cancel")
8 end,
9 module = "index",
10 view = "index"
11 }
12 end)
14 ui.tag{
15 tag = "div",
16 content = _"You can change the following settings:"
17 }
19 local pages = {
20 { view = "settings_display", text = _"Display settings" },
21 { view = "settings_email", text = _"Change your notification email address" },
22 { view = "settings_name", text = _"Change your name" },
23 { view = "settings_login", text = _"Change your login" },
24 { view = "settings_password", text = _"Change your password" },
25 { view = "developer_settings", text = _"Developer settings" },
26 }
28 ui.list{
29 attr = { class = "menu_list" },
30 style = "ulli",
31 records = pages,
32 columns = {
33 {
34 content = function(page)
35 ui.link{
36 module = "member",
37 view = page.view,
38 text = page.text
39 }
40 end
41 }
42 }
43 }

Impressum / About Us