web.notification.upl.usernotificationspanel.upl Maven / Gradle / Ivy
// UPL template for user notifications panel
// Copyright 2018-2020 The Code Department.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
!ui-usernotificationspanel
dialogBodyComponents:$c{notificationBodyPanel}
dialogActionComponents:$c{dismissAllBtn cancelBtn}
!ui-panel:notificationBodyPanel style:$s{width:420px;height:280px;overflow-x:auto;overflow-y:scroll;}
components:$c{notificationsPanel}
!ui-repeatpanel:notificationsPanel layout:$d{!ui-vertical style:$s{width:100%;}}
components:$c{itemPanel} binding:$g{notificationBinding}
!ui-notificationitempanel:itemPanel
resolvePath:$g{resolvePath} dismissPath:$g{dismissPath}
!ui-button:dismissAllBtn caption:$m{button.dismissall}
eventHandler:$d{!ui-event event:onclick action:$c{dismissAllAct}}
!ui-button:cancelBtn caption:$m{button.cancel}
eventHandler:$d{!ui-event event:onclick action:$c{cancelAct}}
// Actions
!ui-post:dismissAllAct path:$g{dismissAllPath}
!ui-post:cancelAct path:$g{cancelPath}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy