ProjetRIOT/components/school-info.riot

25 lines
794 B
Plaintext
Raw Normal View History

2023-03-28 13:06:28 +02:00
<school-info>
<div if={state.enabled} style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background: #000000DD;">
<div style="position: absolute; top: 10%; left: 10%; width: 80%; height: 80%; background: #FFFFFF">
2023-03-28 16:17:29 +02:00
<button class="delete is-medium" onclick={closeWindow}>X</button>
2023-03-28 13:06:28 +02:00
<p>
<h2></h2>
</p>
<line-graph style="height: 90px; margin: 10px;"></line-graph>
</div>
2023-03-25 20:29:49 +01:00
</div>
<script>
export default {
onMounted() {
2023-03-28 13:42:53 +02:00
this.state.enabled = false
2023-03-28 13:06:28 +02:00
this.update()
2023-03-28 10:22:35 +02:00
},
closeWindow() {
2023-03-28 13:06:28 +02:00
this.state.enabled = false
this.update()
2023-03-25 20:29:49 +01:00
}
}
</script>
</school-info>