Convert frontend to Vue #3

Merged
jacob1123 merged 158 commits from vue into master 2022-02-08 22:20:11 +01:00
2 changed files with 15 additions and 15 deletions
Showing only changes of commit 58683a33fb - Show all commits

View File

@ -29,16 +29,22 @@ export default {
<td>
{{transaction.GroupID ? "☀" : ""}}
</td>
<td>
<td class="cutoff">
<a :href="'/budget/'+$store.getters.CurrentBudget.ID+'/transaction/'+transaction.ID">{{transaction.Memo}}</a>
</td>
<td>
{{transaction.Amount.Int / 100}}
</td>
<td>
{{transaction.Status}}
{{transaction.Status == "Reconciled" ? "✔" : (transaction.Status == "Uncleared" ? "" : "*")}}
</td>
</tr>
</table>
</v-container>
</template>
<style>
table {width: 100%; table-layout:fixed}
td {overflow: hidden; white-space: nowrap;}
td.cutoff {width: 100px;}
</style>

View File

@ -16,7 +16,7 @@ export default {
<ul>
<li><router-link :to="'/budget/'+$store.getters.CurrentBudget.ID">Budget</router-link></li>
<li>Reports (Coming Soon)</li>
<li><router-link :to="'/budget/'+$store.getters.CurrentBudget.ID+'/all-accounts'">All Accounts</router-link></li>
<!--<li><router-link :to="'/budget/'+$store.getters.CurrentBudget.ID+'/all-accounts'">All Accounts</router-link></li>-->
<li>
On-Budget Accounts
<ul v-for="account in $store.getters.OnBudgetAccounts" class="two-valued">
@ -38,17 +38,11 @@ export default {
<li>
Closed Accounts
</li>
<li>
<!--<li>
<router-link :to="'/budget/'+$store.getters.CurrentBudget.ID+'/accounts'">Edit accounts</router-link>
</li>
<li>
+ Add Account
</li>
<li>
<router-link :to="'/budget/'+$store.getters.CurrentBudget.ID+'/settings'">Budget-Settings</router-link>
</li>
<li>
<router-link to="/admin">Admin</router-link>
</li>
</li>-->
<li>+ Add Account</li>
<li><router-link :to="'/budget/'+$store.getters.CurrentBudget.ID+'/settings'">Budget-Settings</router-link></li>
<!--<li><router-link to="/admin">Admin</router-link></li>-->
</ul>
</template>