rev |
line source |
bsw@616
|
1 ui.title(_"About site")
|
bsw/jbe@0
|
2
|
bsw@1045
|
3 ui.section( function()
|
bsw/jbe@19
|
4
|
bsw@1045
|
5 ui.sectionHead( function()
|
bsw@1045
|
6 ui.heading{ level = 1, content = _"About site" }
|
bsw@1045
|
7 end )
|
bsw@1045
|
8
|
bsw@1045
|
9 ui.sectionRow( function()
|
bsw/jbe@0
|
10
|
bsw@1045
|
11 ui.heading{ level = 3, content = _"This service is provided by:" }
|
bsw@1045
|
12 slot.put(config.app_service_provider)
|
bsw/jbe@0
|
13
|
bsw@1045
|
14 end )
|
bsw/jbe@0
|
15
|
bsw@1045
|
16 ui.sectionRow( function()
|
bsw/jbe@0
|
17
|
bsw@1045
|
18 ui.heading{ level = 3, content = _"This service is provided using the following software components:" }
|
bsw/jbe@0
|
19
|
bsw@1045
|
20 local tmp = {
|
bsw@1045
|
21 {
|
bsw@1045
|
22 name = "LiquidFeedback Frontend",
|
bsw@1045
|
23 url = "http://www.public-software-group.org/liquid_feedback",
|
bsw@1045
|
24 version = config.app_version,
|
bsw@1045
|
25 license = "MIT/X11",
|
bsw@1045
|
26 license_url = "http://www.public-software-group.org/licenses"
|
bsw@1045
|
27 },
|
bsw@1045
|
28 {
|
bsw@1045
|
29 name = "LiquidFeedback Core",
|
bsw@1045
|
30 url = "http://www.public-software-group.org/liquid_feedback",
|
bsw@1045
|
31 version = db:query("SELECT * from liquid_feedback_version;")[1].string,
|
bsw@1045
|
32 license = "MIT/X11",
|
bsw@1045
|
33 license_url = "http://www.public-software-group.org/licenses"
|
bsw@1045
|
34 },
|
bsw@1045
|
35 {
|
bsw@1045
|
36 name = "WebMCP",
|
bsw@1045
|
37 url = "http://www.public-software-group.org/webmcp",
|
bsw@1150
|
38 version = WEBMCP_VERSION or _WEBMCP_VERSION,
|
bsw@1045
|
39 license = "MIT/X11",
|
bsw@1045
|
40 license_url = "http://www.public-software-group.org/licenses"
|
bsw@1045
|
41 },
|
bsw@1045
|
42 {
|
bsw@1045
|
43 name = "Lua",
|
bsw@1045
|
44 url = "http://www.lua.org",
|
bsw@1045
|
45 version = _VERSION:gsub("Lua ", ""),
|
bsw@1045
|
46 license = "MIT/X11",
|
bsw@1045
|
47 license_url = "http://www.lua.org/license.html"
|
bsw@1045
|
48 },
|
bsw@1045
|
49 {
|
bsw@1045
|
50 name = "PostgreSQL",
|
bsw@1045
|
51 url = "http://www.postgresql.org/",
|
bsw@1045
|
52 version = db:query("SELECT version();")[1].version:gsub("PostgreSQL ", ""):gsub("on.*", ""),
|
bsw@1045
|
53 license = "BSD",
|
bsw@1045
|
54 license_url = "http://www.postgresql.org/about/licence"
|
bsw@1045
|
55 },
|
bsw@1045
|
56 }
|
bsw/jbe@0
|
57
|
bsw@1045
|
58 ui.list{
|
bsw@1045
|
59 records = tmp,
|
bsw@1045
|
60 columns = {
|
bsw@1045
|
61 {
|
bsw@1045
|
62 content = function(record)
|
bsw@1045
|
63 ui.link{
|
bsw@1045
|
64 content = record.name,
|
bsw@1045
|
65 external = record.url
|
bsw@1045
|
66 }
|
bsw@1045
|
67 end
|
bsw@1045
|
68 },
|
bsw@1045
|
69 {
|
bsw@1045
|
70 content = function(record) ui.field.text{ value = record.version } end
|
bsw@1045
|
71 },
|
bsw@1045
|
72 {
|
bsw@1045
|
73 content = function(record)
|
bsw@1045
|
74 ui.link{
|
bsw@1045
|
75 content = record.license,
|
bsw@1045
|
76 external = record.license_url
|
bsw@1045
|
77 }
|
bsw@1045
|
78 end
|
bsw@1045
|
79
|
bsw/jbe@0
|
80 }
|
bsw@1045
|
81 }
|
bsw@1045
|
82 }
|
bsw@1045
|
83
|
bsw@1045
|
84 end )
|
bsw/jbe@0
|
85
|
bsw@1045
|
86 ui.sectionRow( function()
|
bsw@1045
|
87 ui.heading{ level = 3, content = "3rd party license information:" }
|
bsw@1045
|
88 slot.put('Some of the icons used in Liquid Feedback are from <a href="http://www.famfamfam.com/lab/icons/silk/">Silk icon set 1.3</a> by Mark James. His work is licensed under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution 2.5 License.</a>')
|
bsw/jbe@0
|
89
|
bsw@1045
|
90 end )
|
bsw@1045
|
91 end )
|