Přesunuto na GitHub https://github.com/ksp/kurz
https://ksp.mff.cuni.cz/kurz
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.
24 lines
493 B
24 lines
493 B
4 years ago
|
<script type="ts">
|
||
|
import { grabAssignment } from "./ksp-task-grabber";
|
||
|
import { nonNull } from './helpers'
|
||
|
export let task: string | null | undefined
|
||
|
</script>
|
||
|
<style>
|
||
|
div {
|
||
|
text-align: justify;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<div>
|
||
|
{#if task != null}
|
||
|
{#await grabAssignment(nonNull(task))}
|
||
|
Načítám úlohu
|
||
|
{:then task}
|
||
|
{@html task.titleHtml}
|
||
|
<hr>
|
||
|
{@html task.description}
|
||
|
<div class="clearfloat" />
|
||
|
{/await}
|
||
|
{/if}
|
||
|
</div>
|