shorten url changes
This commit is contained in:
parent
ac4ffb1ef6
commit
40a0f5ab1d
3
ng6-seed/src/app/session/otp/otp.component.html
Normal file
3
ng6-seed/src/app/session/otp/otp.component.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<p>
|
||||||
|
otp works!
|
||||||
|
</p>
|
||||||
0
ng6-seed/src/app/session/otp/otp.component.scss
Normal file
0
ng6-seed/src/app/session/otp/otp.component.scss
Normal file
25
ng6-seed/src/app/session/otp/otp.component.spec.ts
Normal file
25
ng6-seed/src/app/session/otp/otp.component.spec.ts
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { OtpComponent } from './otp.component';
|
||||||
|
|
||||||
|
describe('OtpComponent', () => {
|
||||||
|
let component: OtpComponent;
|
||||||
|
let fixture: ComponentFixture<OtpComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ OtpComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(OtpComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
15
ng6-seed/src/app/session/otp/otp.component.ts
Normal file
15
ng6-seed/src/app/session/otp/otp.component.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-otp',
|
||||||
|
templateUrl: './otp.component.html',
|
||||||
|
styleUrls: ['./otp.component.scss']
|
||||||
|
})
|
||||||
|
export class OtpComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -17,6 +17,7 @@ import { ForgotPasswordComponent } from './forgot-password/forgot-password.compo
|
|||||||
import { LockScreenComponent } from './lockscreen/lockscreen.component';
|
import { LockScreenComponent } from './lockscreen/lockscreen.component';
|
||||||
|
|
||||||
import { SessionRoutes } from './session.routing';
|
import { SessionRoutes } from './session.routing';
|
||||||
|
import { OtpComponent } from './otp/otp.component';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
@ -38,6 +39,7 @@ import { SessionRoutes } from './session.routing';
|
|||||||
RegisterComponent,
|
RegisterComponent,
|
||||||
ForgotPasswordComponent,
|
ForgotPasswordComponent,
|
||||||
LockScreenComponent,
|
LockScreenComponent,
|
||||||
|
OtpComponent,
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
<mat-video title="Recorded Video" [autoplay]="true" [preload]="true" [fullscreen]="true" [download]="true" color="primary" spinner="spin" poster="../../assets/images/img/video-icon.png">
|
<mat-video title="Recorded Video" [autoplay]="true" [preload]="true" [fullscreen]="true" [download]="true" color="primary" spinner="spin" poster="../../assets/images/img/video-icon.png">
|
||||||
<source matVideoSource [src]="videoSrc" type="video/webm">
|
<source matVideoSource [src]="videoSrc" type="video/webm">
|
||||||
|
|
||||||
</mat-video>
|
</mat-video>
|
||||||
</div>
|
</div>
|
||||||
<!-- <source src="tutorial.webm" type="video/webm"> -->
|
<!-- <source src="tutorial.webm" type="video/webm"> -->
|
||||||
<!-- <track matVideoTrack src="subtitles_en.vtt" kind="subtitles" srclang="en" label="English"> -->
|
<!-- <track matVideoTrack src="subtitles_en.vtt" kind="subtitles" srclang="en" label="English"> -->
|
||||||
@ -45,8 +45,8 @@
|
|||||||
<p *ngIf="item.status" style="color:white;margin:0px;font-size:14px;">{{item.status}}</p>
|
<p *ngIf="item.status" style="color:white;margin:0px;font-size:14px;">{{item.status}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div fxLayout="column" align="end" fxLayoutAlign="flex-end">
|
<div fxLayout="column" align="end" fxLayoutAlign="flex-end">
|
||||||
<button *ngIf="item.url != '' && item.url" align="end" style="float: right" mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Copy Link"
|
<button *ngIf="item.shorturl != '' && item.shorturl" align="end" style="float: right" mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Copy Link"
|
||||||
matTooltipPosition="right" (click)="_pd.copyToClipBoard(item.url)">
|
matTooltipPosition="right" (click)="_pd.copyToClipBoard(item.shorturl)">
|
||||||
<mat-icon>link</mat-icon>
|
<mat-icon>link</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user