Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the timetable and the departures table somewhat more styleable #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AdamNaj
Copy link

@AdamNaj AdamNaj commented Sep 18, 2023

Love the integration! In order to integrate it with my wall tablet dashboard I needed to style it a little bit more than it was possible before. All I really did was adding some additional spans around the texts.

I've modified the examples to reflect the previous style for the regular html-card and made some creative use of the new styles in the html-template-card. If you like the result, I'd love to contribute to your great work.

image

Modified the examples to reflect the previous style for the regular html-card and made some creative use of the new styles in the html-template-card.
@Borales
Copy link

Borales commented Oct 18, 2024

@AdamNaj thanks for the idea.
I made a custom helper template that generates a required HTML (to my preferences) based on the original sensor updates, including some post-formatting things:

  • proper functions to format the time from "120m" to "2h"
  • "font-weight: bold" for trams departing within the next 15 min (I even had them blinking, but it was too distracting)

Now it's way more convenient than the original (also for a NSPanel Pro that I'll be mounting on a wall).

Screenshot 2024-10-18 at 19 31 47

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants