diff --git a/frontend/src/components/Alert.vue b/frontend/src/components/Alert.vue new file mode 100644 index 0000000000..970e43794b --- /dev/null +++ b/frontend/src/components/Alert.vue @@ -0,0 +1,102 @@ + + + + + + + + {{ message }} + + + + + + + + + + + + + diff --git a/frontend/src/components/CompositionComponent.vue b/frontend/src/components/CompositionComponent.vue new file mode 100644 index 0000000000..67914640a3 --- /dev/null +++ b/frontend/src/components/CompositionComponent.vue @@ -0,0 +1,64 @@ + + + {{ title }} + + + {{ todo.id }} - {{ todo.content }} + + + Count: {{ todoCount }} / {{ meta.totalCount }} + Active: {{ active ? 'yes' : 'no' }} + Clicks on todos: {{ clickCount }} + + + + diff --git a/frontend/src/components/DateRange.vue b/frontend/src/components/DateRange.vue new file mode 100644 index 0000000000..d963a048f5 --- /dev/null +++ b/frontend/src/components/DateRange.vue @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + {{ $t('firefly.pref_' + choice.value) }} + + + + + + + + + diff --git a/frontend/src/components/EssentialLink.vue b/frontend/src/components/EssentialLink.vue new file mode 100644 index 0000000000..c2899650e4 --- /dev/null +++ b/frontend/src/components/EssentialLink.vue @@ -0,0 +1,51 @@ + + + + + + + + {{ title }} + + {{ caption }} + + + + + + diff --git a/frontend/src/components/dashboard/NewUser.vue b/frontend/src/components/dashboard/NewUser.vue new file mode 100644 index 0000000000..c9b250c1e2 --- /dev/null +++ b/frontend/src/components/dashboard/NewUser.vue @@ -0,0 +1,373 @@ + + + + + Hi! You must be new to Firefly III. Welcome! Please fill in this form to create some basic accounts and get you + started. + + + + + + + + Bank accounts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Preferences + + + + + + + + + + + + {{ manage_cash_error }} + + + + + + + {{ have_cc_error }} + + + + + + + + Hint: visit GitHub + or Gitter.im. You can also + contact me on Twitter or via email. + + {{ have_questions_error }} + + + + + + + Submit + + + + + + + + + + + diff --git a/frontend/src/components/models.ts b/frontend/src/components/models.ts new file mode 100644 index 0000000000..69459204b1 --- /dev/null +++ b/frontend/src/components/models.ts @@ -0,0 +1,8 @@ +export interface Todo { + id: number; + content: string; +} + +export interface Meta { + totalCount: number; +} diff --git a/frontend/src/components/transactions/LargeTable.vue b/frontend/src/components/transactions/LargeTable.vue new file mode 100644 index 0000000000..ff9ea71ffb --- /dev/null +++ b/frontend/src/components/transactions/LargeTable.vue @@ -0,0 +1,224 @@ + + + + + + + + + {{ col.label }} + + + + + + + + + + + + + + + + {{ props.row.description }} + {{ props.row.group_title }} + + + + {{ formatAmount(props.row.currencyCode, props.row.amount) }} + + + {{ formatDate(props.row.date) }} + + + {{ props.row.source }} + + + {{ props.row.destination }} + + + {{ props.row.category }} + + + {{ props.row.budget }} + + + + + + + Edit + + + + + Delete + + + + + + + + + + + {{ currentRow.description }} + + + {{ formatAmount(currentRow.currencyCode, currentRow.amount) }} + + + + + + {{ currentRow.source }} + + + {{ currentRow.destination }} + + + {{ currentRow.category }} + + + {{ currentRow.budget }} + + + j + + + + + + + + +
{{ title }}
Count: {{ todoCount }} / {{ meta.totalCount }}
Active: {{ active ? 'yes' : 'no' }}
Clicks on todos: {{ clickCount }}