liquid_feedback_frontend
diff app/main/admin/unit_edit.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 | 2a0d86117d54 |
line diff
1.1 --- a/app/main/admin/unit_edit.lua Thu Oct 18 17:41:02 2018 +0200 1.2 +++ b/app/main/admin/unit_edit.lua Thu Oct 18 17:42:09 2018 +0200 1.3 @@ -50,9 +50,15 @@ 1.4 ui.field.boolean{ label = _"Active?", name = "active", value = hint and true or nil } 1.5 1.6 slot.put("<br />") 1.7 - ui.submit{ text = _"update unit" } 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 unit" 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" }, 1.16 + module = "admin", view = "index", content = _"cancel" 1.17 + } 1.18 end ) 1.19 end 1.20 }