-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trib 106 add button to view connection profile (#101)
* added view profile button * removed comments, and added profile button navigation * created initial routing module --------- Co-authored-by: Johnathan James <[email protected]>
- Loading branch information
1 parent
7147748
commit 66edc3c
Showing
3 changed files
with
31 additions
and
18 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
src/app/pages/connect-page/connection-details/connection-details-routing.module.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,16 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { Routes, RouterModule } from '@angular/router'; | ||
import { ConnectionDetailsPage } from './connection-details.page'; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path: '', | ||
component: ConnectionDetailsPage | ||
} | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule] | ||
}) | ||
export class ConnectionDetailsRoutingModule { } |
21 changes: 11 additions & 10 deletions
21
src/app/pages/connect-page/connection-details/connection-details.page.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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
<ion-header> | ||
<ion-toolbar> | ||
<ion-title>connection_details</ion-title> | ||
</ion-toolbar> | ||
</ion-header> | ||
<ion-content> | ||
<div> | ||
<p>Details coming soon</p> | ||
</div> | ||
<ion-toolbar> | ||
<ion-title>connection_details</ion-title> | ||
</ion-toolbar> | ||
</ion-header> | ||
|
||
<ion-content> | ||
<div> | ||
<p>Details coming soon</p> | ||
</div> | ||
<ion-button (click)="onCancelBtnClick()">cancel</ion-button> | ||
<ion-button (click)="goToUserProfile()">View Profile</ion-button> | ||
<ion-button (click)="onRemoveBtnClick()">remove</ion-button> | ||
</ion-content> | ||
</ion-content> |
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