@yo-less Nice module you have here, it would be a shame if someone … would steal it. :)
I am currently working on a departure time module for Berlin/Brandenburg, I like the layout of your module and would like to use a similar layout, and I guess the MIT license says yes, but I would still like to ask.
Also I have a few suggestions, which I either implemented already, or are going to implement for my module. Maybe you want some of these options, too.
You could allow users to use a custom header, maybe they want a custom name instead of the station name? E.g. check if this.data.header
is set, and if yes, do not create your own one.
Also when version 2.1.0
of the MagicMirror is released, you can use the https://github.com/MichMich/MagicMirror/tree/develop/modules#getheader
function.
And no matter which of these methods you use in the future, it might be nice to have an optional small appendix (last updated: 12:30) to the header with the time the data was last updated at, e.g. something like a font awesome refresh symbol + the time in case of connection issues.