Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
allo-app
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nabil Sadki
allo-app
Commits
f82ba1fb
Commit
f82ba1fb
authored
Mar 10, 2020
by
Nabil Sadki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync
parent
d1e42f50
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
317 additions
and
0 deletions
+317
-0
package.json__
package.json__
+149
-0
scroller.module.ts
src/app/pages/offres/scroller/scroller.module.ts
+26
-0
scroller.page.html
src/app/pages/offres/scroller/scroller.page.html
+86
-0
scroller.page.scss
src/app/pages/offres/scroller/scroller.page.scss
+14
-0
scroller.page.spec.ts
src/app/pages/offres/scroller/scroller.page.spec.ts
+27
-0
scroller.page.ts
src/app/pages/offres/scroller/scroller.page.ts
+15
-0
No files found.
package.json__
0 → 100644
View file @
f82ba1fb
{
"name": "atapp",
"version": "1.1.5-0",
"author": "Allo Testeurs",
"homepage": "http://www.allo-testeurs.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/common": "^7.2.2",
"@angular/core": "^7.2.2",
"@angular/fire": "^5.2.1",
"@angular/forms": "^7.2.2",
"@angular/http": "^7.2.2",
"@angular/platform-browser": "^7.2.2",
"@angular/platform-browser-dynamic": "^7.2.2",
"@angular/router": "^7.2.2",
"@ionic-native/admob-free": "^5.22.0",
"@ionic-native/app-version": "^5.11.0",
"@ionic-native/background-geolocation": "^5.8.0",
"@ionic-native/background-mode": "^5.11.0",
"@ionic-native/camera": "^5.19.0",
"@ionic-native/core": "^5.0.0",
"@ionic-native/diagnostic": "^5.8.0",
"@ionic-native/file": "^5.14.0",
"@ionic-native/file-path": "^5.14.0",
"@ionic-native/google-plus": "^5.0.0",
"@ionic-native/http": "^5.8.0",
"@ionic-native/ionic-webview": "^5.14.0",
"@ionic-native/local-notifications": "^5.11.0",
"@ionic-native/location-accuracy": "^5.8.0",
"@ionic-native/network": "^5.18.0",
"@ionic-native/qr-scanner": "^5.14.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^4.1.0",
"@ionic/storage": "^2.2.0",
"cordova-admob-sdk": "0.24.1",
"cordova-android": "^8.1.0",
"cordova-plugin-admob-free": "^0.27.0",
"cordova-plugin-advanced-http": "^2.1.1",
"cordova-plugin-app-version": "^0.1.9",
"cordova-plugin-background-mode": "git+https://github.com/sercatven/cordova-plugin-background-mode.git",
"cordova-plugin-badge": "^0.8.8",
"cordova-plugin-camera": "^4.1.0",
"cordova-plugin-file": "^6.0.1",
"cordova-plugin-google-analytics": "^1.8.6",
"cordova-plugin-googleplus": "^8.0.0",
"cordova-plugin-local-notification": "^0.9.0-beta.2",
"cordova-plugin-play-games-services": "^1.1.2",
"cordova-plugin-qrscanner": "^3.0.1",
"cordova-plugin-request-location-accuracy": "^2.3.0",
"cordova-promise-polyfill": "0.0.2",
"cordova-sqlite-storage": "^3.2.0",
"cordova.plugins.diagnostic": "^5.0.0",
"core-js": "^2.6.11",
"firebase": "^6.6.1",
"g": "^2.0.1",
"ionic-image-loader": "^6.3.3",
"leaflet": "^1.5.1",
"leaflet.markercluster": "^1.4.1",
"path": "^0.12.7",
"rxjs": "~6.5.1",
"sweetalert": "^2.1.2",
"tslib": "^1.9.0",
"zone.js": "~0.8.29"
},
"devDependencies": {
"@angular-devkit/architect": "~0.13.8",
"@angular-devkit/build-angular": "^0.900.5",
"@angular-devkit/core": "~7.3.8",
"@angular-devkit/schematics": "~7.3.8",
"@angular/cli": "~7.3.8",
"@angular/compiler": "~7.2.2",
"@angular/compiler-cli": "^9.0.5",
"@angular/language-service": "~7.2.2",
"@ionic-native/google-analytics": "^5.15.0",
"@ionic/angular-toolkit": "~1.5.1",
"@ionic/lab": "^3.1.2",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~12.0.0",
"codelyzer": "~4.5.0",
"cordova-plugin-device": "2.0.2",
"cordova-plugin-ionic-keyboard": "^2.0.5",
"cordova-plugin-ionic-webview": "^4.0.0",
"cordova-plugin-splashscreen": "5.0.2",
"cordova-plugin-statusbar": "2.4.2",
"cordova-plugin-whitelist": "1.3.3",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~8.3.0",
"tslint": "~5.17.0",
"typescript": "~3.1.6"
},
"browser": {
"crypto": false,
"fs": false,
"module": false
},
"description": "Allo Testeurs application",
"cordova": {
"plugins": {
"cordova-sqlite-storage": {},
"cordova-plugin-advanced-http": {},
"cordova.plugins.diagnostic": {
"ANDROID_SUPPORT_VERSION": "28.+"
},
"cordova-plugin-request-location-accuracy": {},
"cordova-plugin-local-notification": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-webview": {},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-background-mode": {},
"cordova-plugin-app-version": {},
"cordova-plugin-file": {},
"cordova-plugin-googleplus": {
"PLAY_SERVICES_VERSION": "11.8.0"
},
"cordova-plugin-google-analytics": {
"GMS_VERSION": "16.0.3"
},
"cordova-plugin-network-information": {},
"cordova-plugin-qrscanner": {},
"cordova-plugin-camera": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-admob-free": {}
},
"platforms": [
"android"
]
}
}
src/app/pages/offres/scroller/scroller.module.ts
0 → 100644
View file @
f82ba1fb
import
{
NgModule
}
from
'@angular/core'
;
import
{
CommonModule
}
from
'@angular/common'
;
import
{
FormsModule
}
from
'@angular/forms'
;
import
{
Routes
,
RouterModule
}
from
'@angular/router'
;
import
{
IonicModule
}
from
'@ionic/angular'
;
import
{
ScrollerPage
}
from
'./scroller.page'
;
const
routes
:
Routes
=
[
{
path
:
''
,
component
:
ScrollerPage
}
];
@
NgModule
({
imports
:
[
CommonModule
,
FormsModule
,
IonicModule
,
RouterModule
.
forChild
(
routes
)
],
declarations
:
[
ScrollerPage
]
})
export
class
ScrollerPageModule
{}
src/app/pages/offres/scroller/scroller.page.html
0 → 100644
View file @
f82ba1fb
<ion-header>
<ion-toolbar
color=
"primary"
>
<ion-buttons
slot=
"start"
>
<!-- <ion-button menuToggle>
<ion-icon name="menu" size="large"></ion-icon>
</ion-button> -->
<ion-menu-button>
<!-- <ion-icon name="menu" size="large" color="light"></ion-icon> -->
</ion-menu-button>
</ion-buttons>
<ion-title>
Swipez à droite
</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-slides>
<ion-slide>
<div
class=
"skeleton ion-padding"
>
<ion-card>
<img
src=
"https://ae01.alicdn.com/kf/HTB1ETgBe8Gw3KVjSZFDq6xWEpXaF/JBL-couteurs-filaires-3-5mm-oreillettes-basse-casque-d-coute-sportif-contr-le-mains-libres-en.jpg"
/>
<ion-card-header
color=
"primary"
>
<ion-card-title>
Lorem ipsum
</ion-card-title>
</ion-card-header>
<ion-card-content>
Lorem ipsum sit dolor amet
</ion-card-content>
<!-- <ion-list>
<ion-item *ngIf="trip?.brand_adresse">
<ion-icon name="pin" color="primary" slot="start"></ion-icon>
<ion-label>Adresse : {{ trip.brand_adresse }}</ion-label>
</ion-item>
<ion-item href="tel://{{ trip.brand_tel }}" lines="none" *ngIf="trip?.brand_tel">
<ion-icon name="phone-portrait" color="primary" slot="start"></ion-icon>
<ion-label>Tél : {{ trip.brand_tel }}</ion-label>
</ion-item>
</ion-list> -->
</ion-card>
</div>
</ion-slide>
<ion-slide>
<div
class=
"skeleton"
>
<ion-skeleton-text
class=
"img"
animated
></ion-skeleton-text>
<ion-card-header>
<ion-card-subtitle
color=
"primary"
>
<ion-skeleton-text
style=
"width: 80%"
animated
></ion-skeleton-text>
</ion-card-subtitle>
<ion-card-title>
<ion-skeleton-text
style=
"height: 20px"
animated
></ion-skeleton-text>
</ion-card-title>
</ion-card-header>
<ion-card-content
no-padding
padding-horizontal
padding-bottom
>
<ion-skeleton-text
style=
"width: 80%"
animated
></ion-skeleton-text>
<ion-skeleton-text
animated
></ion-skeleton-text>
<ion-skeleton-text
style=
"width: 80%"
animated
></ion-skeleton-text>
<ion-skeleton-text
style=
"width: 50%"
animated
></ion-skeleton-text>
</ion-card-content>
</div>
</ion-slide>
<ion-slide>
<div
class=
"skeleton"
>
<ion-skeleton-text
class=
"img"
animated
></ion-skeleton-text>
<ion-card-header>
<ion-card-subtitle
color=
"primary"
>
<ion-skeleton-text
style=
"width: 80%"
animated
></ion-skeleton-text>
</ion-card-subtitle>
<ion-card-title>
<ion-skeleton-text
style=
"height: 20px"
animated
></ion-skeleton-text>
</ion-card-title>
</ion-card-header>
<ion-card-content
no-padding
padding-horizontal
padding-bottom
>
<ion-skeleton-text
style=
"width: 80%"
animated
></ion-skeleton-text>
<ion-skeleton-text
animated
></ion-skeleton-text>
<ion-skeleton-text
style=
"width: 80%"
animated
></ion-skeleton-text>
<ion-skeleton-text
style=
"width: 50%"
animated
></ion-skeleton-text>
</ion-card-content>
</div>
</ion-slide>
</ion-slides>
</ion-content>
\ No newline at end of file
src/app/pages/offres/scroller/scroller.page.scss
0 → 100644
View file @
f82ba1fb
ion-slides
{
width
:
100vw
;
height
:
100vh
;
.swiper-wrapper
{
width
:
100%
;
height
:
100%
;
}
}
ion-slide
{
div
.skeleton
{
width
:
100%
!
important
;
height
:
100%
!
important
;
}
}
src/app/pages/offres/scroller/scroller.page.spec.ts
0 → 100644
View file @
f82ba1fb
import
{
CUSTOM_ELEMENTS_SCHEMA
}
from
'@angular/core'
;
import
{
async
,
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
ScrollerPage
}
from
'./scroller.page'
;
describe
(
'ScrollerPage'
,
()
=>
{
let
component
:
ScrollerPage
;
let
fixture
:
ComponentFixture
<
ScrollerPage
>
;
beforeEach
(
async
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
ScrollerPage
],
schemas
:
[
CUSTOM_ELEMENTS_SCHEMA
],
})
.
compileComponents
();
}));
beforeEach
(()
=>
{
fixture
=
TestBed
.
createComponent
(
ScrollerPage
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
it
(
'should create'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/pages/offres/scroller/scroller.page.ts
0 → 100644
View file @
f82ba1fb
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-scroller'
,
templateUrl
:
'./scroller.page.html'
,
styleUrls
:
[
'./scroller.page.scss'
],
})
export
class
ScrollerPage
implements
OnInit
{
constructor
()
{
}
ngOnInit
()
{
}
}
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