mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
376 B
14 lines
376 B
#alerts
|
|
ul
|
|
template(v-for="aItem in children", track-by='_uid')
|
|
li(v-bind:class='aItem.class')
|
|
button.delete(v-on:click='acknowledge(aItem._uid)')
|
|
h3 {{ aItem.title }}
|
|
span {{ aItem.message }}
|
|
|
|
if appflash.length > 0
|
|
script(type='text/javascript').
|
|
var alertsData = !{JSON.stringify(appflash)};
|
|
else
|
|
script(type='text/javascript').
|
|
var alertsData = []; |