Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
191f0b0b
authored
Feb 11, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: add type password button to console
parent
37470325
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
circle/dashboard/templates/dashboard/vm-detail/console.html
+6
-4
No files found.
circle/dashboard/templates/dashboard/vm-detail/console.html
View file @
191f0b0b
<div
class=
"btn-toolbar"
>
<div
class=
"btn-toolbar"
>
<button
id=
"sendCtrlAltDelButton"
class=
"btn btn-danger small"
href=
"#"
>
Send CtrlAltDel
</button>
<button
id=
"sendCtrlAltDelButton"
class=
"btn btn-danger small"
href=
"#"
>
Send CtrlAltDel
</button>
<button
id=
"sendPasswordButton"
class=
"btn btn-default small"
href=
"#"
>
Type password
</button>
</div>
</div>
<div
class=
"alert alert-info"
id=
"noVNC_status"
>
<div
class=
"alert alert-info"
id=
"noVNC_status"
>
</div>
</div>
...
@@ -41,10 +42,11 @@
...
@@ -41,10 +42,11 @@
});
});
$
(
'#sendCtrlAltDelButton'
).
click
(
function
()
{
$
(
'#sendCtrlAltDelButton'
).
click
(
function
()
{
rfb
.
sendCtrlAltDel
();
return
false
;});
rfb
.
sendCtrlAltDel
();
return
false
;});
$
(
'#akkount-mate'
).
click
(
function
()
{
$
(
'#sendPasswordButton'
).
click
(
function
()
{
return
false
;});
var
pw
=
'{{instance.pw}}'
;
$
(
'#akkount-bd'
).
click
(
function
()
{
for
(
var
i
=
0
;
i
<
pw
.
length
;
i
++
)
{
return
false
;});
rfb
.
sendKey
(
pw
.
charCodeAt
(
i
));
}
return
false
;});
$
(
'a[href$="console"]'
).
click
(
function
()
{
$
(
'a[href$="console"]'
).
click
(
function
()
{
...
...
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