Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
ae8aeb57
authored
Nov 03, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix novnc
parent
7074f30d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
circle/circle/settings/base.py
+2
-0
circle/dashboard/static/dashboard/vm-console.js
+5
-5
No files found.
circle/circle/settings/base.py
View file @
ae8aeb57
...
@@ -233,6 +233,8 @@ PIPELINE_JS = {
...
@@ -233,6 +233,8 @@ PIPELINE_JS = {
"no-vnc/include/base64.js"
,
"no-vnc/include/base64.js"
,
"no-vnc/include/websock.js"
,
"no-vnc/include/websock.js"
,
"no-vnc/include/des.js"
,
"no-vnc/include/des.js"
,
"no-vnc/include/keysym.js"
,
"no-vnc/include/keysymdef.js"
,
"no-vnc/include/keyboard.js"
,
"no-vnc/include/keyboard.js"
,
"no-vnc/include/input.js"
,
"no-vnc/include/input.js"
,
"no-vnc/include/display.js"
,
"no-vnc/include/display.js"
,
...
...
circle/dashboard/static/dashboard/vm-console.js
View file @
ae8aeb57
...
@@ -20,7 +20,7 @@ $(function() {
...
@@ -20,7 +20,7 @@ $(function() {
rfb
=
0
;
rfb
=
0
;
}
}
$
(
"#vm-info-pane"
).
fadeIn
();
$
(
"#vm-info-pane"
).
fadeIn
();
$
(
"#vm-detail-pane"
).
removeClass
(
"col-md-12"
);
$
(
"#vm-detail-pane"
).
removeClass
(
"col-md-12"
)
.
addClass
(
"col-md-8"
)
;
});
});
$
(
'#sendCtrlAltDelButton'
).
click
(
function
()
{
$
(
'#sendCtrlAltDelButton'
).
click
(
function
()
{
rfb
.
sendCtrlAltDel
();
return
false
;});
rfb
.
sendCtrlAltDel
();
return
false
;});
...
@@ -35,7 +35,7 @@ $(function() {
...
@@ -35,7 +35,7 @@ $(function() {
var
host
,
port
,
password
,
path
;
var
host
,
port
,
password
,
path
;
$
(
"#vm-info-pane"
).
hide
();
$
(
"#vm-info-pane"
).
hide
();
$
(
"#vm-detail-pane"
).
addClass
(
"col-md-12"
);
$
(
"#vm-detail-pane"
).
removeClass
(
"col-md-8"
).
addClass
(
"col-md-12"
);
WebUtil
.
init_logging
(
'warn'
);
WebUtil
.
init_logging
(
'warn'
);
host
=
window
.
location
.
hostname
;
host
=
window
.
location
.
hostname
;
...
@@ -58,13 +58,13 @@ $(function() {
...
@@ -58,13 +58,13 @@ $(function() {
'local_cursor'
:
true
,
'local_cursor'
:
true
,
'shared'
:
true
,
'shared'
:
true
,
'view_only'
:
false
,
'view_only'
:
false
,
'
u
pdateState'
:
updateState
});
'
onU
pdateState'
:
updateState
});
rfb
.
connect
(
host
,
port
,
password
,
data
);
rfb
.
connect
(
host
,
port
,
password
,
data
);
}
}
}).
fail
(
function
(){
}).
fail
(
function
(){
$
(
'#noVNC_status'
).
html
(
"Can't connect to console."
);
$
(
'#noVNC_status'
).
html
(
"Can't connect to console."
);
});
});
});
});
if
(
window
.
location
.
hash
==
"#console"
)
if
(
window
.
location
.
hash
==
=
"#console"
)
window
.
onscriptsload
=
function
(){
$
(
'a[href$="console"]'
).
click
();}
;
$
(
'a[href$="console"]'
).
trigger
(
"click"
)
;
});
});
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