Pierre Ossman
13304bacd0
Group rarely changed settings together
2017-01-04 15:05:01 +01:00
Pierre Ossman
575f69832d
Group WebSocket settings together
...
It was easy to confuse them as being VNC settings, so keep them all
under one group.
2017-01-04 15:05:01 +01:00
Pierre Ossman
340d9d66cc
Remove alternative style sheets
...
Anyone with basic knowledge of CSS will easily figure out how to
customise the appearance of the UI, so remove the burden of having
to maintain these extra style sheets.
2017-01-04 15:05:01 +01:00
Pierre Ossman
58fc267b2b
Remove unused token setting
2017-01-04 15:05:01 +01:00
Samuel Mannehed
d8ff7c9ed6
Further fixes for fallback error handler
...
Layout improvements as well as an check for ErrorEvent.error as it is
not standardized.
2016-11-28 12:33:42 +01:00
Pierre Ossman
edffd9e2f8
Also translate HTML elements
2016-11-19 13:23:00 +01:00
Samuel Mannehed
d24de750b1
Add fallback handling for uncought errors
2016-11-10 14:33:23 +01:00
Pierre Ossman
8d710e8b18
Blocking transition screen when connecting/disconnecting
2016-11-08 14:54:48 +01:00
Pierre Ossman
1351544e9f
Remove iOS startup image
...
Apple seems to have removed this feature from iOS 9.
2016-10-14 15:46:08 +02:00
Pierre Ossman
2b4e6ed523
Clean up page icon ("favicon") handling
...
Makes sure we use standardised formats and references, and makes sure
we have all the sizes we might need.
2016-10-14 13:24:35 +02:00
Solly Ross
ca99791caa
Merge pull request #665 from CendioOssman/bell
...
Support RFB bell
2016-09-30 19:37:09 -04:00
Samuel Mannehed
667a83e65a
Merge branch 'toolbar' of https://github.com/CendioOssman/noVNC
2016-09-30 21:36:00 +02:00
Samuel Mannehed
86c67404c9
Remove spaces from clipboard element
2016-09-27 16:06:16 +02:00
Pierre Ossman
5454c34511
Add headings to panels
2016-09-23 14:39:22 +02:00
Pierre Ossman
1fe9faee6c
Clean up panel layouts
...
Make sure everything follows a consistent style and is properly
labeled.
2016-09-23 14:39:21 +02:00
Pierre Ossman
ca25d2ae26
Move Ctrl+Alt+Del to extra keys menu
...
The extra keys menu is now present for all devices, so avoid clutter
by moving the Ctrl+Alt+Del button there as well.
2016-09-23 14:39:21 +02:00
Pierre Ossman
cd5a035d90
Make sure all buttons have a tooltip
2016-09-23 14:39:21 +02:00
Pierre Ossman
65e3d7d6a6
Make control bar handle easier to hit on mobile
2016-09-23 14:39:21 +02:00
Pierre Ossman
38323d4d92
Add handle to open and close the control bar
2016-09-23 14:39:21 +02:00
Pierre Ossman
4d3aa0ef9d
Add logo to control bar
2016-09-23 14:39:21 +02:00
Pierre Ossman
fb7c3b3be2
Change control bar to a smaller left-side toolbar
2016-09-23 14:39:21 +02:00
Pierre Ossman
6244e383e4
Let CSS update UI for touch and connected state
...
Avoid a lot of JavaScript code that can easily be handed using
style sheets instead, specifically items that should only be shown
when on a touch device, or items that depend on the connected state.
2016-09-23 14:39:21 +02:00
Pierre Ossman
8434cc81b3
Make status dialog independent of control bar
2016-09-23 14:39:21 +02:00
Pierre Ossman
ebbec43a6b
Enable extra keys for all devices
...
Manual special keys can be useful on all devices, so stop restricting
it to just touch devices.
2016-09-23 14:39:21 +02:00
Pierre Ossman
d616c9226c
Merge control bar sections
...
There is no status information in the centre anymore, so merge
the left and right sections of the control bar.
2016-09-23 14:39:21 +02:00
Samuel Mannehed
8a7ec6ea19
Add a separate dialog for the password prompt
...
The user might be queried for the password during the connect stage
if no password was previously provided. Add a separate dialog for
this rather than abusing the connect dialog.
2016-09-23 14:39:21 +02:00
Pierre Ossman
c8d4402f58
Move touch text input out of control bar
...
It has nothing to do with the control bar, so hide it somewhere
more sensible.
2016-09-23 14:39:21 +02:00
Pierre Ossman
79fd3b1fcf
Apply CSS style to input elements
...
Different browsers have wildly different defaults for input elements.
Try to get a consistent interface by applying our own style.
2016-09-23 14:39:21 +02:00
Pierre Ossman
8bf688265d
Replace icons with SVG versions
...
Resolution independent for high DPI devices, and easier to modify
if we want to change something.
2016-09-23 14:22:19 +02:00
samhed
ca5c74ad5a
Show all status messages in a popup top bar
2016-09-23 14:22:16 +02:00
Pierre Ossman
63bf2ba578
Support RFB bell
...
The protocol handling was already there. What was missing was
hooking it up to a sound file in the user interface.
2016-09-22 11:15:42 +02:00
samhed
a49d929846
Harmonise CSS names
...
Follow the same naming convention for all CSS ids and classes.
2016-09-20 15:36:38 +02:00
Pierre Ossman
e40978c7fc
Let CSS control what it means to be hidden/closed
...
This avoids hard-coding layout information in the JavaScript code.
It also opens up possibilities for more control in the CSS, e.g. for
animation.
2016-09-20 14:32:57 +02:00
Pierre Ossman
6cba147d4e
Simplify modifier button display
2016-09-19 16:27:55 +02:00
samhed
eeb395dc91
Remove unnecessary span:s
...
They were probably also incorrect to have around block elements
anyway.
2016-09-19 16:24:39 +02:00
samhed
286947cbe2
Fix name for panel CSS class
2016-09-19 16:24:39 +02:00
samhed
f9fff03719
Remove unused description
2016-09-19 16:24:39 +02:00
samhed
3911256cff
Place related elements together
...
In order to clarify the HTML we group related panels together with
the corresponding buttons.
2016-09-19 15:27:21 +02:00
Solly Ross
72bdd06ea2
Clean up Util
...
This commit removes unused code from Util, and moves the script-loading
functionality to WebUtil.
2016-09-16 15:49:52 -04:00
Solly Ross
ae510306b5
Enable noVNC to become Browserifiable
...
This commit restructures noVNC, splitting it into the core directory
and the app directory, with the former containing core noVNC parts,
and the latter containing parts specific to the application.
2016-09-16 15:49:51 -04:00
Samuel Mannehed
a1dbbcc1a7
Consistent closing tags for void elements
2016-05-27 16:14:25 +02:00
Samuel Mannehed
3f2c25a60f
Use a consistent naming convention for elements
...
* Element names we use "_" as word-delimiter, not "-"
* Element names use less camel-case
* Element names end with the type
* Element names always start with noVNC_
2016-05-27 16:14:25 +02:00
Samuel Mannehed
682fd02be6
Change the names of settings-elements
...
This change was made in order to make it easier to distinguish
settings-elements from other elements. One example of the problem
that was solved is the two elements "noVNC_clip" and
"noVNC_clipboard" where the first is the setting for clipping mode.
That element was now renamed to "noVNC_setting_clip".
2016-05-27 16:12:32 +02:00
samhed
cd611a5326
Renamed showExtraKeys to toggleExtraKeys
2016-05-12 16:56:50 +02:00
samhed
553864e858
Switch names between the container and the screen
...
The noVNC_container now contains the logo and the screen. While the
noVNC_screen in turn contains the canvas.
2016-05-12 16:56:49 +02:00
Miguel Xavier Penha Neto
c55f05f619
Pass token into the path variable
...
If a token is already present in the path, the new variable
is ignored. In order to properly manipulate the path,
a new method, `WebUtil.injectParamIfMissing` was introduced.
Fixes #536
[@directxman12: fix up path manipulation logic]
2016-01-06 15:56:28 -05:00
Ganesh Varadarajan
494b407a0a
Add hash fragment as an optional method to supply config variables.
...
Any config variable like host, port, password, token may be
specified either in the query string (like now), or in the URL hash
fragment. In case a given variable is present in both, the value in the
fragment takes precedence. Supplying variables in the fragment avoids
leaking them to the web server hosting the noVNC viewer HTML.
2015-10-23 18:54:08 +05:30
samhed
7d1dc09ad0
Fixes #498 - Add the ability to toggle fullscreen mode
2015-06-25 22:37:05 +02:00
samhed
74f2ac968d
Renamed popupStatusPanel to popupStatus and removed the global variable
...
which kept track on if it was open or not (it automatically closes after
1.5 seconds anyway).
2015-06-25 17:04:55 +02:00
Fabian Zaremba
48d26b2d47
Move #keyboardinput declarations to base.css/ui.js
2015-05-04 12:11:30 +02:00