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
34c5cb72
Commit
34c5cb72
authored
7 years ago
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update
parent
bcf72059
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
cleftbar.component.ts
src/app/ControlPage/cleftbar/cleftbar.component.ts
+5
-0
ssh.component.ts
src/app/ControlPage/control/ssh/ssh.component.ts
+1
-1
No files found.
src/app/ControlPage/cleftbar/cleftbar.component.ts
View file @
34c5cb72
...
...
@@ -132,6 +132,11 @@ export class CleftbarComponent implements OnInit {
jQuery
(
'app-ssh'
).
hide
();
jQuery
(
'app-rdp'
).
show
();
this
.
_rdp
.
Connect
(
host
,
username
);
}
else
{
jQuery
(
'app-ssh'
).
show
();
jQuery
(
'app-rdp'
).
hide
();
this
.
_term
.
TerminalConnect
(
host
,
username
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/ControlPage/control/ssh/ssh.component.ts
View file @
34c5cb72
...
...
@@ -99,7 +99,7 @@ export class SshComponent implements OnInit {
NavList
.
List
[
id
].
Term
.
term
.
write
(
'
\
x1b[31mWelcome to Jumpserver!
\
x1b[m
\
r
\
n'
);
socket
.
on
(
'connect'
,
function
()
{
socket
.
emit
(
'host'
,
{
'
uuid'
:
host
.
id
,
'user
'
:
username
});
socket
.
emit
(
'host'
,
{
'
asset'
:
host
,
'username
'
:
username
});
NavList
.
List
[
id
].
Term
.
term
.
on
(
'data'
,
function
(
data
)
{
socket
.
emit
(
'data'
,
data
);
...
...
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