Skip to content

Commit

Permalink
feat(dashboard): use project view as dashboard
Browse files Browse the repository at this point in the history
This will remove the dashboard with the battery status
  • Loading branch information
Akanksh Saxena authored and velrest committed Jan 27, 2022
1 parent 19153f3 commit f292beb
Show file tree
Hide file tree
Showing 22 changed files with 8 additions and 564 deletions.
8 changes: 1 addition & 7 deletions frontend/app/application/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,9 @@
<nav class="site-header__nav">
<ul class="site-header__nav__list">
{{#if this.session.isAuthenticated}}
<li class="site-header__nav__item">
<LinkTo @route="index">
{{~t "page.application.nav.index"~}}
</LinkTo>
</li>

<li class="site-header__nav__item">
<LinkTo @route="subscriptions">
{{~t "page.application.nav.subscriptions"~}}
{{~t "page.application.nav.index"~}}
</LinkTo>
</li>

Expand Down
2 changes: 1 addition & 1 deletion frontend/app/components/nav-breadcrumbs/template.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav class="breadcrumbs">
<ol class="breadcrumbs__list">
<li class="breadcrumbs__home">
<LinkTo @route="index" uk-icon="home"></LinkTo>
<LinkTo @route="protected" uk-icon="home"></LinkTo>
</li>

{{#each @crumbs as |crumb|}}
Expand Down
38 changes: 0 additions & 38 deletions frontend/app/components/status-battery/component.js

This file was deleted.

14 changes: 0 additions & 14 deletions frontend/app/components/status-battery/template.hbs

This file was deleted.

24 changes: 0 additions & 24 deletions frontend/app/index/controller.js

This file was deleted.

102 changes: 0 additions & 102 deletions frontend/app/index/route.js

This file was deleted.

155 changes: 0 additions & 155 deletions frontend/app/index/template.hbs

This file was deleted.

3 changes: 2 additions & 1 deletion frontend/app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ const resetNamespace = true;
Router.map(function () {
this.route("login");
this.route("info");
this.route("contact");

this.route("protected", { path: "" }, function () {
this.route("index", { resetNamespace, path: "/" });
this.route("subscriptions", { resetNamespace }, function () {
this.route("subscriptions", { resetNamespace, path: "" }, function () {
this.route("own");
this.route("list");
this.route("confirm");
Expand Down
1 change: 0 additions & 1 deletion frontend/app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
@import "components/data-table";
@import "components/nav-breadcrumbs";
@import "components/project-info";
@import "components/status-battery";

@import "pages/application";
@import "pages/index";
Expand Down
Loading

0 comments on commit f292beb

Please sign in to comment.