layout improvements (more bulma)

This commit is contained in:
Jörn-Michael Miehe 2023-09-07 17:32:53 +00:00
parent a9754f77bc
commit 7821aebd68
2 changed files with 18 additions and 15 deletions

View file

@ -1,11 +1,9 @@
<template> <template>
<button class="button"> <button class="button">
<span class="icon-text">
<span v-if="icon !== undefined" class="icon"> <span v-if="icon !== undefined" class="icon">
<font-awesome-icon :icon="icon" /> <font-awesome-icon :icon="icon" />
</span> </span>
<span><slot name="default" /></span> <span><slot name="default" /></span>
</span>
</button> </button>
</template> </template>

View file

@ -1,24 +1,29 @@
<template> <template>
<div class="box"> <div class="panel">
<p class="title is-4">Türchen bearbeiten</p> <p class="panel-heading">Türchen bearbeiten</p>
<div class="panel-tabs">
<BulmaBreadcrumbs :steps="steps" v-model="current_step" /> <BulmaBreadcrumbs :steps="steps" v-model="current_step" />
</div>
<div class="panel-block">
<DoorPlacer v-if="current_step === 0" v-model:doors="doors" /> <DoorPlacer v-if="current_step === 0" v-model:doors="doors" />
<DoorChooser v-if="current_step === 1" v-model:doors="doors" /> <DoorChooser v-if="current_step === 1" v-model:doors="doors" />
<template v-if="current_step === 2"> <Calendar v-if="current_step === 2" :doors="doors" />
<Calendar :doors="doors" /> </div>
<BulmaButton class="is-success" @click.left="load_doors">
<div v-if="current_step === 2" class="panel-block">
<BulmaButton class="is-success is-fullwidth" @click.left="load_doors">
Laden Laden
</BulmaButton> </BulmaButton>
<BulmaButton <BulmaButton
class="is-success" class="is-success is-fullwidth"
icon="fa-solid fa-crosshairs" icon="fa-solid fa-crosshairs"
@click.left="save_doors" @click.left="save_doors"
> >
Speichern Speichern
</BulmaButton> </BulmaButton>
</template> </div>
</div> </div>
</template> </template>