Pushed on 2/8/19
Showing
config.xml
0 → 100644
<?xml version='1.0' encoding='utf-8'?> | |||
<widget id="io.kevin.allorepair" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | |||
<name>Allorepair</name> | |||
<description>Automobile fixes solutions</description> | |||
<author email="[email protected]" href="http://ionicframework.com/"></author> | |||
<content src="index.html" /> | |||
<access origin="*" /> | |||
<allow-intent href="http://*/*" /> | |||
<allow-intent href="https://*/*" /> | |||
<allow-intent href="tel:*" /> | |||
<allow-intent href="sms:*" /> | |||
<allow-intent href="mailto:*" /> | |||
<allow-intent href="geo:*" /> | |||
<preference name="ScrollEnabled" value="false" /> | |||
<preference name="android-minSdkVersion" value="19" /> | |||
<preference name="BackupWebStorage" value="none" /> | |||
<preference name="SplashMaintainAspectRatio" value="true" /> | |||
<preference name="FadeSplashScreenDuration" value="300" /> | |||
<preference name="SplashShowOnlyFirstTime" value="false" /> | |||
<preference name="SplashScreen" value="screen" /> | |||
<preference name="SplashScreenDelay" value="3000" /> | |||
<platform name="android"> | |||
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android"> | |||
<application android:networkSecurityConfig="@xml/network_security_config" /> | |||
</edit-config> | |||
<resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" /> | |||
<allow-intent href="market:*" /> | |||
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" /> | |||
<icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" /> | |||
<icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" /> | |||
<icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" /> | |||
<icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" /> | |||
<icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" /> | |||
<splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" /> | |||
<splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" /> | |||
<splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" /> | |||
<splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" /> | |||
<splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" /> | |||
<splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" /> | |||
<splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" /> | |||
<splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" /> | |||
<splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" /> | |||
<splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" /> | |||
<splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" /> | |||
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" /> | |||
</platform> | |||
<platform name="ios"> | |||
<allow-intent href="itms:*" /> | |||
<allow-intent href="itms-apps:*" /> | |||
<icon height="57" src="resources/ios/icon/icon.png" width="57" /> | |||
<icon height="114" src="resources/ios/icon/[email protected]" width="114" /> | |||
<icon height="29" src="resources/ios/icon/icon-small.png" width="29" /> | |||
<icon height="58" src="resources/ios/icon/[email protected]" width="58" /> | |||
<icon height="87" src="resources/ios/icon/[email protected]" width="87" /> | |||
<icon height="20" src="resources/ios/icon/icon-20.png" width="20" /> | |||
<icon height="40" src="resources/ios/icon/[email protected]" width="40" /> | |||
<icon height="60" src="resources/ios/icon/[email protected]" width="60" /> | |||
<icon height="48" src="resources/ios/icon/[email protected]" width="48" /> | |||
<icon height="55" src="resources/ios/icon/[email protected]" width="55" /> | |||
<icon height="29" src="resources/ios/icon/icon-29.png" width="29" /> | |||
<icon height="58" src="resources/ios/icon/[email protected]" width="58" /> | |||
<icon height="87" src="resources/ios/icon/[email protected]" width="87" /> | |||
<icon height="40" src="resources/ios/icon/icon-40.png" width="40" /> | |||
<icon height="80" src="resources/ios/icon/[email protected]" width="80" /> | |||
<icon height="120" src="resources/ios/icon/[email protected]" width="120" /> | |||
<icon height="88" src="resources/ios/icon/[email protected]" width="88" /> | |||
<icon height="50" src="resources/ios/icon/icon-50.png" width="50" /> | |||
<icon height="100" src="resources/ios/icon/[email protected]" width="100" /> | |||
<icon height="60" src="resources/ios/icon/icon-60.png" width="60" /> | |||
<icon height="120" src="resources/ios/icon/[email protected]" width="120" /> | |||
<icon height="180" src="resources/ios/icon/[email protected]" width="180" /> | |||
<icon height="72" src="resources/ios/icon/icon-72.png" width="72" /> | |||
<icon height="144" src="resources/ios/icon/[email protected]" width="144" /> | |||
<icon height="76" src="resources/ios/icon/icon-76.png" width="76" /> | |||
<icon height="152" src="resources/ios/icon/[email protected]" width="152" /> | |||
<icon height="167" src="resources/ios/icon/[email protected]" width="167" /> | |||
<icon height="172" src="resources/ios/icon/[email protected]" width="172" /> | |||
<icon height="196" src="resources/ios/icon/[email protected]" width="196" /> | |||
<icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" /> | |||
<splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" /> | |||
<splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" /> | |||
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" /> | |||
<splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" /> | |||
<splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" /> | |||
<splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" /> | |||
<splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" /> | |||
<splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" /> | |||
<splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" /> | |||
<splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" /> | |||
<splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" /> | |||
<splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" /> | |||
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" /> | |||
<splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" /> | |||
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" /> | |||
</platform> | |||
<plugin name="cordova-plugin-whitelist" spec="1.3.3" /> | |||
<plugin name="cordova-plugin-statusbar" spec="2.4.2" /> | |||
<plugin name="cordova-plugin-device" spec="2.0.2" /> | |||
<plugin name="cordova-plugin-splashscreen" spec="5.0.2" /> | |||
<plugin name="cordova-plugin-ionic-webview" spec="^4.0.0" /> | |||
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" /> | |||
</widget> |
This diff is collapsed.
Click to expand it.
... | @@ -25,7 +25,9 @@ | ... | @@ -25,7 +25,9 @@ |
"@ionic-native/splash-screen": "^5.0.0", | "@ionic-native/splash-screen": "^5.0.0", | ||
"@ionic-native/status-bar": "^5.0.0", | "@ionic-native/status-bar": "^5.0.0", | ||
"@ionic/angular": "^4.1.0", | "@ionic/angular": "^4.1.0", | ||
"@ionic/storage": "^2.2.0", | |||
"angular-calendar": "^0.27.14", | "angular-calendar": "^0.27.14", | ||
"cordova-sqlite-storage": "^3.2.1", | |||
"core-js": "^2.5.4", | "core-js": "^2.5.4", | ||
"date-fns": "^1.30.1", | "date-fns": "^1.30.1", | ||
"ionic2-calendar": "^0.5.2", | "ionic2-calendar": "^0.5.2", | ||
... | @@ -59,5 +61,10 @@ | ... | @@ -59,5 +61,10 @@ |
"tslint": "~5.17.0", | "tslint": "~5.17.0", | ||
"typescript": "~3.1.6" | "typescript": "~3.1.6" | ||
}, | }, | ||
"description": "An Ionic project" | "description": "An Ionic project", | ||
"cordova": { | |||
"plugins": { | |||
"cordova-sqlite-storage": {} | |||
} | |||
} | |||
} | } |
resources/README.md
0 → 100644
4.16 KB
1.62 KB
2.54 KB
6.38 KB
10.8 KB
14.5 KB
27.4 KB
8.32 KB
14.2 KB
47.2 KB
79.4 KB
111 KB
26.3 KB
8.01 KB
13.7 KB
46.9 KB
69.2 KB
98.7 KB
resources/icon.png
0 → 100644
59.4 KB
resources/ios/icon/icon-1024.png
0 → 100644
60 KB
resources/ios/icon/icon-20.png
0 → 100644
686 Bytes
resources/ios/icon/[email protected]
0 → 100644
1.89 KB
resources/ios/icon/[email protected]
0 → 100644
3.34 KB
resources/ios/icon/[email protected]
0 → 100644
2.54 KB
resources/ios/icon/[email protected]
0 → 100644
2.99 KB
resources/ios/icon/icon-29.png
0 → 100644
1.24 KB
resources/ios/icon/[email protected]
0 → 100644
3.28 KB
resources/ios/icon/[email protected]
0 → 100644
5.8 KB
resources/ios/icon/icon-40.png
0 → 100644
1.89 KB
resources/ios/icon/[email protected]
0 → 100644
5.13 KB
resources/ios/icon/[email protected]
0 → 100644
8.06 KB
resources/ios/icon/[email protected]
0 → 100644
5.7 KB
resources/ios/icon/icon-50.png
0 → 100644
2.69 KB
resources/ios/icon/[email protected]
0 → 100644
6.68 KB
resources/ios/icon/icon-60.png
0 → 100644
3.34 KB
resources/ios/icon/[email protected]
0 → 100644
8.06 KB
resources/ios/icon/[email protected]
0 → 100644
14.1 KB
resources/ios/icon/icon-72.png
0 → 100644
4.16 KB
resources/ios/icon/[email protected]
0 → 100644
10.8 KB
resources/ios/icon/icon-76.png
0 → 100644
4.82 KB
resources/ios/icon/[email protected]
0 → 100644
11.4 KB
resources/ios/icon/[email protected]
0 → 100644
12.4 KB
resources/ios/icon/[email protected]
0 → 100644
13.2 KB
resources/ios/icon/[email protected]
0 → 100644
16 KB
resources/ios/icon/icon-small.png
0 → 100644
1.24 KB
resources/ios/icon/[email protected]
0 → 100644
3.28 KB
resources/ios/icon/[email protected]
0 → 100644
5.8 KB
resources/ios/icon/icon.png
0 → 100644
3.2 KB
resources/ios/icon/[email protected]
0 → 100644
8.03 KB
resources/ios/splash/Default-2436h.png
0 → 100644
104 KB
39.3 KB
resources/ios/splash/Default-667h.png
0 → 100644
50.1 KB
resources/ios/splash/Default-736h.png
0 → 100644
106 KB
113 KB
117 KB
133 KB
93.1 KB
43.3 KB
147 KB
99.2 KB
43.1 KB
resources/ios/splash/Default@2x~iphone.png
0 → 100644
35.8 KB
120 KB
resources/ios/splash/Default~iphone.png
0 → 100644
13.7 KB
resources/splash.png
0 → 100644
76.8 KB
... | @@ -3,18 +3,28 @@ | ... | @@ -3,18 +3,28 @@ |
<h1>Hi!</h1> | <h1>Hi!</h1> | ||
<h3>Login to Continue</h3> | <h3>Login to Continue</h3> | ||
<div class="login_form"> | <div class="login_form"> | ||
<form [formGroup]="loginForm"> | |||
<div class="row"> | <div class="row"> | ||
<ion-input value="Email Address" type="text"></ion-input> | <ion-input placeholder="Email" type="text" formControlName="user_username"></ion-input> | ||
</div> | </div> | ||
<div class="row"> | <div> | ||
<ion-input value="Password" type="password"></ion-input> | <p style="text-align: center;color: white" *ngIf="loginForm.controls.user_username.hasError('required') && loginForm.controls.user_username.touched">Enter Username.</p> | ||
<p style="text-align: center;color: white" *ngIf="loginForm.controls.user_username.hasError('email') && loginForm.controls.user_username.touched">Invalid Email.</p> | |||
</div> | |||
<div class="row"> | |||
<ion-input placeholder="Password" type="password" formControlName="user_password"></ion-input> | |||
</div> | |||
<div> | |||
<p style="text-align: center;color: white" *ngIf="loginForm.controls.user_password.hasError('required') && loginForm.controls.user_password.touched">Enter Password.</p> | |||
<p style="text-align: center;color: white" *ngIf="loginForm.controls.user_password.hasError('minLength') && loginForm.controls.user_password.touched">Minimum password length is 6!</p> | |||
</div> | </div> | ||
<div class="row"> | <div class="row"> | ||
<button class="login_btn" (click)="goToPage('home')">Sign In</button> | <button class="login_btn" (click)="login()" >Sign In</button> | ||
</div> | </div> | ||
<div class="row"> | <div class="row"> | ||
<p (click)="goToPage('forgot')">Forgot Password ?</p> | <p (click)="goToPage('forgot')">Forgot Password ?</p> | ||
</div> | </div> | ||
</form> | |||
</div> | </div> | ||
<div class="sigup_footer" (click)="istoggle()"> | <div class="sigup_footer" (click)="istoggle()"> | ||
<img src="../../assets/img/asset_signup_arrow.png"><br> | <img src="../../assets/img/asset_signup_arrow.png"><br> | ||
... | @@ -31,56 +41,51 @@ | ... | @@ -31,56 +41,51 @@ |
</div> | </div> | ||
<h1>Sign Up</h1> | <h1>Sign Up</h1> | ||
<div class="signup_form"> | <div class="signup_form"> | ||
<form [formGroup]="signupForm"> | |||
<div class="row"> | <div class="row"> | ||
<p>Your Full Name</p> | <p>Your Full Name</p> | ||
<ion-input value="John Doe" type="text"></ion-input> | <ion-input formControlName="user_name" autocomplete="off" type="text"></ion-input> | ||
</div> | </div> | ||
<div class="bmd-field error"> | |||
<p class="valid-p" style="text-align: center; color: black;font-size: 14px" *ngIf="signupForm.controls.user_name.hasError('required') && signupForm.controls.user_name.touched">Enter Name.</p> | |||
</div> | |||
<div class="row"> | <div class="row"> | ||
<p>Email Address</p> | <p>Email Address</p> | ||
<ion-input value="[email protected]" type="text"></ion-input> | <ion-input formControlName="user_email" autocomplete="off" type="text"></ion-input> | ||
</div> | </div> | ||
<div class="bmd-field error"> | |||
<p class="valid-p" style="text-align: center; color: black;font-size: 14px" *ngIf="signupForm.controls.user_email.hasError('required') && signupForm.controls.user_email.touched">Enter Username.</p> | |||
<p class="valid-p" style="text-align: center; color: black;font-size: 14px" *ngIf="signupForm.controls.user_email.hasError('email') && signupForm.controls.user_email.touched">Invalid Email.</p> | |||
</div> | |||
<div class="row"> | <div class="row"> | ||
<p>Phone Number</p> | <p>Phone Number</p> | ||
<ion-row class="p0"> | <ion-row class="p0"> | ||
<ion-col size="4"> | <ion-col size="4"> | ||
<ion-select placeholder=""> | <ion-select placeholder=""> | ||
<ion-select-option value="">+91</ion-select-option> | <ion-select-option value="+33" selected >+33</ion-select-option> | ||
</ion-select> | </ion-select> | ||
</ion-col> | </ion-col> | ||
<ion-col size="8"> | <ion-col size="8"> | ||
<ion-input value="" type="number"></ion-input> | <ion-input autocomplete="off" type="number" formControlName="user_phonenumber"></ion-input> | ||
</ion-col> | </ion-col> | ||
</ion-row> | </ion-row> | ||
<div class="bmd-field error"> | |||
<p class="valid-p" style="text-align: center; color: black;font-size: 14px" *ngIf="signupForm.controls.user_phonenumber.hasError('required') && signupForm.controls.user_phonenumber.touched">Enter Phone Number.</p> | |||
</div> | |||
</div> | </div> | ||
<div class="row"> | <div class="row"> | ||
<p>Country</p> | <p>Country</p> | ||
<ion-select placeholder=""> | <ion-select placeholder=""> | ||
<ion-select-option value="">Country Name</ion-select-option> | <ion-select-option value="France" selected>France</ion-select-option> | ||
</ion-select> | </ion-select> | ||
</div> | |||
<div class="row"> | |||
<p>District</p> | |||
<ion-select placeholder=""> | |||
<ion-select-option value="">District Name</ion-select-option> | |||
</ion-select> | |||
</div> | </div> | ||
<div class="row"> | <div class="row"> | ||
<p>City</p> | <p>Adress</p> | ||
<ion-select placeholder=""> | <ion-input type="text" autocomplete="off" formControlName="user_address"></ion-input> | ||
<ion-select-option value="">City Name</ion-select-option> | <div class="bmd-field error"> | ||
</ion-select> | <p class="valid-p" style="text-align: center; color: black;font-size: 14px" *ngIf="signupForm.controls.user_address.hasError('required') && signupForm.controls.user_address.touched">Enter Address.</p> | ||
</div> | </div> | ||
<div class="row"> | |||
<p>Area</p> | |||
<ion-select placeholder=""> | |||
<ion-select-option value="">Area name</ion-select-option> | |||
</ion-select> | |||
</div> | |||
<div class="row"> | |||
<p>House name/Building</p> | |||
<ion-select placeholder=""> | |||
<ion-select-option value="">Choose address</ion-select-option> | |||
</ion-select> | |||
</div> | </div> | ||
<div class="row"> | <div class="row"> | ||
<h6>This address will be saved as your permanent address. You can change it at any time.</h6> | <h6>This address will be saved as your permanent address. You can change it at any time.</h6> | ||
... | @@ -92,6 +97,7 @@ | ... | @@ -92,6 +97,7 @@ |
<p>By Creating Account, I agree to allo repar's<br> | <p>By Creating Account, I agree to allo repar's<br> | ||
<a>Terms & Conditions</a></p> | <a>Terms & Conditions</a></p> | ||
</div> | </div> | ||
</form> | |||
</div> | </div> | ||
</div> | </div> | ||
</ion-content> | </ion-content> | ||
... | ... |
src/app/model/usersignup.model.ts
0 → 100644
src/app/webservices/backend-api.service.ts
0 → 100644