DoorMapEditor level-items

This commit is contained in:
Jörn-Michael Miehe 2023-09-14 13:57:20 +00:00
parent 6b28c08fb9
commit 1b42cba9fa

View file

@ -1,27 +1,25 @@
<template> <template>
<BulmaDrawer header="Türchen bearbeiten" @open="on_open"> <BulmaDrawer header="Türchen bearbeiten" @open="on_open">
<nav class="level mb-0"> <nav class="level mb-0">
<div class="level-item"> <BulmaButton
<BulmaButton :disabled="current_step === 0"
:disabled="current_step === 0" class="level-item is-link"
class="is-link" @click="current_step--"
@click="current_step--" icon="fa-solid fa-backward"
icon="fa-solid fa-backward" />
/>
</div>
<div class="level-item"> <BulmaBreadcrumbs
<BulmaBreadcrumbs :steps="steps" v-model="current_step" class="mb-0" /> :steps="steps"
</div> v-model="current_step"
class="level-item mb-0"
/>
<div class="level-item"> <BulmaButton
<BulmaButton :disabled="current_step === 2"
:disabled="current_step === 2" class="level-item is-link"
class="is-link" @click="current_step++"
@click="current_step++" icon="fa-solid fa-forward"
icon="fa-solid fa-forward" />
/>
</div>
</nav> </nav>
<DoorPlacer v-if="current_step === 0" v-model:doors="doors" /> <DoorPlacer v-if="current_step === 0" v-model:doors="doors" />