liquid_feedback_frontend

annotate app/main/index/about.lua @ 1200:8e36f08eaac6

Added Moonbridge to about page
author bsw
date Tue Jun 23 19:57:10 2015 +0200 (2015-06-23)
parents 2c5353077e26
children d7890c4abe4d
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@1200 41 }
bsw@1200 42 }
bsw@1200 43
bsw@1200 44 if _MOONBRIDGE_VERSION then
bsw@1200 45 tmp[#tmp+1] = {
bsw@1200 46 name = "Moonbridge",
bsw@1200 47 url = "http://www.public-software-group.org/moonbridge",
bsw@1200 48 version = _MOONBRIDGE_VERSION,
bsw@1045 49 license = "MIT/X11",
bsw@1200 50 license_url = "http://www.public-software-group.org/licenses"
bsw@1200 51 }
bsw@1200 52 end
bsw@1200 53
bsw@1200 54 tmp[#tmp+1] = {
bsw@1200 55 name = "Lua",
bsw@1200 56 url = "http://www.lua.org",
bsw@1200 57 version = _VERSION:gsub("Lua ", ""),
bsw@1200 58 license = "MIT/X11",
bsw@1200 59 license_url = "http://www.lua.org/license.html"
bsw@1200 60 }
bsw@1200 61
bsw@1200 62 tmp[#tmp+1] = {
bsw@1200 63 name = "PostgreSQL",
bsw@1200 64 url = "http://www.postgresql.org/",
bsw@1200 65 version = db:query("SELECT version();")[1].version:gsub("PostgreSQL ", ""):gsub("on.*", ""),
bsw@1200 66 license = "BSD",
bsw@1200 67 license_url = "http://www.postgresql.org/about/licence"
bsw@1045 68 }
bsw/jbe@0 69
bsw@1045 70 ui.list{
bsw@1045 71 records = tmp,
bsw@1045 72 columns = {
bsw@1045 73 {
bsw@1045 74 content = function(record)
bsw@1045 75 ui.link{
bsw@1045 76 content = record.name,
bsw@1045 77 external = record.url
bsw@1045 78 }
bsw@1045 79 end
bsw@1045 80 },
bsw@1045 81 {
bsw@1045 82 content = function(record) ui.field.text{ value = record.version } end
bsw@1045 83 },
bsw@1045 84 {
bsw@1045 85 content = function(record)
bsw@1045 86 ui.link{
bsw@1045 87 content = record.license,
bsw@1045 88 external = record.license_url
bsw@1045 89 }
bsw@1045 90 end
bsw@1045 91
bsw/jbe@0 92 }
bsw@1045 93 }
bsw@1045 94 }
bsw@1045 95
bsw@1045 96 end )
bsw/jbe@0 97
bsw@1045 98 ui.sectionRow( function()
bsw@1045 99 ui.heading{ level = 3, content = "3rd party license information:" }
bsw@1045 100 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 101
bsw@1045 102 end )
bsw@1045 103 end )

Impressum / About Us