I wrote a custom js script to display the last x 112 Alarm messages on my dashboard. To use this on yourdashboard:
Copy the alarmmeldingen.js to your /js/components directory. Edit the dashtics.js file in the /js directory and add this line just before the 'secpanel' line:
Code: Select all
'alarmmeldingen',
Code: Select all
var alarmmeldingen = {
rss: 'http://www.alarmeringen.nl/feeds/region/rotterdam-rijnmond.rss',
city: 'Poortugaal,Rhoon,Hoogvliet,Traumaheli,Pernis',
show_lastupdate:true,
width:12,
interval: 180,
results: 5}
With the city variable you can filter the messages for your town and if you want the cities around you. Use Traumaheli to get all alarms containing the support of the Trauma Heli
If you would like to have an icon in this block you can use the icon: variable
Code: Select all
icon: 'fas fa-bullhorn',
results defines the number of resent results to show.
To use the formatting in my screenshot add these values to the custom.css file in the /custom folder.
Code: Select all
.alarmrow{
font-size: 14px !important;
}
.alarmrow a {
color: white;
}
.alarmrow strong{
display: inline-block;
}