Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
dashboard-clock
Commits
565a7f06
Commit
565a7f06
authored
Mar 09, 2020
by
David Trattnig
Browse files
Display show details in clock.
parent
67e24d4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/StudioClock.svelte
View file @
565a7f06
...
...
@@ -151,14 +151,15 @@ currentlyPlaying = getData("current");
</div>
<div
id=
"right-column"
class=
"column"
>
<h2>
Playing
>
</h2>
<h2>
▶
Playing
</h2>
{#await currentlyPlaying}
<div
class=
"spinner-border mt-5"
role=
"status"
>
<span
class=
"sr-only"
>
Loading...
</span>
</div>
{:then value}
<h1>
{value}
</h1>
<h1>
{value.show.name}
</h1>
<span>
Type: {value.show.type}, Host: {value.show.host}
</span>
<h3
class=
"active"
>
{value.track.artist} - {value.track.title}
</h3>
{:catch error}
<p
style=
"color:red"
>
{error.message}
</p>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment