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

Disabling of Schedule and ON Air in Studio Clock #1168

Closed
fiete96 opened this issue Aug 4, 2024 · 8 comments
Closed

Disabling of Schedule and ON Air in Studio Clock #1168

fiete96 opened this issue Aug 4, 2024 · 8 comments
Labels
good first issue Good for newcomers improvement Improvement on existing feature

Comments

@fiete96
Copy link

fiete96 commented Aug 4, 2024

Hey,
Would be nice to have a Switch to turn of the Schedule and On Air Sign in the StudioClock Display!
I would really like to customize the View a bit more besides the toggle of the seconds.

Thanks!

@cpvalente
Copy link
Owner

Hi @fiete96 , thank you for this.

Would you mind making a list of things you would like to see and what is the desired workflow?

Once we have a specification and understand the use cases, I am happy to take a look

@fiete96
Copy link
Author

fiete96 commented Aug 4, 2024

Hey!
I would like to use the "Clock" of the StudioClock in a standalone display without showing the schedule and On air sign. As I understand it, the StudioClock contains three "modules": the clock itself, the ON AIR sign, and the schedule.
I would like to toggle the visibility of these three modules. An ON AIR sign would be nice on a little spare tablet. ;)
Maybe this is possible with custom URLs? I don't know...
I hope you understand what I mean.

@cpvalente
Copy link
Owner

Sure, I just wondered if there were more customisations you were looking after from your comment

I would really like to customize the View a bit more besides the toggle of the seconds.

I will add the task to our improvement list. Small improvements like these usually come out pretty quick.

Meanwhile, if you want to hide stuff from the views, you can inspect the page to find the necessary selector and add a CSS override
https://docs.getontime.no/features/custom-styling/
It sounds more complicated than it actually is.

@cpvalente cpvalente added good first issue Good for newcomers improvement Improvement on existing feature labels Aug 4, 2024
@fiete96
Copy link
Author

fiete96 commented Aug 4, 2024

Oh wow! Thanks a lot! I got it working with the CSS override! I learned something!

For everyone who is interested, here is the CSS override to disable the ON AIR sign and schedule, and to center the clock:

.schedule-container {
    display: none; /* Hide the schedule container */
}

.clock-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Use the full height of the viewport */
}

.studio-clock {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Ensure the clock takes up the full height available */
}

@fiete96
Copy link
Author

fiete96 commented Aug 4, 2024

But a seperate On Air View would be nice to have!

@cpvalente
Copy link
Owner

cpvalente commented Sep 3, 2024

HI @fiete96 the newest release v3.5.1 contains the option to remove the right elements in the Studio view.
Could you please confirm that this works as you need?

@cpvalente
Copy link
Owner

Closing this as completed

@fiete96
Copy link
Author

fiete96 commented Sep 7, 2024

Thanks a lot! Will check it in the next days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers improvement Improvement on existing feature
Projects
None yet
Development

No branches or pull requests

2 participants