Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kollipara Deepak
DigiMart
Commits
a38aca5d
Commit
a38aca5d
authored
Feb 18, 2018
by
mohan122
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
created_homepage
parent
60b5783a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
10 deletions
+32
-10
home/home.html
home/home.html
+23
-4
home/home.ts
home/home.ts
+3
-0
register/register.ts
register/register.ts
+4
-4
retlogin/retlogin.html
retlogin/retlogin.html
+2
-2
No files found.
home/home.html
View file @
a38aca5d
...
...
@@ -6,13 +6,32 @@
-->
<ion-header>
<ion-navbar>
<ion-title>
home
</ion-title>
</ion-navbar>
<ion-navbar>
<ion-title>
home
</ion-title>
</ion-navbar>
</ion-header>
<ion-content
padding
>
<ion-item
id=
"password"
style=
"position: relative; padding:0px;"
>
<ion-label
floating
>
Username
</ion-label>
<ion-input
type=
"text"
></ion-input>
</ion-item>
<ion-item
id=
"password"
style=
"position: relative; padding:0px;"
>
<ion-label
floating
>
Name of the Shop
</ion-label>
<ion-input
type=
"text"
></ion-input>
</ion-item>
<ion-item
id=
"password"
style=
"position: relative; padding:0px;"
>
<ion-label
floating
>
Phone no
</ion-label>
<ion-input
type=
"text"
></ion-input>
</ion-item>
<ion-item
id=
"password"
style=
"position: relative; padding:0px;"
>
<ion-label
floating
>
Shop Registration number
</ion-label>
<ion-input
type=
"text"
></ion-input>
</ion-item>
<div
padding
>
<button
block
ion-button
color=
"vamsi"
style=
"padding:0px; width: 100%;"
medium
(click)=
"submit()"
>
SUBMIT
</button>
</div>
</ion-content>
</ion-content>
\ No newline at end of file
home/home.ts
View file @
a38aca5d
...
...
@@ -18,6 +18,9 @@ export class HomePage {
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
private
fire
:
AngularFireAuth
,
private
toast
:
ToastController
)
{
}
submit
(){
}
ionViewWillLoad
()
{
...
...
register/register.ts
View file @
a38aca5d
...
...
@@ -32,10 +32,10 @@ export class RegisterPage {
console
.
log
(
'
ionViewDidLoad RegisterPage
'
);
}
registerUser
()
{
this
.
fire
.
auth
.
createUserWithEmailAndPassword
(
this
.
user
.
value
,
this
.
password
.
value
)
.
then
(
data
=>
{
console
.
log
(
'
got data
'
,
data
);
async
registerUser
()
{
const
result
=
this
.
fire
.
auth
.
createUserWithEmailAndPassword
(
this
.
user
.
value
,
this
.
password
.
value
)
.
then
(
result
=>
{
console
.
log
(
'
got data
'
,
result
);
}
)
.
catch
(
error
=>
{
...
...
retlogin/retlogin.html
View file @
a38aca5d
...
...
@@ -20,8 +20,8 @@
<ion-content
padding
>
<div
padding
>
<button
block
ion-button
color=
"vamsi"
style=
"padding:0px; width: 100%;"
medium
(click)=
"PLogin()"
>
RETAIL
ER
</button>
<button
block
ion-button
color=
"vamsi"
style=
"padding:0px; width: 100%;"
medium
(click)=
"PLogin()"
>
PURCHAS
ER
</button>
<div
class=
"spacer"
style=
"width: 50px; height: 10px;"
></div>
<button
block
ion-button
color=
"vamsi"
medium
(click)=
"Login()"
>
PURCHAS
ER
</button>
<button
block
ion-button
color=
"vamsi"
medium
(click)=
"Login()"
>
RETAIL
ER
</button>
</div>
</ion-content>
\ No newline at end of file
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