pug to html

This commit is contained in:
Matteo Pagliazzi
2019-10-12 16:33:05 +02:00
parent 88243a32fa
commit 07349c70bc
236 changed files with 16708 additions and 9648 deletions

View File

@@ -1,14 +1,38 @@
<template lang="pug">
b-modal#hatchedPet-modal(:hide-header="true")
div.content(v-if="pet != null")
div.dialog-header.title(v-once) {{ $t('hatchedPetGeneric') }}
div.inner-content
div.pet-background
div(:class="pet.class")
h4.title {{ pet.name }}
div.text(v-if="!hideText", v-markdown="$t('hatchedPetHowToUse', { stableUrl: '/inventory/stable' })")
button.btn.btn-primary(@click="close()") {{ $t('onward') }}
div.clearfix(slot="modal-footer")
<template>
<b-modal
id="hatchedPet-modal"
:hide-header="true"
>
<div
v-if="pet != null"
class="content"
>
<div
v-once
class="dialog-header title"
>
{{ $t('hatchedPetGeneric') }}
</div><div class="inner-content">
<div class="pet-background">
<div :class="pet.class"></div>
</div><h4 class="title">
{{ pet.name }}
</h4><div
v-if="!hideText"
v-markdown="$t('hatchedPetHowToUse', { stableUrl: '/inventory/stable' })"
class="text"
></div><button
class="btn btn-primary"
@click="close()"
>
{{ $t('onward') }}
</button>
</div>
</div><div
slot="modal-footer"
class="clearfix"
></div>
</b-modal>
</template>
<style lang="scss">