liquid_feedback_frontend
changeset 1464:f3082de14228
Updated button design on admin policy edit view
author | bsw |
---|---|
date | Thu Oct 18 17:35:17 2018 +0200 (2018-10-18) |
parents | 16868516595f |
children | 54efe6c8ae9d |
files | app/main/admin/policy_show.lua |
line diff
1.1 --- a/app/main/admin/policy_show.lua Thu Oct 18 17:34:24 2018 +0200 1.2 +++ b/app/main/admin/policy_show.lua Thu Oct 18 17:35:17 2018 +0200 1.3 @@ -67,9 +67,15 @@ 1.4 1.5 ui.field.boolean{ label = _"Active?", name = "active", value = hint and true or nil } 1.6 1.7 - ui.submit{ text = _"update policy" } 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 policy" 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 } 1.20 end }