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
a7bf55d9
Commit
a7bf55d9
authored
Dec 06, 2017
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update
parent
d1db6d2e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
5 deletions
+35
-5
termpage.component.css
src/app/termpage/termpage.component.css
+4
-0
termpage.component.html
src/app/termpage/termpage.component.html
+25
-5
termpage.component.ts
src/app/termpage/termpage.component.ts
+6
-0
No files found.
src/app/termpage/termpage.component.css
View file @
a7bf55d9
...
...
@@ -31,3 +31,7 @@
padding-bottom
:
16px
!important
;
font-family
:
'Monaco'
,
iosevka
!important
;
}
button
{
width
:
40px
;
}
src/app/termpage/termpage.component.html
View file @
a7bf55d9
<span
id=
"liuzheng"
>
liuzheng
</span>
<i
class=
"fa fa-backward"
aria-hidden=
"true"
></i>
<i
class=
"fa fa-play"
aria-hidden=
"true"
></i>
<i
class=
"fa fa-stop"
aria-hidden=
"true"
></i>
<i
class=
"fa fa-pause"
aria-hidden=
"true"
></i>
<i
class=
"fa fa-forward"
aria-hidden=
"true"
></i>
<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>
src/app/termpage/termpage.component.ts
View file @
a7bf55d9
...
...
@@ -12,6 +12,8 @@ declare let Terminal: any;
styleUrls
:
[
'./termpage.component.css'
]
})
export
class
TermpageComponent
implements
OnInit
{
playing
:
boolean
;
constructor
(
private
activatedRoute
:
ActivatedRoute
)
{
DataStore
.
NavShow
=
false
;
}
...
...
@@ -54,4 +56,8 @@ export class TermpageComponent implements OnInit {
}
play
()
{
this
.
playing
=
!
this
.
playing
;
}
}
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