Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2021-210
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2021-210
2021-210
Commits
38ad40f2
Commit
38ad40f2
authored
Nov 25, 2021
by
salukbawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skin disease result module
parent
e5ef6b8b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
111 additions
and
0 deletions
+111
-0
ClientApp/src/app/skin-disease-result/skin-disease-result-routing.module.ts
...skin-disease-result/skin-disease-result-routing.module.ts
+17
-0
ClientApp/src/app/skin-disease-result/skin-disease-result.module.ts
...src/app/skin-disease-result/skin-disease-result.module.ts
+20
-0
ClientApp/src/app/skin-disease-result/skin-disease-result.page.html
...src/app/skin-disease-result/skin-disease-result.page.html
+28
-0
ClientApp/src/app/skin-disease-result/skin-disease-result.page.scss
...src/app/skin-disease-result/skin-disease-result.page.scss
+0
-0
ClientApp/src/app/skin-disease-result/skin-disease-result.page.spec.ts
.../app/skin-disease-result/skin-disease-result.page.spec.ts
+24
-0
ClientApp/src/app/skin-disease-result/skin-disease-result.page.ts
...p/src/app/skin-disease-result/skin-disease-result.page.ts
+22
-0
No files found.
ClientApp/src/app/skin-disease-result/skin-disease-result-routing.module.ts
0 → 100644
View file @
38ad40f2
import
{
NgModule
}
from
'
@angular/core
'
;
import
{
Routes
,
RouterModule
}
from
'
@angular/router
'
;
import
{
SkinDiseaseResultPage
}
from
'
./skin-disease-result.page
'
;
const
routes
:
Routes
=
[
{
path
:
''
,
component
:
SkinDiseaseResultPage
}
];
@
NgModule
({
imports
:
[
RouterModule
.
forChild
(
routes
)],
exports
:
[
RouterModule
],
})
export
class
SkinDiseaseResultPageRoutingModule
{}
ClientApp/src/app/skin-disease-result/skin-disease-result.module.ts
0 → 100644
View file @
38ad40f2
import
{
NgModule
}
from
'
@angular/core
'
;
import
{
CommonModule
}
from
'
@angular/common
'
;
import
{
FormsModule
}
from
'
@angular/forms
'
;
import
{
IonicModule
}
from
'
@ionic/angular
'
;
import
{
SkinDiseaseResultPageRoutingModule
}
from
'
./skin-disease-result-routing.module
'
;
import
{
SkinDiseaseResultPage
}
from
'
./skin-disease-result.page
'
;
@
NgModule
({
imports
:
[
CommonModule
,
FormsModule
,
IonicModule
,
SkinDiseaseResultPageRoutingModule
],
declarations
:
[
SkinDiseaseResultPage
]
})
export
class
SkinDiseaseResultPageModule
{}
ClientApp/src/app/skin-disease-result/skin-disease-result.page.html
0 → 100644
View file @
38ad40f2
<ion-header>
<ion-toolbar>
<ion-buttons
slot=
"start"
>
<ion-back-button></ion-back-button>
</ion-buttons>
<ion-title>
Identified Skin Disease
</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<div
class=
"container-fluid"
style=
"background-color: #E9F0FB"
>
<div
class=
"row ion-justify-content-center ion-align-items-center"
style=
"height: 100vh"
>
<div
class=
"col-11"
>
<div
class=
"row"
>
<div
class=
"col"
>
<h1
class=
"ion-text-center fw-bolder"
>
Disease: {{disease}}
</h1>
<!-- <h3 class="ion-text-center">Skin disease detection</h3>-->
<div
class=
"d-grid gap-2 mt-2"
>
<button
class=
"btn btn-lg btn-secondary"
type=
"submit"
style=
"background-color: #5b628f"
[routerLink]=
"['/home']"
>
Home
</button>
<button
class=
"btn btn-lg btn-secondary"
type=
"submit"
style=
"background-color: #5b628f"
[routerLink]=
"['/skin-disease-report/'+disease]"
>
Get Report
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</ion-content>
ClientApp/src/app/skin-disease-result/skin-disease-result.page.scss
0 → 100644
View file @
38ad40f2
ClientApp/src/app/skin-disease-result/skin-disease-result.page.spec.ts
0 → 100644
View file @
38ad40f2
import
{
ComponentFixture
,
TestBed
,
waitForAsync
}
from
'
@angular/core/testing
'
;
import
{
IonicModule
}
from
'
@ionic/angular
'
;
import
{
SkinDiseaseResultPage
}
from
'
./skin-disease-result.page
'
;
describe
(
'
SkinDiseaseResultPage
'
,
()
=>
{
let
component
:
SkinDiseaseResultPage
;
let
fixture
:
ComponentFixture
<
SkinDiseaseResultPage
>
;
beforeEach
(
waitForAsync
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
SkinDiseaseResultPage
],
imports
:
[
IonicModule
.
forRoot
()]
}).
compileComponents
();
fixture
=
TestBed
.
createComponent
(
SkinDiseaseResultPage
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
}));
it
(
'
should create
'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
ClientApp/src/app/skin-disease-result/skin-disease-result.page.ts
0 → 100644
View file @
38ad40f2
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
import
{
ActivatedRoute
}
from
'
@angular/router
'
;
import
{
PythonBackendService
}
from
'
../core/python-backend.service
'
;
@
Component
({
selector
:
'
app-skin-disease-result
'
,
templateUrl
:
'
./skin-disease-result.page.html
'
,
styleUrls
:
[
'
./skin-disease-result.page.scss
'
],
})
export
class
SkinDiseaseResultPage
implements
OnInit
{
private
disease
:
string
;
constructor
(
private
route
:
ActivatedRoute
,
private
pythonBackendService
:
PythonBackendService
)
{
}
ngOnInit
()
{
this
.
disease
=
this
.
route
.
snapshot
.
paramMap
.
get
(
'
disease
'
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment