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
fca44ab8
Commit
fca44ab8
authored
Dec 07, 2017
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update
parent
4dc8a5ef
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
29 additions
and
8 deletions
+29
-8
.angular-cli.json
.angular-cli.json
+1
-0
ssh.component.css
src/app/ControlPage/control/ssh/ssh.component.css
+0
-2
json.component.css
src/app/replay-page/json/json.component.css
+3
-0
json.component.ts
src/app/replay-page/json/json.component.ts
+13
-2
replay-page.component.html
src/app/replay-page/replay-page.component.html
+2
-2
replay-page.component.ts
src/app/replay-page/replay-page.component.ts
+1
-0
index.html
src/index.html
+1
-1
styles.css
src/styles.css
+8
-1
layer.css
src/theme/default/layer.css
+0
-0
No files found.
.angular-cli.json
View file @
fca44ab8
...
...
@@ -9,6 +9,7 @@
"outDir"
:
"dist"
,
"assets"
:
[
"static"
,
"theme/default/"
,
"favicon.ico"
],
"index"
:
"index.html"
,
...
...
src/app/ControlPage/control/ssh/ssh.component.css
View file @
fca44ab8
...
...
@@ -15,9 +15,7 @@
box-shadow
:
rgba
(
0
,
0
,
0
,
0.8
)
2px
2px
20px
;
white-space
:
nowrap
;
display
:
inline-block
;
width
:
100%
;
height
:
100%
;
background-color
:
black
;
}
#term
.terminal
div
span
{
...
...
src/app/replay-page/json/json.component.css
View file @
fca44ab8
#term
{
padding
:
20px
;
}
src/app/replay-page/json/json.component.ts
View file @
fca44ab8
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
declare
let
jQuery
:
any
;
declare
let
Terminal
:
any
;
@
Component
({
selector
:
'app-json'
,
...
...
@@ -7,9 +10,17 @@ import { Component, OnInit } from '@angular/core';
})
export
class
JsonComponent
implements
OnInit
{
constructor
()
{
}
constructor
()
{
}
ngOnInit
()
{
const
term
=
new
Terminal
({
cols
:
'80'
,
rows
:
'24'
,
useStyle
:
true
,
screenKeys
:
true
,
});
term
.
open
(
document
.
getElementById
(
'term'
),
true
);
}
}
src/app/replay-page/replay-page.component.html
View file @
fca44ab8
...
...
@@ -22,5 +22,5 @@
<button
type=
"button"
class=
"btn"
>
<i
class=
"fa fa-compress"
aria-hidden=
"true"
></i>
</button>
<app-mp4
*
ngIf=
"video.type=='mp4'"
></app-mp4>
<app-json
*
ngIf=
"video.type=='json'"
></app-json>
<app-mp4
*
ngIf=
'video.type=="mp4"'
></app-mp4>
<app-json
*
ngIf=
'video.type=="json"'
></app-json>
src/app/replay-page/replay-page.component.ts
View file @
fca44ab8
...
...
@@ -15,6 +15,7 @@ export class ReplayPageComponent implements OnInit {
constructor
(
private
activatedRoute
:
ActivatedRoute
,
private
_http
:
HttpService
,
private
_logger
:
Logger
)
{
this
.
video
=
{
'type'
:
'none'
};
}
ngOnInit
()
{
...
...
src/index.html
View file @
fca44ab8
...
...
@@ -10,7 +10,7 @@
</head>
<body>
<app-root></app-root>
<span
id=
"liuzheng"
>
liuzheng
</span>
<span
id=
"liuzheng"
style=
"display: none"
>
liuzheng
</span>
</body>
</html>
src/styles.css
View file @
fca44ab8
...
...
@@ -21,7 +21,6 @@ app-root {
height
:
100%
;
}
#liuzheng
{
position
:
fixed
;
top
:
0
;
...
...
@@ -31,3 +30,11 @@ app-root {
padding-bottom
:
16px
!important
;
font-family
:
'Monaco'
,
iosevka
!important
;
}
.terminal
,
.terminal
.xterm-viewport
{
background-color
:
inherit
;
}
.terminal
.xterm-rows
{
background-color
:
black
;
}
src/theme/default/layer.css
0 → 100644
View file @
fca44ab8
This diff is collapsed.
Click to expand it.
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