first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
Authors : initappz (Rahul Jograna)
|
||||
Website : https://initappz.com/
|
||||
App Name : E-Learning App Template
|
||||
This App Template Source code is licensed as per the
|
||||
terms found in the Website https://initappz.com/license
|
||||
Copyright and Good Faith Purchasers © 2021-present initappz.
|
||||
*/
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { CallPage } from './call.page';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: CallPage
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class CallPageRoutingModule { }
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
Authors : initappz (Rahul Jograna)
|
||||
Website : https://initappz.com/
|
||||
App Name : E-Learning App Template
|
||||
This App Template Source code is licensed as per the
|
||||
terms found in the Website https://initappz.com/license
|
||||
Copyright and Good Faith Purchasers © 2021-present initappz.
|
||||
*/
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { CallPageRoutingModule } from './call-routing.module';
|
||||
|
||||
import { CallPage } from './call.page';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
CallPageRoutingModule
|
||||
],
|
||||
declarations: [CallPage]
|
||||
})
|
||||
export class CallPageModule { }
|
||||
@@ -0,0 +1,47 @@
|
||||
<!--
|
||||
Authors : initappz (Rahul Jograna)
|
||||
Website : https://initappz.com/
|
||||
App Name : E-Learning App Template
|
||||
This App Template Source code is licensed as per the
|
||||
terms found in the Website https://initappz.com/license
|
||||
Copyright and Good Faith Purchasers © 2021-present initappz.
|
||||
-->
|
||||
<ion-header mode="ios" class="ion-no-border">
|
||||
<ion-toolbar>
|
||||
<ion-buttons slot="start" (click)="onCancel()">
|
||||
<ion-button>
|
||||
<ion-icon name="arrow-back-outline"></ion-icon>
|
||||
</ion-button>
|
||||
</ion-buttons>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
<ion-content class="ion-padding main_div">
|
||||
<div class="profile">
|
||||
<div class="bg_image back_image" [style.backgroundImage]="'url(assets/images/profile.jpg)'"></div>
|
||||
<div class="title">
|
||||
<ion-label class="head_text"> Jhon Smith </ion-label>
|
||||
<ion-label class="grey_text"> Duration 12:30 </ion-label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="btn">
|
||||
<ion-row>
|
||||
<ion-col size="4">
|
||||
<div class="about">
|
||||
<ion-icon name="volume-high-outline"></ion-icon>
|
||||
</div>
|
||||
</ion-col>
|
||||
<ion-col size="4">
|
||||
<div class="about">
|
||||
<ion-icon name="volume-off-outline"></ion-icon>
|
||||
</div>
|
||||
</ion-col>
|
||||
<ion-col size="4">
|
||||
<div class="about">
|
||||
<ion-icon name="call-outline" class="danger" (click)="onCancel()"></ion-icon>
|
||||
</div>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
</div>
|
||||
</ion-content>
|
||||
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
Authors : initappz (Rahul Jograna)
|
||||
Website : https://initappz.com/
|
||||
App Name : E-Learning App Template
|
||||
This App Template Source code is licensed as per the
|
||||
terms found in the Website https://initappz.com/license
|
||||
Copyright and Good Faith Purchasers © 2021-present initappz.
|
||||
*/
|
||||
ion-header {
|
||||
ion-toolbar {
|
||||
--background: var(--ion-color-primary);
|
||||
|
||||
ion-icon {
|
||||
color: white;
|
||||
}
|
||||
|
||||
ion-title {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main_div {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
.profile {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 16px;
|
||||
padding-top: 40px;
|
||||
margin-top: 5rem;
|
||||
|
||||
.back_image {
|
||||
height: 120px;
|
||||
width: 120px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.title {
|
||||
margin-bottom: 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.head_text {
|
||||
margin-top: 10px;
|
||||
font-family: 'bold';
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.grey_text {
|
||||
color: #86888f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
margin-top: 5rem;
|
||||
|
||||
ion-icon {
|
||||
--background: var(--ion-color-primary);
|
||||
padding: 20px;
|
||||
box-shadow: 0px 0px 20px 1px rgba(0, 0, 0, 0.1);
|
||||
font-size: 25px;
|
||||
border-radius: 100%;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.danger {
|
||||
background: red;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
ion-row {
|
||||
margin-top: 1.5rem;
|
||||
width: 100%;
|
||||
|
||||
ion-col {
|
||||
.about {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
Authors : initappz (Rahul Jograna)
|
||||
Website : https://initappz.com/
|
||||
App Name : E-Learning App Template
|
||||
This App Template Source code is licensed as per the
|
||||
terms found in the Website https://initappz.com/license
|
||||
Copyright and Good Faith Purchasers © 2021-present initappz.
|
||||
*/
|
||||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { CallPage } from './call.page';
|
||||
|
||||
describe('CallPage', () => {
|
||||
let component: CallPage;
|
||||
let fixture: ComponentFixture<CallPage>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CallPage],
|
||||
imports: [IonicModule.forRoot()]
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(CallPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
}));
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
Authors : initappz (Rahul Jograna)
|
||||
Website : https://initappz.com/
|
||||
App Name : E-Learning App Template
|
||||
This App Template Source code is licensed as per the
|
||||
terms found in the Website https://initappz.com/license
|
||||
Copyright and Good Faith Purchasers © 2021-present initappz.
|
||||
*/
|
||||
import { NavController } from '@ionic/angular';
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-call',
|
||||
templateUrl: './call.page.html',
|
||||
styleUrls: ['./call.page.scss'],
|
||||
})
|
||||
export class CallPage implements OnInit {
|
||||
|
||||
constructor(
|
||||
private navctr: NavController
|
||||
) { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
onCancel() {
|
||||
this.navctr.back();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user