mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-23 00:03:07 +00:00
layout improvements (more bulma)
This commit is contained in:
parent
a9754f77bc
commit
7821aebd68
2 changed files with 18 additions and 15 deletions
|
@ -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><slot name="default" /></span>
|
|
||||||
</span>
|
</span>
|
||||||
|
<span><slot name="default" /></span>
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
<BulmaBreadcrumbs :steps="steps" v-model="current_step" />
|
<div class="panel-tabs">
|
||||||
|
<BulmaBreadcrumbs :steps="steps" v-model="current_step" />
|
||||||
|
</div>
|
||||||
|
|
||||||
<DoorPlacer v-if="current_step === 0" v-model:doors="doors" />
|
<div class="panel-block">
|
||||||
<DoorChooser v-if="current_step === 1" v-model:doors="doors" />
|
<DoorPlacer v-if="current_step === 0" v-model:doors="doors" />
|
||||||
<template v-if="current_step === 2">
|
<DoorChooser v-if="current_step === 1" v-model:doors="doors" />
|
||||||
<Calendar :doors="doors" />
|
<Calendar v-if="current_step === 2" :doors="doors" />
|
||||||
<BulmaButton class="is-success" @click.left="load_doors">
|
</div>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue