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
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"
>
<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
class=
"alert alert-info"
id=
"noVNC_status"
>
</div>
...
...
@@ -41,10 +42,11 @@
});
$
(
'#sendCtrlAltDelButton'
).
click
(
function
()
{
rfb
.
sendCtrlAltDel
();
return
false
;});
$
(
'#akkount-mate'
).
click
(
function
()
{
return
false
;});
$
(
'#akkount-bd'
).
click
(
function
()
{
return
false
;});
$
(
'#sendPasswordButton'
).
click
(
function
()
{
var
pw
=
'{{instance.pw}}'
;
for
(
var
i
=
0
;
i
<
pw
.
length
;
i
++
)
{
rfb
.
sendKey
(
pw
.
charCodeAt
(
i
));
}
return
false
;});
$
(
'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