liquid_feedback_frontend
diff app/main/membership/_show_box.lua @ 277:bde068b37608
Dropdown boxes except of delegation box removed, optical enhancements and repositioning of elements
| author | bsw |
|---|---|
| date | Mon Feb 13 00:16:42 2012 +0100 (2012-02-13) |
| parents | ec86db506312 |
| children | b77e6a17ca77 |
line diff
1.1 --- a/app/main/membership/_show_box.lua Sun Feb 12 20:03:26 2012 +0100 1.2 +++ b/app/main/membership/_show_box.lua Mon Feb 13 00:16:42 2012 +0100 1.3 @@ -9,41 +9,22 @@ 1.4 ui.container{ 1.5 attr = { 1.6 class = "head head_active", 1.7 - onclick = "document.getElementById('membership_content').style.display = 'block';" 1.8 }, 1.9 content = function() 1.10 ui.image{ 1.11 static = "icons/16/user_green.png" 1.12 } 1.13 slot.put(_"You are member") 1.14 - 1.15 - ui.image{ 1.16 - static = "icons/16/dropdown.png" 1.17 - } 1.18 end 1.19 } 1.20 1.21 - ui.container{ 1.22 - attr = { class = "content", id = "membership_content" }, 1.23 - content = function() 1.24 - ui.container{ 1.25 - attr = { 1.26 - class = "close", 1.27 - style = "cursor: pointer;", 1.28 - onclick = "document.getElementById('membership_content').style.display = 'none';" 1.29 - }, 1.30 - content = function() 1.31 - ui.image{ static = "icons/16/cross.png" } 1.32 - end 1.33 - } 1.34 - ui.link{ 1.35 - text = _"Remove my membership", 1.36 - module = "membership", 1.37 - action = "update", 1.38 - params = { area_id = area.id, delete = true }, 1.39 - routing = { default = { mode = "redirect", module = "area", view = "show", id = area.id } } 1.40 - } 1.41 - end 1.42 + ui.link{ 1.43 + image = { static = "icons/16/cross.png" }, 1.44 + text = _"Withdraw membership", 1.45 + module = "membership", 1.46 + action = "update", 1.47 + params = { area_id = area.id, delete = true }, 1.48 + routing = { default = { mode = "redirect", module = "area", view = "show", id = area.id } } 1.49 } 1.50 else 1.51 ui.link{