first commit

This commit is contained in:
CHIEFSOFT\ameye
2023-05-12 22:30:08 -04:00
commit cea49e295a
667 changed files with 39490 additions and 0 deletions
@@ -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 { BookmarkPage } from './bookmark.page';
const routes: Routes = [
{
path: '',
component: BookmarkPage
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class BookmarkPageRoutingModule { }
+28
View File
@@ -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 { BookmarkPageRoutingModule } from './bookmark-routing.module';
import { BookmarkPage } from './bookmark.page';
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
BookmarkPageRoutingModule
],
declarations: [BookmarkPage]
})
export class BookmarkPageModule { }
+41
View File
@@ -0,0 +1,41 @@
<!--
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)="onBack()">
<ion-button>
<ion-icon name="arrow-back-outline"></ion-icon>
</ion-button>
</ion-buttons>
<ion-title>My Bookmark</ion-title>
</ion-toolbar>
</ion-header>
<ion-content class="ion-padding">
<div class="bg_white" *ngFor="let item of [1,2,3,4,5,6]">
<div class="list">
<div class="bg_image back_image" [style.backgroundImage]="'url(assets/images/p2.jpg)'"></div>
<div class="detail">
<ion-label class="bg_text">3D Design</ion-label>
<ion-label class="name">3D Design Illustration</ion-label>
<ion-label class="price">$48.00 </ion-label>
<div class="row">
<ion-icon name="star-half-outline" color="warning"></ion-icon>
<ion-label class="small">4.9</ion-label>
<ion-label class="small">|</ion-label>
<ion-label class="small">8266 Students</ion-label>
</div>
</div>
</div>
<ion-icon slot="end" name="bookmark" class="save" color="primary" (click)="onCancelApointment()"></ion-icon>
</div>
</ion-content>
+86
View File
@@ -0,0 +1,86 @@
/*
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;
}
}
}
ion-content {
.bg_white {
display: flex;
align-items: flex-start;
background-color: white;
padding: 15px;
box-shadow: 0px 0px 20px 1px rgba(0, 0, 0, 0.1);
border-radius: 10px;
margin-bottom: 20px;
.list {
display: flex;
align-items: center;
.back_image {
height: 95px;
width: 95px;
border-radius: 10px;
}
.detail {
margin-left: 10px;
.bg_text {
color: var(--ion-color-primary);
background-color: #dfe1f3;
font-size: 12px;
padding: 2px 5px;
border-radius: 5px;
width: 80px;
text-align: center;
}
.name {
font-family: 'bold';
margin-top: 5px;
}
.price {
margin-top: 3px;
color: var(--ion-color-primary);
font-family: 'semi-bold';
}
.row {
display: flex;
align-items: center;
margin-top: 3px;
ion-icon {
font-size: 18px;
}
.small {
margin-left: 8px;
color: grey;
font-size: 14px;
}
}
}
}
}
}
@@ -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 { BookmarkPage } from './bookmark.page';
describe('BookmarkPage', () => {
let component: BookmarkPage;
let fixture: ComponentFixture<BookmarkPage>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [BookmarkPage],
imports: [IonicModule.forRoot()]
}).compileComponents();
fixture = TestBed.createComponent(BookmarkPage);
component = fixture.componentInstance;
fixture.detectChanges();
}));
it('should create', () => {
expect(component).toBeTruthy();
});
});
+44
View File
@@ -0,0 +1,44 @@
/*
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 { Router } from '@angular/router';
import { RemoveBookmarkPage } from './../remove-bookmark/remove-bookmark.page';
import { ModalController, NavController } from '@ionic/angular';
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-bookmark',
templateUrl: './bookmark.page.html',
styleUrls: ['./bookmark.page.scss'],
})
export class BookmarkPage implements OnInit {
constructor(
private navctr: NavController,
private router: Router,
private modalController: ModalController
) { }
ngOnInit() {
}
onBack() {
this.navctr.back();
}
async onCancelApointment() {
const modal = await this.modalController.create({
component: RemoveBookmarkPage,
cssClass: 'custom_modal_bottom',
componentProps: { value: 123 },
});
await modal.present();
}
}