Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
Project
Project
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
ops
luna
Commits
ff74f4f3
Commit
ff74f4f3
authored
Dec 07, 2017
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: replay page
parent
6ca5778b
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
159 additions
and
27 deletions
+159
-27
app.module.ts
src/app/app.module.ts
+9
-3
json.component.css
src/app/replay-page/json/json.component.css
+0
-0
json.component.html
src/app/replay-page/json/json.component.html
+3
-0
json.component.spec.ts
src/app/replay-page/json/json.component.spec.ts
+25
-0
json.component.ts
src/app/replay-page/json/json.component.ts
+15
-0
mp4.component.css
src/app/replay-page/mp4/mp4.component.css
+0
-0
mp4.component.html
src/app/replay-page/mp4/mp4.component.html
+3
-0
mp4.component.spec.ts
src/app/replay-page/mp4/mp4.component.spec.ts
+25
-0
mp4.component.ts
src/app/replay-page/mp4/mp4.component.ts
+15
-0
replay-page.component.css
src/app/replay-page/replay-page.component.css
+0
-0
replay-page.component.html
src/app/replay-page/replay-page.component.html
+24
-0
replay-page.component.spec.ts
src/app/replay-page/replay-page.component.spec.ts
+25
-0
replay-page.component.ts
src/app/replay-page/replay-page.component.ts
+15
-0
termpage.component.html
src/app/termpage/termpage.component.html
+0
-24
No files found.
src/app/app.module.ts
View file @
ff74f4f3
...
...
@@ -34,8 +34,11 @@ import {ControlPageComponent} from './ControlPage/controlpage.component';
import
{
IndexPageComponent
}
from
'./IndexPage/index-page.component'
;
import
{
NotFoundComponent
}
from
'./BasicPage/not-found/not-found.component'
;
import
{
PopupComponent
}
from
'./BasicPage/popup/popup.component'
;
import
{
RdppageComponent
}
from
'./rdppage/rdppage.component'
;
import
{
TermpageComponent
}
from
'./termpage/termpage.component'
;
import
{
RdppageComponent
}
from
'./rdppage/rdppage.component'
;
import
{
TermpageComponent
}
from
'./termpage/termpage.component'
;
import
{
ReplayPageComponent
}
from
'./replay-page/replay-page.component'
;
import
{
Mp4Component
}
from
'./replay-page/mp4/mp4.component'
;
import
{
JsonComponent
}
from
'./replay-page/json/json.component'
;
@
NgModule
({
...
...
@@ -50,7 +53,6 @@ import { TermpageComponent } from './termpage/termpage.component';
NavComponent
,
LoginComponent
,
FooterComponent
,
RdpComponent
,
SshComponent
,
SearchComponent
,
...
...
@@ -65,6 +67,10 @@ import { TermpageComponent } from './termpage/termpage.component';
PopupComponent
,
RdppageComponent
,
TermpageComponent
,
ReplayPageComponent
,
Mp4Component
,
JsonComponent
,
// HeroListComponent,
// CrisisListComponent,
],
...
...
src/app/replay-page/json/json.component.css
0 → 100644
View file @
ff74f4f3
src/app/replay-page/json/json.component.html
0 → 100644
View file @
ff74f4f3
<p>
json works!
</p>
src/app/replay-page/json/json.component.spec.ts
0 → 100644
View file @
ff74f4f3
import
{
async
,
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
JsonComponent
}
from
'./json.component'
;
describe
(
'JsonComponent'
,
()
=>
{
let
component
:
JsonComponent
;
let
fixture
:
ComponentFixture
<
JsonComponent
>
;
beforeEach
(
async
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
JsonComponent
]
})
.
compileComponents
();
}));
beforeEach
(()
=>
{
fixture
=
TestBed
.
createComponent
(
JsonComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
it
(
'should create'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/replay-page/json/json.component.ts
0 → 100644
View file @
ff74f4f3
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-json'
,
templateUrl
:
'./json.component.html'
,
styleUrls
:
[
'./json.component.css'
]
})
export
class
JsonComponent
implements
OnInit
{
constructor
()
{
}
ngOnInit
()
{
}
}
src/app/replay-page/mp4/mp4.component.css
0 → 100644
View file @
ff74f4f3
src/app/replay-page/mp4/mp4.component.html
0 → 100644
View file @
ff74f4f3
<p>
mp4 works!
</p>
src/app/replay-page/mp4/mp4.component.spec.ts
0 → 100644
View file @
ff74f4f3
import
{
async
,
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
Mp4Component
}
from
'./mp4.component'
;
describe
(
'Mp4Component'
,
()
=>
{
let
component
:
Mp4Component
;
let
fixture
:
ComponentFixture
<
Mp4Component
>
;
beforeEach
(
async
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
Mp4Component
]
})
.
compileComponents
();
}));
beforeEach
(()
=>
{
fixture
=
TestBed
.
createComponent
(
Mp4Component
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
it
(
'should create'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/replay-page/mp4/mp4.component.ts
0 → 100644
View file @
ff74f4f3
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-mp4'
,
templateUrl
:
'./mp4.component.html'
,
styleUrls
:
[
'./mp4.component.css'
]
})
export
class
Mp4Component
implements
OnInit
{
constructor
()
{
}
ngOnInit
()
{
}
}
src/app/replay-page/replay-page.component.css
0 → 100644
View file @
ff74f4f3
src/app/replay-page/replay-page.component.html
0 → 100644
View file @
ff74f4f3
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-stop"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-step-backward"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-backward"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"btn"
(
click
)="
play
()"
>
<i
class=
"fa"
aria-hidden=
"true"
[
ngClass
]="{'
fa-play
'
:playing
,'
fa-pause
'
:
!
playing
}"
></i>
</button>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-forward"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-step-forward"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-expand"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-compress"
aria-hidden=
"true"
></i>
</button>
src/app/replay-page/replay-page.component.spec.ts
0 → 100644
View file @
ff74f4f3
import
{
async
,
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
ReplayPageComponent
}
from
'./replay-page.component'
;
describe
(
'ReplayPageComponent'
,
()
=>
{
let
component
:
ReplayPageComponent
;
let
fixture
:
ComponentFixture
<
ReplayPageComponent
>
;
beforeEach
(
async
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
ReplayPageComponent
]
})
.
compileComponents
();
}));
beforeEach
(()
=>
{
fixture
=
TestBed
.
createComponent
(
ReplayPageComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
it
(
'should create'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/replay-page/replay-page.component.ts
0 → 100644
View file @
ff74f4f3
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-replay-page'
,
templateUrl
:
'./replay-page.component.html'
,
styleUrls
:
[
'./replay-page.component.css'
]
})
export
class
ReplayPageComponent
implements
OnInit
{
constructor
()
{
}
ngOnInit
()
{
}
}
src/app/termpage/termpage.component.html
View file @
ff74f4f3
<span
id=
"liuzheng"
>
liuzheng
</span>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-stop"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-step-backward"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-backward"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"btn"
(
click
)="
play
()"
>
<i
class=
"fa"
aria-hidden=
"true"
[
ngClass
]="{'
fa-play
'
:playing
,'
fa-pause
'
:
!
playing
}"
></i>
</button>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-forward"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-step-forward"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-expand"
aria-hidden=
"true"
></i>
</button>
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-compress"
aria-hidden=
"true"
></i>
</button>
<div
id=
"term"
></div>
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