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:
parent
600bdbac64
commit
b5d39e937b
@ -12,18 +12,18 @@
|
||||
<template #end>
|
||||
<b-navbar-item tag="div">
|
||||
<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
|
||||
</a>
|
||||
<a class="button is-light" v-on:click="$emit('restore')" icon-pack="fas" icon-left="github-circle">
|
||||
</b-button>
|
||||
<b-button type="is-light" v-on:click="$emit('restore')" icon-pack="fas" icon-left="github-circle">
|
||||
Načíst
|
||||
</a>
|
||||
<a class="button is-light" v-on:click="$emit('share')" icon-pack="fas" icon-left="github-circle">
|
||||
</b-button>
|
||||
<b-button type="is-light" v-on:click="$emit('share')" icon-pack="fas" icon-left="github-circle">
|
||||
Sdílet
|
||||
</a>
|
||||
<a class="button is-success" v-on:click="$emit('export')" icon-pack="fas" icon-left="github-circle">
|
||||
</b-button>
|
||||
<b-button type="is-light" v-on:click="$emit('export')" icon-pack="fas" icon-left="github-circle">
|
||||
<strong>Exportovat PDF</strong>
|
||||
</a>
|
||||
</b-button>
|
||||
</div>
|
||||
</b-navbar-item>
|
||||
</template>
|
||||
@ -34,4 +34,4 @@
|
||||
export default {
|
||||
name: "NavBar"
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
@ -97,14 +97,6 @@ export default {
|
||||
NavBar,
|
||||
Hlava
|
||||
},
|
||||
methods: {
|
||||
addHlava: function () {
|
||||
this.zaloba.hlavy.push({"title":"","text":""})
|
||||
},
|
||||
deleteHlava: function (index) {
|
||||
this.zaloba.hlavy.splice(index, 1)
|
||||
}
|
||||
},
|
||||
data: () => {
|
||||
return {
|
||||
pdfSrc: "",
|
||||
@ -175,6 +167,12 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
addHlava: function () {
|
||||
this.zaloba.hlavy.push({"title":"","text":""})
|
||||
},
|
||||
deleteHlava: function (index) {
|
||||
this.zaloba.hlavy.splice(index, 1)
|
||||
},
|
||||
createPdf: function () {
|
||||
const dd = {
|
||||
content: [
|
||||
|
Loading…
Reference in New Issue
Block a user