# HG changeset patch # User bsw # Date 1539876917 -7200 # Node ID f3082de1422830e0d4d7bdc9f4ff3df910cbf14d # Parent 16868516595f2db8d1c22b5f2e806c113a640d39 Updated button design on admin policy edit view diff -r 16868516595f -r f3082de14228 app/main/admin/policy_show.lua --- a/app/main/admin/policy_show.lua Thu Oct 18 17:34:24 2018 +0200 +++ b/app/main/admin/policy_show.lua Thu Oct 18 17:35:17 2018 +0200 @@ -67,9 +67,15 @@ ui.field.boolean{ label = _"Active?", name = "active", value = hint and true or nil } - ui.submit{ text = _"update policy" } + ui.submit{ + attr = { class = "mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-js-ripple-effect" }, + text = _"update policy" + } slot.put(" ") - ui.link { module = "admin", view = "index", content = _"cancel" } + ui.link { + attr = { class = "mdl-button mdl-js-button" }, + module = "admin", view = "index", content = _"cancel" + } end } end }