liquid_feedback_frontend
diff app/main/admin/area_show.lua @ 1470:854d88aef250
Updated button design on admin unit and area
author | bsw |
---|---|
date | Thu Oct 18 17:42:09 2018 +0200 (2018-10-18) |
parents | 914611dc446b |
children | 4665754cc5ab |
line diff
1.1 --- a/app/main/admin/area_show.lua Thu Oct 18 17:41:02 2018 +0200 1.2 +++ b/app/main/admin/area_show.lua Thu Oct 18 17:42:09 2018 +0200 1.3 @@ -74,9 +74,15 @@ 1.4 ui.field.text{ label = _"Admission qourum factor", name = "quorum_factor", value = hint and 2 or nil } 1.5 slot.put("<br /><br />") 1.6 ui.field.boolean{ label = _"Active?", name = "active", value = hint and true or nil } 1.7 - ui.submit{ text = _"update area" } 1.8 + ui.submit{ 1.9 + attr = { class = "mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-js-ripple-effect" }, 1.10 + text = _"update area" 1.11 + } 1.12 slot.put(" ") 1.13 - ui.link{ module = "admin", view = "index", content = _"cancel" } 1.14 + ui.link{ 1.15 + attr = { class = "mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-js-ripple-effect" }, 1.16 + module = "admin", view = "index", content = _"cancel" 1.17 + } 1.18 end ) 1.19 end ) 1.20 end