Fix more imports
This commit is contained in:
parent
94329ac331
commit
e1b6056d77
@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import Card from '../components/Card.vue';
|
import RowCard from './RowCard.vue';
|
||||||
import { ref } from "vue";
|
import { ref } from "vue";
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
@ -32,7 +32,7 @@ function submitDialog() {
|
|||||||
<template>
|
<template>
|
||||||
<button @click="openDialog">
|
<button @click="openDialog">
|
||||||
<slot name="placeholder">
|
<slot name="placeholder">
|
||||||
<Card>
|
<RowCard>
|
||||||
<p class="w-24 text-center text-6xl">
|
<p class="w-24 text-center text-6xl">
|
||||||
+
|
+
|
||||||
</p>
|
</p>
|
||||||
@ -40,7 +40,7 @@ function submitDialog() {
|
|||||||
class="text-lg"
|
class="text-lg"
|
||||||
dark
|
dark
|
||||||
>{{ buttonText }}</span>
|
>{{ buttonText }}</span>
|
||||||
</Card>
|
</RowCard>
|
||||||
</slot>
|
</slot>
|
||||||
</button>
|
</button>
|
||||||
<div
|
<div
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import NewBudget from '../dialogs/NewBudget.vue';
|
import NewBudget from '../dialogs/NewBudget.vue';
|
||||||
import Card from '../components/Card.vue';
|
import RowCard from '../components/RowCard.vue';
|
||||||
import { useSessionStore } from '../stores/session';
|
import { useSessionStore } from '../stores/session';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
@ -13,7 +13,7 @@ const BudgetsList = useSessionStore().BudgetsList;
|
|||||||
<template>
|
<template>
|
||||||
<h1>Budgets</h1>
|
<h1>Budgets</h1>
|
||||||
<div class="grid md:grid-cols-2 gap-6">
|
<div class="grid md:grid-cols-2 gap-6">
|
||||||
<Card
|
<RowCard
|
||||||
v-for="budget in BudgetsList"
|
v-for="budget in BudgetsList"
|
||||||
:key="budget.ID"
|
:key="budget.ID"
|
||||||
>
|
>
|
||||||
@ -26,7 +26,7 @@ const BudgetsList = useSessionStore().BudgetsList;
|
|||||||
<span class="text-lg">{{ budget.Name
|
<span class="text-lg">{{ budget.Name
|
||||||
}}{{ budget.ID == budgetid ? " *" : "" }}</span>
|
}}{{ budget.ID == budgetid ? " *" : "" }}</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
</Card>
|
</RowCard>
|
||||||
<NewBudget />
|
<NewBudget />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -4,8 +4,8 @@ import { useRouter } from "vue-router";
|
|||||||
import { DELETE, POST } from "../api";
|
import { DELETE, POST } from "../api";
|
||||||
import { useBudgetsStore } from "../stores/budget";
|
import { useBudgetsStore } from "../stores/budget";
|
||||||
import { useSessionStore } from "../stores/session";
|
import { useSessionStore } from "../stores/session";
|
||||||
import Card from "../components/Card.vue";
|
import RowCard from "../components/RowCard.vue";
|
||||||
import Button from "../components/Button.vue";
|
import Button from "../components/SimpleButton.vue";
|
||||||
import { saveAs } from 'file-saver';
|
import { saveAs } from 'file-saver';
|
||||||
import Input from "../components/Input.vue";
|
import Input from "../components/Input.vue";
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ function ynabExport() {
|
|||||||
<div>
|
<div>
|
||||||
<h1>Danger Zone</h1>
|
<h1>Danger Zone</h1>
|
||||||
<div class="grid md:grid-cols-2 gap-6">
|
<div class="grid md:grid-cols-2 gap-6">
|
||||||
<Card class="flex-col p-3">
|
<RowCard class="flex-col p-3">
|
||||||
<h2 class="text-lg font-bold">
|
<h2 class="text-lg font-bold">
|
||||||
Clear Budget
|
Clear Budget
|
||||||
</h2>
|
</h2>
|
||||||
@ -93,8 +93,8 @@ function ynabExport() {
|
|||||||
>
|
>
|
||||||
Clear budget
|
Clear budget
|
||||||
</Button>
|
</Button>
|
||||||
</Card>
|
</RowCard>
|
||||||
<Card class="flex-col p-3">
|
<RowCard class="flex-col p-3">
|
||||||
<h2 class="text-lg font-bold">
|
<h2 class="text-lg font-bold">
|
||||||
Delete Budget
|
Delete Budget
|
||||||
</h2>
|
</h2>
|
||||||
@ -108,8 +108,8 @@ function ynabExport() {
|
|||||||
>
|
>
|
||||||
Delete budget
|
Delete budget
|
||||||
</Button>
|
</Button>
|
||||||
</Card>
|
</RowCard>
|
||||||
<Card class="flex-col p-3">
|
<RowCard class="flex-col p-3">
|
||||||
<h2 class="text-lg font-bold">
|
<h2 class="text-lg font-bold">
|
||||||
Fix all historic negative category-balances
|
Fix all historic negative category-balances
|
||||||
</h2>
|
</h2>
|
||||||
@ -123,8 +123,8 @@ function ynabExport() {
|
|||||||
>
|
>
|
||||||
Fix negative
|
Fix negative
|
||||||
</Button>
|
</Button>
|
||||||
</Card>
|
</RowCard>
|
||||||
<Card class="flex-col p-3">
|
<RowCard class="flex-col p-3">
|
||||||
<h2 class="text-lg font-bold">
|
<h2 class="text-lg font-bold">
|
||||||
Import YNAB Budget
|
Import YNAB Budget
|
||||||
</h2>
|
</h2>
|
||||||
@ -156,8 +156,8 @@ function ynabExport() {
|
|||||||
>
|
>
|
||||||
Importieren
|
Importieren
|
||||||
</Button>
|
</Button>
|
||||||
</Card>
|
</RowCard>
|
||||||
<Card class="flex-col p-3">
|
<RowCard class="flex-col p-3">
|
||||||
<h2 class="text-lg font-bold">
|
<h2 class="text-lg font-bold">
|
||||||
Export as YNAB TSV
|
Export as YNAB TSV
|
||||||
</h2>
|
</h2>
|
||||||
@ -170,7 +170,7 @@ function ynabExport() {
|
|||||||
Export
|
Export
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</RowCard>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user