Fixed merges and fuck this is going to be a pain in the ass to resolve and fixed button icons.

This commit is contained in:
Greenscreener 2021-01-23 03:12:07 +01:00
parent 600bdbac64
commit b5d39e937b
2 changed files with 15 additions and 17 deletions

View File

@ -12,18 +12,18 @@
<template #end> <template #end>
<b-navbar-item tag="div"> <b-navbar-item tag="div">
<div class="buttons"> <div class="buttons">
<a class="button is-light" v-on:click="$emit('save')" icon-pack="fas" icon-left="save"> <b-button type="is-light" v-on:click="$emit('save')" icon-pack="fas" icon-left="save">
Uložit Uložit
</a> </b-button>
<a class="button is-light" v-on:click="$emit('restore')" icon-pack="fas" icon-left="github-circle"> <b-button type="is-light" v-on:click="$emit('restore')" icon-pack="fas" icon-left="github-circle">
Načíst Načíst
</a> </b-button>
<a class="button is-light" v-on:click="$emit('share')" icon-pack="fas" icon-left="github-circle"> <b-button type="is-light" v-on:click="$emit('share')" icon-pack="fas" icon-left="github-circle">
Sdílet Sdílet
</a> </b-button>
<a class="button is-success" v-on:click="$emit('export')" icon-pack="fas" icon-left="github-circle"> <b-button type="is-light" v-on:click="$emit('export')" icon-pack="fas" icon-left="github-circle">
<strong>Exportovat PDF</strong> <strong>Exportovat PDF</strong>
</a> </b-button>
</div> </div>
</b-navbar-item> </b-navbar-item>
</template> </template>

View File

@ -97,14 +97,6 @@ export default {
NavBar, NavBar,
Hlava Hlava
}, },
methods: {
addHlava: function () {
this.zaloba.hlavy.push({"title":"","text":""})
},
deleteHlava: function (index) {
this.zaloba.hlavy.splice(index, 1)
}
},
data: () => { data: () => {
return { return {
pdfSrc: "", pdfSrc: "",
@ -175,6 +167,12 @@ export default {
} }
}, },
methods: { methods: {
addHlava: function () {
this.zaloba.hlavy.push({"title":"","text":""})
},
deleteHlava: function (index) {
this.zaloba.hlavy.splice(index, 1)
},
createPdf: function () { createPdf: function () {
const dd = { const dd = {
content: [ content: [