54 lines
No EOL
1.1 KiB
Vue
54 lines
No EOL
1.1 KiB
Vue
<template>
|
|
<div class="box">
|
|
<p class="title is-4">Türchen bearbeiten</p>
|
|
|
|
<div class="tabs is-centered">
|
|
<ul>
|
|
<li class="is-active"><a>Platzieren</a></li>
|
|
<li><a>Ordnen</a></li>
|
|
<li><a>Überprüfen</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<section v-if="step === 0">
|
|
<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>
|
|
</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 {
|
|
private step = 0;
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
figure {
|
|
user-select: none;
|
|
|
|
img + * {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: auto;
|
|
}
|
|
}
|
|
</style> |