2023-01-17 18:25:56 +00:00
|
|
|
<template>
|
2023-01-19 00:22:01 +00:00
|
|
|
<div class="box">
|
|
|
|
<p class="title is-4">Türchen bearbeiten</p>
|
|
|
|
|
|
|
|
<div class="tabs is-centered">
|
|
|
|
<ul>
|
2023-01-19 17:54:46 +00:00
|
|
|
<li
|
|
|
|
v-for="(step, index) in steps"
|
|
|
|
:key="'step-' + index"
|
|
|
|
:class="current_step === index ? 'is-active' : ''"
|
|
|
|
@click="current_step = index"
|
|
|
|
>
|
|
|
|
<a>{{ step }}</a>
|
|
|
|
</li>
|
2023-01-19 00:22:01 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2023-01-19 17:54:46 +00:00
|
|
|
<section v-if="current_step === 0">
|
2023-01-19 00:22:01 +00:00
|
|
|
<div class="content">
|
|
|
|
<ul>
|
|
|
|
<li>Linksklick + Ziehen: Neues Türchen erstellen</li>
|
|
|
|
<li>Rechtsklick + Ziehen: Türchen verschieben</li>
|
|
|
|
<li>Doppel- oder Mittelklick: Türchen löschen</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<figure class="image">
|
|
|
|
<img src="@/assets/adventskalender.jpg" />
|
|
|
|
<RectPad />
|
|
|
|
</figure>
|
|
|
|
</section>
|
2023-01-17 18:25:56 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import { Vue, Options } from "vue-class-component";
|
|
|
|
import RectPad from "./rects/RectPad.vue";
|
|
|
|
|
|
|
|
@Options({
|
|
|
|
components: {
|
|
|
|
RectPad,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
export default class CalendarImage extends Vue {
|
2023-01-19 17:54:46 +00:00
|
|
|
private readonly steps: string[] = ["Platzieren", "Ordnen", "Überprüfen"];
|
|
|
|
private current_step = 0;
|
2023-01-17 18:25:56 +00:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2023-01-19 00:22:01 +00:00
|
|
|
figure {
|
2023-01-17 18:25:56 +00:00
|
|
|
user-select: none;
|
|
|
|
|
2023-01-19 00:22:01 +00:00
|
|
|
img + * {
|
2023-01-17 18:25:56 +00:00
|
|
|
position: absolute;
|
2023-01-19 00:22:01 +00:00
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2023-01-19 00:44:03 +00:00
|
|
|
z-index: auto;
|
2023-01-17 18:25:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|