This commit is contained in:
tree 2022-05-29 19:27:37 +02:00
rodič b930ea7c34
revize ce1a8fae60
6 změnil soubory, kde provedl 9 přidání a 8 odebrání

Zobrazit soubor

@ -5,7 +5,7 @@
</script> </script>
{#if $bundle} {#if $bundle}
<div class="bg-blue-web-bg text-white"> <div class="bg-blue-web-bg text-white print:hidden">
<div <div
class="relative mx-auto px-6 pt-10 pb-2 sm:pb-6 max-w-6xl sm:flex pr-4" class="relative mx-auto px-6 pt-10 pb-2 sm:pb-6 max-w-6xl sm:flex pr-4"
> >

Zobrazit soubor

@ -13,7 +13,7 @@
</script> </script>
<header <header
class="relative bg-center bg-cover {$page.url.pathname !== '/tv' ? "bg-[url('/img/bg-header.jpg')]" : ''} bg-no-repeat bg-blue-web-bg" class="relative bg-center bg-cover {$page.url.pathname !== '/tv' ? "bg-[url('/img/bg-header.jpg')]" : ''} bg-no-repeat bg-blue-web-bg print:hidden"
> >
<!-- <li class:active={$page.url.pathname === '/'}><a sveltekit:prefetch href="/">Home</a></li> --> <!-- <li class:active={$page.url.pathname === '/'}><a sveltekit:prefetch href="/">Home</a></li> -->
<div> <div>

Zobrazit soubor

@ -77,7 +77,7 @@
</script> </script>
{#if $bundle} {#if $bundle}
<div class="layout min-h-screen bg-gray-900"> <div class="layout min-h-screen bg-gray-900 print:bg-white">
<div class="inset-0 bg-white"> <div class="inset-0 bg-white">
<Header /> <Header />

Zobrazit soubor

@ -280,7 +280,7 @@
</svelte:head> </svelte:head>
<section <section
class="relative mx-auto pt-6 sm:pt-10 pb-6 px-6 max-w-6xl text-blue-web" class="relative mx-auto pt-6 sm:pt-10 pb-6 px-6 max-w-6xl text-blue-web print:hidden"
> >
<div class="mb-6"> <div class="mb-6">
{#if $bundle} {#if $bundle}
@ -292,7 +292,7 @@
> >
{#each $bundle.spec["schedule-candidates"] as p, i} {#each $bundle.spec["schedule-candidates"] as p, i}
<option value={i} <option value={i}
>#{i} [{["score", "thc:themeCrossing", "tgc:tagsCrossing", "exd:exclusivityDev"] >#{i} | {p.hash.substring(0,8)} [{["score", "thc:themeCrossing", "tgc:tagsCrossing", "exd:exclusivityDev"]
.map((key) => { .map((key) => {
const [title, rkey] = key.split(":"); const [title, rkey] = key.split(":");
return `${title}:${ return `${title}:${
@ -388,7 +388,7 @@
<section class="relative mx-auto pb-6 sm:pb-10 px-0 text-blue-web"> <section class="relative mx-auto pb-6 sm:pb-10 px-0 text-blue-web">
{#if $bundle} {#if $bundle}
{#each scheduleTimes($bundle, $schedulePref.time) as st} {#each scheduleTimes($bundle, $schedulePref.time) as st}
<div class="max-w-6xl mx-auto px-6 mb-4"> <div class="max-w-6xl mx-auto px-6 mb-4 print:max-w-full">
<h2 class="uppercase text-xl font-bold"> <h2 class="uppercase text-xl font-bold">
{#if st.name} {#if st.name}
{st.name} {st.name}
@ -419,7 +419,7 @@
<th <th
valign="top" valign="top"
class="w-auto pl-2 pr-2 pt-1 text-sm left-0 bg-white" class="w-auto pl-2 pr-2 pt-1 text-sm left-0 bg-white"
height="40">{ds.title}</th height="60">{ds.title}</th
> >
{#each activeStages($bundle, $bundle.spec.stages, st, plan) as stage} {#each activeStages($bundle, $bundle.spec.stages, st, plan) as stage}
{#if $schedulePref && ($schedulePref.stage === stage.id || $schedulePref.stage === 'all')} {#if $schedulePref && ($schedulePref.stage === stage.id || $schedulePref.stage === 'all')}

Zobrazit soubor

@ -189,7 +189,7 @@
<div> <div>
<YouTube videoId={stageStatus[stage.id].stream.name} class="bg-blue-web-bg/60" id="player-{stage.id}" options={Object.assign({}, YToptions)} bind:player={stagePlayers[stage.id]} on:play={() => youtubePlayed(stage.id)} /> <YouTube videoId={stageStatus[stage.id].stream.name} class="bg-blue-web-bg/60" id="player-{stage.id}" options={Object.assign({}, YToptions)} bind:player={stagePlayers[stage.id]} on:play={() => youtubePlayed(stage.id)} />
</div> </div>
<div class="pr-2"> <div class="pr-2 w-full">
{#each [stageStatus[stage.id]] as ss} {#each [stageStatus[stage.id]] as ss}
<div> <div>
{#if ss.current} {#if ss.current}

Zobrazit soubor

@ -77,6 +77,7 @@
}, },
partner: { title: "Partner", hostTitle: "Host partnera", col: "partners" }, partner: { title: "Partner", hostTitle: "Host partnera", col: "partners" },
host: { title: "Host" }, host: { title: "Host" },
team: { title: "Team", hostTitle: "Host organizátora" }
}; };
function makeTicketTypeInfo(c) { function makeTicketTypeInfo(c) {