bsw@616: ui.title(_"About site") bsw/jbe@0: bsw@1045: ui.section( function() bsw/jbe@19: bsw@1045: ui.sectionHead( function() bsw@1045: ui.heading{ level = 1, content = _"About site" } bsw@1045: end ) bsw@1045: bsw@1045: ui.sectionRow( function() bsw/jbe@0: bsw@1045: ui.heading{ level = 3, content = _"This service is provided by:" } bsw@1045: slot.put(config.app_service_provider) bsw/jbe@0: bsw@1045: end ) bsw/jbe@0: bsw@1045: ui.sectionRow( function() bsw/jbe@0: bsw@1045: ui.heading{ level = 3, content = _"This service is provided using the following software components:" } bsw/jbe@0: bsw@1045: local tmp = { bsw@1045: { bsw@1045: name = "LiquidFeedback Frontend", bsw@1045: url = "http://www.public-software-group.org/liquid_feedback", bsw@1045: version = config.app_version, bsw@1045: license = "MIT/X11", bsw@1045: license_url = "http://www.public-software-group.org/licenses" bsw@1045: }, bsw@1045: { bsw@1045: name = "LiquidFeedback Core", bsw@1045: url = "http://www.public-software-group.org/liquid_feedback", bsw@1045: version = db:query("SELECT * from liquid_feedback_version;")[1].string, bsw@1045: license = "MIT/X11", bsw@1045: license_url = "http://www.public-software-group.org/licenses" bsw@1045: }, bsw@1045: { bsw@1045: name = "WebMCP", bsw@1045: url = "http://www.public-software-group.org/webmcp", bsw@1150: version = WEBMCP_VERSION or _WEBMCP_VERSION, bsw@1045: license = "MIT/X11", bsw@1045: license_url = "http://www.public-software-group.org/licenses" bsw@1200: } bsw@1200: } bsw@1200: bsw@1200: if _MOONBRIDGE_VERSION then bsw@1200: tmp[#tmp+1] = { bsw@1200: name = "Moonbridge", bsw@1200: url = "http://www.public-software-group.org/moonbridge", bsw@1200: version = _MOONBRIDGE_VERSION, bsw@1045: license = "MIT/X11", bsw@1200: license_url = "http://www.public-software-group.org/licenses" bsw@1200: } bsw@1200: end bsw@1200: bsw@1200: tmp[#tmp+1] = { bsw@1200: name = "Lua", bsw@1200: url = "http://www.lua.org", bsw@1200: version = _VERSION:gsub("Lua ", ""), bsw@1200: license = "MIT/X11", bsw@1200: license_url = "http://www.lua.org/license.html" bsw@1200: } bsw@1200: bsw@1200: tmp[#tmp+1] = { bsw@1200: name = "PostgreSQL", bsw@1200: url = "http://www.postgresql.org/", bsw@1200: version = db:query("SELECT version();")[1].version:gsub("PostgreSQL ", ""):gsub("on.*", ""), bsw@1200: license = "BSD", bsw@1200: license_url = "http://www.postgresql.org/about/licence" bsw@1045: } bsw/jbe@0: bsw@1045: ui.list{ bsw@1045: records = tmp, bsw@1045: columns = { bsw@1045: { bsw@1045: content = function(record) bsw@1045: ui.link{ bsw@1045: content = record.name, bsw@1045: external = record.url bsw@1045: } bsw@1045: end bsw@1045: }, bsw@1045: { bsw@1045: content = function(record) ui.field.text{ value = record.version } end bsw@1045: }, bsw@1045: { bsw@1045: content = function(record) bsw@1045: ui.link{ bsw@1045: content = record.license, bsw@1045: external = record.license_url bsw@1045: } bsw@1045: end bsw@1045: bsw/jbe@0: } bsw@1045: } bsw@1045: } bsw@1045: bsw@1045: end ) bsw/jbe@0: bsw@1045: ui.sectionRow( function() bsw@1045: ui.heading{ level = 3, content = "3rd party license information:" } bsw@1045: slot.put('Some of the icons used in Liquid Feedback are from Silk icon set 1.3 by Mark James. His work is licensed under a Creative Commons Attribution 2.5 License.') bsw/jbe@0: bsw@1045: end ) bsw@1045: end )