Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
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
jumpserver
Commits
e9212d5c
Commit
e9212d5c
authored
Jan 04, 2016
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix普通用户大小修改
parent
bc2345ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
asset_cu_list.html
templates/jasset/asset_cu_list.html
+13
-1
No files found.
templates/jasset/asset_cu_list.html
View file @
e9212d5c
...
...
@@ -224,6 +224,7 @@
}
else
if
(
dataArray
.
length
==
1
&&
data
!=
'error'
&&
navigator
.
platform
==
'Win32'
){
var
title
=
'Jumpserver Web Terminal'
+
'<span class="text-info"> '
+
hostname
+
'</span>'
;
/*
layer.open({
type: 2,
title: title,
...
...
@@ -232,8 +233,11 @@
area: ['628px', '420px'],
content: new_url+data
});
*/
window
.
open
(
new_url
+
data
,
''
,
'width=628px, height=420px'
);
}
else
if
(
dataArray
.
length
==
1
&&
data
!=
'error'
){
layer
.
open
({
/*
layer.open({
type: 2,
title: title,
maxmin: true,
...
...
@@ -241,6 +245,8 @@
area: ['628px', '452px'],
content: new_url+data
});
*/
window
.
open
(
new_url
+
data
,
''
,
'width=628px, height=452px'
)
}
else
{
aUrl
=
''
;
...
...
@@ -266,6 +272,7 @@
var
hostname
=
$
(
a
).
attr
(
'value'
);
var
title
=
'Jumpserver Web Terminal - '
+
'<span class="text-info"> '
+
hostname
+
'</span>'
;
if
(
navigator
.
platform
==
'Win32'
){
/*
layer.open({
type: 2,
title: title,
...
...
@@ -274,8 +281,11 @@
shade: false,
content: new_url
});
*/
window
.
open
(
new_url
+
data
,
''
,
'width=628px, height=420px'
);
}
else
{
/*
layer.open({
type: 2,
title: title,
...
...
@@ -284,6 +294,8 @@
shade: false,
content: new_url
});
*/
window
.
open
(
new_url
+
data
,
''
,
'width=628px, height=452px'
);
}
return
false
...
...
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