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
20e81ee8
Commit
20e81ee8
authored
Aug 02, 2019
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 再次修改
parent
aa8719d0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
app.service.ts
src/app/app.service.ts
+2
-2
asset-tree.component.ts
src/app/elements/asset-tree/asset-tree.component.ts
+1
-0
manual-password-dialog.html
src/app/elements/asset-tree/manual-password-dialog.html
+1
-1
guacamole.component.ts
src/app/elements/guacamole/guacamole.component.ts
+5
-5
No files found.
src/app/app.service.ts
View file @
20e81ee8
...
...
@@ -107,10 +107,10 @@ export class HttpService {
.
set
(
'system_user_id'
,
system_user_id
)
.
set
(
'token'
,
DataStore
.
guacamole_token
);
if
(
system_user_username
)
{
params
.
set
(
'username'
,
system_user_username
);
params
=
params
.
set
(
'username'
,
system_user_username
);
}
if
(
system_user_password
)
{
params
.
set
(
'password'
,
system_user_password
);
params
=
params
.
set
(
'password'
,
system_user_password
);
}
const
solution
=
localStorage
.
getItem
(
'rdpSolution'
)
||
'Auto'
;
if
(
solution
!==
'Auto'
)
{
...
...
src/app/elements/asset-tree/asset-tree.component.ts
View file @
20e81ee8
...
...
@@ -279,6 +279,7 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges {
}
manualSetUserAuthLogin
(
host
,
user
)
{
user
=
Object
.
assign
({},
user
);
const
dialogRef
=
this
.
_dialog
.
open
(
ManualPasswordDialogComponent
,
{
height
:
'250px'
,
width
:
'400px'
,
...
...
src/app/elements/asset-tree/manual-password-dialog.html
View file @
20e81ee8
...
...
@@ -10,5 +10,5 @@
<div
style=
"float: right"
>
<button
mat-raised-button
(
click
)="
onNoClick
()"
>
{{"Cancel"|trans}}
</button>
<button
mat-raised-button
color=
"primary"
[
mat-dialog-close
]="
data
"
>
{{"Confirm"|trans}}
</button>
<button
mat-raised-button
color=
"primary"
[
type
]="'
submit
'"
[
mat-dialog-close
]="
data
"
>
{{"Confirm"|trans}}
</button>
</div>
src/app/elements/guacamole/guacamole.component.ts
View file @
20e81ee8
...
...
@@ -73,11 +73,11 @@ export class ElementGuacamoleComponent implements OnInit {
return
null
;
}
if
(
!
environment
.
production
)
{
this
.
target
=
this
.
_cookie
.
get
(
'guacamole'
);
NavList
.
List
[
this
.
index
].
Rdp
=
this
.
el
.
nativeElement
;
return
null
;
}
//
if (!environment.production) {
//
this.target = this._cookie.get('guacamole');
//
NavList.List[this.index].Rdp = this.el.nativeElement;
//
return null;
//
}
this
.
registerHost
();
}
...
...
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