-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): add applications and deployment targets to dashboard (#43)
Signed-off-by: christoph <christoph.enne@glasskube.eu>
- Loading branch information
1 parent
1f67c2b
commit a605e39
Showing
11 changed files
with
520 additions
and
510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import {Routes} from '@angular/router'; | ||
import {DashboardPlaceholderComponent} from './components/dashboard-placeholder/dashboard-placeholder.component'; | ||
import {ApplicationsComponent} from './applications/applications.component'; | ||
import {DeploymentTargetsComponent} from './deployment-targets/deployment-targets.component'; | ||
import {ApplicationsPageComponent} from './applications/applications-page.component'; | ||
import {DeploymentTargetsPageComponent} from './deployment-targets/deployment-targets-page.component'; | ||
|
||
export const routes: Routes = [ | ||
{ | ||
path: '', | ||
children: [ | ||
{path: '', pathMatch: 'full', redirectTo: 'dashboard'}, | ||
{path: 'dashboard', component: DashboardPlaceholderComponent}, | ||
{path: 'applications', component: ApplicationsComponent}, | ||
{path: 'deployment-targets', component: DeploymentTargetsComponent}, | ||
{path: 'applications', component: ApplicationsPageComponent}, | ||
{path: 'deployment-targets', component: DeploymentTargetsPageComponent}, | ||
], | ||
}, | ||
]; |
5 changes: 5 additions & 0 deletions
5
frontend/cloud-ui/src/app/applications/applications-page.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<section class="bg-gray-50 dark:bg-gray-900 p-3 sm:p-5 antialiased mt-14 sm:ml-64"> | ||
<div class="mx-auto max-w-screen-2xl px-4 lg:px-12"> | ||
<app-applications [fullVersion]="true"></app-applications> | ||
</div> | ||
</section> |
10 changes: 10 additions & 0 deletions
10
frontend/cloud-ui/src/app/applications/applications-page.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {Component} from '@angular/core'; | ||
import {ApplicationsComponent} from './applications.component'; | ||
|
||
@Component({ | ||
selector: 'app-applications-page', | ||
standalone: true, | ||
imports: [ApplicationsComponent], | ||
templateUrl: './applications-page.component.html', | ||
}) | ||
export class ApplicationsPageComponent {} |
483 changes: 249 additions & 234 deletions
483
frontend/cloud-ui/src/app/applications/applications.component.html
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 13 additions & 55 deletions
68
...nd/cloud-ui/src/app/components/dashboard-placeholder/dashboard-placeholder.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...tend/cloud-ui/src/app/components/dashboard-placeholder/dashboard-placeholder.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
frontend/cloud-ui/src/app/deployment-targets/deployment-targets-page.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- Start block --> | ||
<section class="bg-gray-50 dark:bg-gray-900 p-3 sm:p-5 antialiased mt-14 sm:ml-64"> | ||
<div class="mx-auto max-w-screen-2xl px-4 lg:px-12"> | ||
<app-deployment-targets [fullVersion]="true"></app-deployment-targets> | ||
</div> | ||
</section> |
9 changes: 9 additions & 0 deletions
9
frontend/cloud-ui/src/app/deployment-targets/deployment-targets-page.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import {Component} from '@angular/core'; | ||
import {DeploymentTargetsComponent} from './deployment-targets.component'; | ||
|
||
@Component({ | ||
selector: 'app-deployment-targets-page', | ||
imports: [DeploymentTargetsComponent], | ||
templateUrl: './deployment-targets-page.component.html', | ||
}) | ||
export class DeploymentTargetsPageComponent {} |
Oops, something went wrong.