Spaces:
Runtime error
Runtime error
File size: 1,136 Bytes
32f0b26 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
<script lang="ts">
import { onMount } from "svelte";
import Button, { Label } from "@smui/button";
import Textfield from '@smui/textfield';
export let ind;
export let hunch;
export let model;
export let topic;
let example_block = false;
let clusters;
function getAuditSettings() {
fetch("./audit_settings")
.then((r) => r.text())
.then(function (r_orig) {
let r = JSON.parse(r_orig);
clusters = r["clusters"];
});
}
onMount(async () => {
getAuditSettings();
});
function handleTestOnExamples() {
example_block = true;
}
</script>
<div>
<div>
<h6>Topic:</h6>
{topic}
</div>
<div class="spacing_vert">
<h6>Your summary/suggestions:</h6>
<Textfield
style="width: 100%;"
helperLine$style="width: 100%;"
textarea
bind:value={hunch}
label="My current hunch is that..."
>
</Textfield>
</div>
<div class="spacing_vert">
<Button on:click={null} variant="outlined">
<Label>Save</Label>
</Button>
<Button on:click={null} variant="outlined">
<Label>Submit</Label>
</Button>
</div>
</div>
<style>
</style>
|