Commit ed3002de authored by Emmanuel Raviart's avatar Emmanuel Raviart

Remove results pages.

parent 9dfa339c
......@@ -101,19 +101,6 @@ async function ticTac() {
if (data.secondsRunning) {
seconds += 1 // Must be just before sleep and end of loop.
}
} else if (data.nowPlaying === "results") {
if (data.playingTopicId !== null) {
// if (seconds >= data.duration) {
// data.playingTopicId = null
// seconds = 0
// }
data.seconds = seconds
sendDataToWssClients(adminWss, data)
sendDataToWssClients(homeWss, data)
}
if (data.secondsRunning) {
seconds += 1 // Must be just before sleep and end of loop.
}
} else if (data.nowPlaying === "slideshow") {
if (seconds >= 10) {
seconds = 0
......
......@@ -54,11 +54,6 @@
// title: "Diaporama",
// urlPath: "/admin/slideshow",
// },
{
slug: "restitutions",
title: "Restitutions",
urlPath: "/admin/restitutions",
},
],
},
}
......
......@@ -24,12 +24,6 @@
Diaporama
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="nowPlaying" id="now_playing_results" value="results" checked={nowPlaying === "results"} on:click="click(event)">
<label class="form-check-label" for="now_playing_results">
Restitutions
</label>
</div>
</div>
......
This diff is collapsed.
......@@ -5,8 +5,6 @@
<div class="container-fluid">
{#if nowPlaying === "pitches" && playingTopicId !== null && topicEmbedById[playingTopicId]}
<TopicScreen duration={duration} nextTopicEmbed={nextAcceptedProjectId === null ? null : topicEmbedById[nextAcceptedProjectId]} seconds={seconds} topicEmbed={topicEmbedById[playingTopicId]}/>
{:elseif nowPlaying === "results" && playingTopicId !== null && topicEmbedById[playingTopicId]}
<TopicScreen duration={duration} nextTopicEmbed={nextAcceptedProjectId === null ? null : topicEmbedById[nextAcceptedProjectId]} seconds={seconds} topicEmbed={topicEmbedById[playingTopicId]}/>
{:elseif nowPlaying === "slideshow" & playingTopicId !== null && topicEmbedById[playingTopicId]}
<TopicScreen duration={null} nextTopicEmbed={null} seconds={null} topicEmbed={topicEmbedById[playingTopicId]}/>
{:else}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment