Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
noVNC
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
noVNC
Commits
8e0f0088
Commit
8e0f0088
authored
Sep 08, 2011
by
Chris Gordon
Committed by
Joel Martin
Sep 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bugs with connection panel, and moved functions into UI class.
parent
c1e8b308
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
122 additions
and
95 deletions
+122
-95
ui.js
include/ui.js
+114
-88
vnc.html
vnc.html
+8
-7
No files found.
include/ui.js
View file @
8e0f0088
This diff is collapsed.
Click to expand it.
vnc.html
View file @
8e0f0088
...
@@ -23,7 +23,8 @@
...
@@ -23,7 +23,8 @@
<!-- Stylesheets -->
<!-- Stylesheets -->
<link
rel=
"stylesheet"
href=
"include/base.css"
/>
<link
rel=
"stylesheet"
href=
"include/base.css"
/>
<link
rel=
"alternate stylesheet"
href=
"include/black.css"
TITLE=
"Black"
/>
<link
rel=
"alternate stylesheet"
href=
"include/black.css"
TITLE=
"Black"
/>
<link
rel=
"alternate stylesheet"
href=
"include/blue.css"
TITLE=
"Blue"
/>
<!-- Google web fonts -->
<!-- Google web fonts -->
<link
href=
'http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz|Nova+Square|Orbitron:400,500,700,900|Nova+Round|Nova+Mono|Nova+Slim|Nova+Oval|Nova+Flat|Nova+Cut'
rel=
'stylesheet'
type=
'text/css'
>
<link
href=
'http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz|Nova+Square|Orbitron:400,500,700,900|Nova+Round|Nova+Mono|Nova+Slim|Nova+Oval|Nova+Flat|Nova+Cut'
rel=
'stylesheet'
type=
'text/css'
>
...
@@ -58,18 +59,18 @@
...
@@ -58,18 +59,18 @@
<input
type=
"button"
class=
"noVNC_status_button"
id=
"noVNC_mouse_button1"
value=
"L"
onclick=
"UI.setMouseButton(1);"
>
<input
type=
"button"
class=
"noVNC_status_button"
id=
"noVNC_mouse_button1"
value=
"L"
onclick=
"UI.setMouseButton(1);"
>
<input
type=
"button"
class=
"noVNC_status_button"
id=
"noVNC_mouse_button2"
value=
"M"
onclick=
"UI.setMouseButton(2);"
>
<input
type=
"button"
class=
"noVNC_status_button"
id=
"noVNC_mouse_button2"
value=
"M"
onclick=
"UI.setMouseButton(2);"
>
<input
type=
"button"
class=
"noVNC_status_button"
id=
"noVNC_mouse_button4"
value=
"R"
onclick=
"UI.setMouseButton(4);"
>
<input
type=
"button"
class=
"noVNC_status_button"
id=
"noVNC_mouse_button4"
value=
"R"
onclick=
"UI.setMouseButton(4);"
>
<input
type=
"button"
class=
"noVNC_status_button"
value=
"CtrlAltDel"
id=
"sendCtrlAltDelButton"
onclick=
"UI.sendCtrlAltDel();"
>
<input
type=
"button"
id=
"showKeyboard"
onclick=
"UI.showKeyboard()"
value=
"Keyboard"
class=
"noVNC_status_button"
/>
<input
type=
"button"
id=
"showKeyboard"
onclick=
"showkeyboard()"
value=
"Keyboard"
class=
"noVNC_status_button"
/>
</span>
</span>
</nobr>
</nobr>
</div>
</div>
<!--noVNC Buttons-->
<!--noVNC Buttons-->
<div
class=
"noVNC_mobile_buttons_right"
>
<div
class=
"noVNC_mobile_buttons_right"
>
<input
type=
"button"
class=
"noVNC_status_button"
style=
"float:left;"
value=
"CtrlAltDel"
id=
"sendCtrlAltDelButton"
onclick=
"UI.sendCtrlAltDel();"
>
<input
type=
"button"
id=
"clipboardbutton"
onclick=
"UI.showClipboard();"
value=
"Clipboard"
/>
<input
type=
"button"
id=
"clipboardbutton"
onclick=
"UI.showClipboard();"
value=
"Clipboard"
/>
<input
type=
"button"
class=
"VNC_status_button"
value=
"Settings"
id=
"menuButton"
onclick=
"UI.clickSettingsMenu();"
>
<input
type=
"button"
class=
"VNC_status_button"
value=
"Settings"
id=
"menuButton"
onclick=
"UI.clickSettingsMenu();"
>
<input
type=
"button"
id=
"connectPanelbutton"
class=
"VNC_status_button"
onclick=
"
connectPanelbutton()"
value=
"Connection"
/>
<input
type=
"button"
id=
"connectPanelbutton"
class=
"VNC_status_button"
style=
"width:100px;"
onclick=
"UI.
connectPanelbutton()"
value=
"Connection"
/>
</div>
</div>
<!-- Clipboard Panel -->
<!-- Clipboard Panel -->
<div
id=
"noVNC_clipboard"
class=
"triangle-right top"
>
<div
id=
"noVNC_clipboard"
class=
"triangle-right top"
>
...
@@ -113,7 +114,7 @@
...
@@ -113,7 +114,7 @@
<li><label><strong>
Host:
</strong><input
id=
"noVNC_host"
/></label></li>
<li><label><strong>
Host:
</strong><input
id=
"noVNC_host"
/></label></li>
<li><label><strong>
Port:
</strong><input
id=
"noVNC_port"
/></label></li>
<li><label><strong>
Port:
</strong><input
id=
"noVNC_port"
/></label></li>
<li><label><strong>
Password:
</strong><input
id=
"noVNC_password"
type=
"password"
/></label></li>
<li><label><strong>
Password:
</strong><input
id=
"noVNC_password"
type=
"password"
/></label></li>
<li><input
id=
"noVNC_connect_button"
type=
"button"
value=
"
Loading"
disabled
></li>
<li><input
id=
"noVNC_connect_button"
type=
"button"
value=
"
Connect"
onclick=
"UI.connect();"
></li>
</ul>
</ul>
</div>
</div>
...
@@ -130,7 +131,7 @@
...
@@ -130,7 +131,7 @@
Canvas not supported.
Canvas not supported.
</canvas>
</canvas>
<input
id=
"keyboardinput"
style=
"width:0px;height:0px;background-color:#313131;"
type=
"text"
onKeyDown=
"onKeyDown(event);"
/>
<input
id=
"keyboardinput"
type=
"text"
onKeyDown=
"onKeyDown(event);"
/>
</div>
</div>
<script>
<script>
...
...
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