Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hdastageeri
hft_awado_app
Commits
a5c2f23d
Commit
a5c2f23d
authored
Nov 28, 2019
by
gap95
Browse files
Feedback ui
parent
f4c4ba3e
Changes
9
Hide whitespace changes
Inline
Side-by-side
src/app/app-routing.module.ts
View file @
a5c2f23d
...
...
@@ -21,6 +21,10 @@ const routes: Routes = [
},
{
path
:
'
register
'
,
loadChildren
:
()
=>
import
(
'
./auth/register/register.module
'
).
then
(
m
=>
m
.
RegisterPageModule
)
},
{
path
:
'
feedback
'
,
loadChildren
:
()
=>
import
(
'
./feedback/feedback.module
'
).
then
(
m
=>
m
.
FeedbackPageModule
)
}
];
...
...
src/app/app.component.ts
View file @
a5c2f23d
...
...
@@ -20,6 +20,11 @@ export class AppComponent {
title
:
'
Logout
'
,
url
:
'
/login
'
,
icon
:
'
exit
'
},
{
title
:
'
Feedback
'
,
url
:
'
/feedback
'
,
icon
:
'
text
'
}
];
...
...
src/app/auth/login/login.page.ts
View file @
a5c2f23d
...
...
@@ -12,8 +12,8 @@ import { RestService } from '../../rest.service';
styleUrls
:
[
'
./login.page.scss
'
],
})
export
class
LoginPage
implements
OnInit
{
username
=
""
;
password
=
""
;
username
=
"
Admin@mail.com
"
;
password
=
"
AdminPassword
"
;
correctCredentials
=
false
;
loginApi
:
Observable
<
any
>
;
...
...
src/app/feedback/feedback-routing.module.ts
0 → 100644
View file @
a5c2f23d
import
{
NgModule
}
from
'
@angular/core
'
;
import
{
Routes
,
RouterModule
}
from
'
@angular/router
'
;
import
{
FeedbackPage
}
from
'
./feedback.page
'
;
const
routes
:
Routes
=
[
{
path
:
''
,
component
:
FeedbackPage
}
];
@
NgModule
({
imports
:
[
RouterModule
.
forChild
(
routes
)],
exports
:
[
RouterModule
],
})
export
class
FeedbackPageRoutingModule
{}
src/app/feedback/feedback.module.ts
0 → 100644
View file @
a5c2f23d
import
{
NgModule
}
from
'
@angular/core
'
;
import
{
CommonModule
}
from
'
@angular/common
'
;
import
{
FormsModule
}
from
'
@angular/forms
'
;
import
{
IonicModule
}
from
'
@ionic/angular
'
;
import
{
FeedbackPageRoutingModule
}
from
'
./feedback-routing.module
'
;
import
{
FeedbackPage
}
from
'
./feedback.page
'
;
@
NgModule
({
imports
:
[
CommonModule
,
FormsModule
,
IonicModule
,
FeedbackPageRoutingModule
],
declarations
:
[
FeedbackPage
]
})
export
class
FeedbackPageModule
{}
src/app/feedback/feedback.page.html
0 → 100644
View file @
a5c2f23d
<ion-header>
<ion-toolbar>
<ion-title>
feedback
</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
</ion-content>
src/app/feedback/feedback.page.scss
0 → 100644
View file @
a5c2f23d
src/app/feedback/feedback.page.spec.ts
0 → 100644
View file @
a5c2f23d
import
{
async
,
ComponentFixture
,
TestBed
}
from
'
@angular/core/testing
'
;
import
{
IonicModule
}
from
'
@ionic/angular
'
;
import
{
FeedbackPage
}
from
'
./feedback.page
'
;
describe
(
'
FeedbackPage
'
,
()
=>
{
let
component
:
FeedbackPage
;
let
fixture
:
ComponentFixture
<
FeedbackPage
>
;
beforeEach
(
async
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
FeedbackPage
],
imports
:
[
IonicModule
.
forRoot
()]
}).
compileComponents
();
fixture
=
TestBed
.
createComponent
(
FeedbackPage
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
}));
it
(
'
should create
'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/feedback/feedback.page.ts
0 → 100644
View file @
a5c2f23d
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
@
Component
({
selector
:
'
app-feedback
'
,
templateUrl
:
'
./feedback.page.html
'
,
styleUrls
:
[
'
./feedback.page.scss
'
],
})
export
class
FeedbackPage
implements
OnInit
{
constructor
()
{
}
ngOnInit
()
{
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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