liquid_feedback_frontend
diff app/main/area/_list.lua @ 4:80c215dbf076
Version alpha5
Many optical changes and improved usability
Support for different wiki-formatting-engines
Help system
Many optical changes and improved usability
Support for different wiki-formatting-engines
Help system
| author | bsw/jbe |
|---|---|
| date | Thu Dec 10 12:00:00 2009 +0100 (2009-12-10) |
| parents | 5c601807d397 |
| children | 0ee1e0c42d4c |
line diff
1.1 --- a/app/main/area/_list.lua Mon Nov 30 12:00:00 2009 +0100 1.2 +++ b/app/main/area/_list.lua Thu Dec 10 12:00:00 2009 +0100 1.3 @@ -35,7 +35,7 @@ 1.4 local max_value = MemberCount:get() 1.5 ui.bargraph{ 1.6 max_value = max_value, 1.7 - width = 200, 1.8 + width = 100, 1.9 bars = { 1.10 { color = "#444", value = record.direct_member_count }, 1.11 { color = "#777", value = record.member_weight - record.direct_member_count }, 1.12 @@ -58,4 +58,14 @@ 1.13 } 1.14 } 1.15 end 1.16 -} 1.17 \ No newline at end of file 1.18 +} 1.19 + 1.20 +ui.bargraph_legend{ 1.21 + width = 25, 1.22 + bars = { 1.23 + { color = "#444", label = _"Direct membership" }, 1.24 + { color = "#777", label = _"Membership by delegation" }, 1.25 + { color = "#ddd", label = _"No membership at all" }, 1.26 + } 1.27 +} 1.28 +