diff --git a/app/components/add-reimbursement/template.hbs b/app/components/add-reimbursement/template.hbs new file mode 100644 index 0000000..fb5c4b1 --- /dev/null +++ b/app/components/add-reimbursement/template.hbs @@ -0,0 +1 @@ +{{yield}} \ No newline at end of file diff --git a/app/router.js b/app/router.js index 52d8cf8..b0941de 100644 --- a/app/router.js +++ b/app/router.js @@ -31,5 +31,11 @@ Router.map(function() { }); this.route('budget', function() { this.route('expenses'); + + this.route('reimbursements', function() {}); + }); + + this.route('reimbursements', function() { + this.route('new'); }); }); diff --git a/app/routes/reimbursements/new.js b/app/routes/reimbursements/new.js new file mode 100644 index 0000000..0e3509d --- /dev/null +++ b/app/routes/reimbursements/new.js @@ -0,0 +1,9 @@ +import Route from '@ember/routing/route'; + +export default class ReimbursementsNewRoute extends Route { + + model (params) { + return { params }; + } + +} diff --git a/app/styles/components/_reimbursement-list.scss b/app/styles/components/_reimbursement-list.scss index e7b0167..c5f6458 100644 --- a/app/styles/components/_reimbursement-list.scss +++ b/app/styles/components/_reimbursement-list.scss @@ -3,7 +3,7 @@ ul.reimbursement-list { li { display: grid; - grid-template-columns: auto auto; + grid-template-columns: auto 10rem; grid-row-gap: 0.5rem; padding-top: 1.6rem; diff --git a/app/templates/budget.hbs b/app/templates/budget.hbs index 20d4546..066cd82 100644 --- a/app/templates/budget.hbs +++ b/app/templates/budget.hbs @@ -50,8 +50,11 @@