liquid_feedback_frontend
changeset 646:285d1ca156ba
Improved initiative (not) admitted box optically
author | bsw |
---|---|
date | Mon Jun 25 20:06:33 2012 +0200 (2012-06-25) |
parents | e405255faa6a |
children | 27226084fcab |
files | app/main/initiative/_show.lua static/style.css |
line diff
1.1 --- a/app/main/initiative/_show.lua Mon Jun 25 19:59:37 2012 +0200 1.2 +++ b/app/main/initiative/_show.lua Mon Jun 25 20:06:33 2012 +0200 1.3 @@ -127,13 +127,6 @@ 1.4 1.5 end } 1.6 1.7 -end } 1.8 - 1.9 - 1.10 -util.help("initiative.show") 1.11 - 1.12 ---slot.select("initiative_head", function() 1.13 - 1.14 if initiative.issue.ranks_available and initiative.admitted then 1.15 local class = initiative.winner and "admitted_info" or "not_admitted_info" 1.16 ui.container{ 1.17 @@ -196,7 +189,10 @@ 1.18 } 1.19 end 1.20 1.21 ---end) 1.22 +end } 1.23 + 1.24 +util.help("initiative.show") 1.25 + 1.26 1.27 if initiator and initiator.accepted == nil and not initiative.issue.half_frozen and not initiative.issue.closed then 1.28 ui.container{
2.1 --- a/static/style.css Mon Jun 25 19:59:37 2012 +0200 2.2 +++ b/static/style.css Mon Jun 25 20:06:33 2012 +0200 2.3 @@ -1145,16 +1145,17 @@ 2.4 } 2.5 2.6 .admitted_info { 2.7 - background-color: #dfd; 2.8 + background-color: #afc; 2.9 padding: 1ex; 2.10 - border-radius: 8px; 2.11 + border-radius: 0 0 8px 8px; 2.12 } 2.13 2.14 .not_admitted_info, 2.15 .revoked_info { 2.16 - background-color: #fdd; 2.17 + background-color: #fbb; 2.18 padding: 1ex; 2.19 border-radius: 8px; 2.20 + border-radius: 0 0 8px 8px; 2.21 } 2.22 2.23 .draft_updated_info,