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.
21 lines
1.0 KiB
21 lines
1.0 KiB
extends ../layouts/main
|
|
block content
|
|
h1 Countdown Created
|
|
//- pre= JSON.stringify(params, null, 2)
|
|
p Your show countdown timer has been created. Copy this URL and paste it into an OBS Browser source's URL. It will load a fullscreen countdown timer with a transparent background into your OBS scene.
|
|
|
|
- var timerUrl = `http://localhost:8000/timer?title=${encodeURIComponent(params.show.title)}&url=${encodeURIComponent(params.show.url)}&year=${params.year}&month=${params.month}&date=${params.date}&hours=${params.hours}&minutes=${params.minutes}`;
|
|
|
|
pre#link-render(disabled)= timerUrl
|
|
|
|
div(uk-grid)
|
|
.uk-width-auto
|
|
button(
|
|
type="button",
|
|
data-text= "link-render",
|
|
data-message= "Countdown timer URL copied to clipboard",
|
|
onclick="return dtp.copyToClipboard(event);",
|
|
).uk-button.uk-button-primary.uk-border-rounded Copy to Clipboard
|
|
|
|
.uk-width-auto
|
|
a(href= timerUrl).uk-button.uk-button-default.uk-border-rounded Preview Timer
|