diff --git a/.github/linters/.hadolint.yaml b/.github/linters/.hadolint.yaml deleted file mode 100644 index 79bdabbe..00000000 --- a/.github/linters/.hadolint.yaml +++ /dev/null @@ -1,5 +0,0 @@ -ignored: - - DL3008 - - DL3013 - - DL3042 - - SC1091 diff --git a/instances/fixtures/initial_data.json b/instances/fixtures/initial_data.json deleted file mode 100644 index d5d17b03..00000000 --- a/instances/fixtures/initial_data.json +++ /dev/null @@ -1,62 +0,0 @@ -[ - { - "model": "create.Flavor", - "pk": 1, - "fields": { - "label": "micro", - "vcpu": "1", - "memory": "512", - "disk": "20" - } - }, - { - "model": "create.Flavor", - "pk": 2, - "fields": { - "label": "mini", - "vcpu": "2", - "memory": "1024", - "disk": "30" - } - }, - { - "model": "create.Flavor", - "pk": 3, - "fields": { - "label": "small", - "vcpu": "2", - "memory": "2048", - "disk": "40" - } - }, - { - "model": "create.Flavor", - "pk": 4, - "fields": { - "label": "medium", - "vcpu": "2", - "memory": "4096", - "disk": "60" - } - }, - { - "model": "create.Flavor", - "pk": 5, - "fields": { - "label": "large", - "vcpu": "4", - "memory": "8192", - "disk": "80" - } - }, - { - "model": "create.Flavor", - "pk": 6, - "fields": { - "label": "xlarge", - "vcpu": "8", - "memory": "16384", - "disk": "160" - } - } -] \ No newline at end of file diff --git a/instances/templatetags/tags_active.py b/instances/templatetags/tags_active.py deleted file mode 100644 index 27451479..00000000 --- a/instances/templatetags/tags_active.py +++ /dev/null @@ -1,12 +0,0 @@ -import re - -from django import template - -register = template.Library() - - -@register.simple_tag -def class_active(request, pattern): - if re.search(pattern, request.path): - return "active" - return '' diff --git a/static/icon_cache/arrow-right_None_None_None.svg b/static/icon_cache/arrow-right_None_None_None.svg deleted file mode 100644 index fe597030..00000000 --- a/static/icon_cache/arrow-right_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/arrows-angle-expand_2em_None_None.svg b/static/icon_cache/arrows-angle-expand_2em_None_None.svg deleted file mode 100644 index 890606a8..00000000 --- a/static/icon_cache/arrows-angle-expand_2em_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/bar-chart-line_2em_None_None.svg b/static/icon_cache/bar-chart-line_2em_None_None.svg deleted file mode 100644 index 60ddfdb5..00000000 --- a/static/icon_cache/bar-chart-line_2em_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/broadcast_1em_None_None.svg b/static/icon_cache/broadcast_1em_None_None.svg deleted file mode 100644 index 9f600cd4..00000000 --- a/static/icon_cache/broadcast_1em_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/camera_2em_None_None.svg b/static/icon_cache/camera_2em_None_None.svg deleted file mode 100644 index 83e1c458..00000000 --- a/static/icon_cache/camera_2em_None_None.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/static/icon_cache/caret-down_None_None_None.svg b/static/icon_cache/caret-down_None_None_None.svg deleted file mode 100644 index 6164603a..00000000 --- a/static/icon_cache/caret-down_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/check-circle-fill_None_None_None.svg b/static/icon_cache/check-circle-fill_None_None_None.svg deleted file mode 100644 index 857ee1b8..00000000 --- a/static/icon_cache/check-circle-fill_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/check2_None_None_None.svg b/static/icon_cache/check2_None_None_None.svg deleted file mode 100644 index 3c51cb41..00000000 --- a/static/icon_cache/check2_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/check_None_None_None.svg b/static/icon_cache/check_None_None_None.svg deleted file mode 100644 index 532759f4..00000000 --- a/static/icon_cache/check_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/chevron-down_None_None_None.svg b/static/icon_cache/chevron-down_None_None_None.svg deleted file mode 100644 index 1febde00..00000000 --- a/static/icon_cache/chevron-down_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/chevron-up_None_None_None.svg b/static/icon_cache/chevron-up_None_None_None.svg deleted file mode 100644 index 33dc9463..00000000 --- a/static/icon_cache/chevron-up_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/eye-fill_None_None_None.svg b/static/icon_cache/eye-fill_None_None_None.svg deleted file mode 100644 index b6970524..00000000 --- a/static/icon_cache/eye-fill_None_None_None.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/static/icon_cache/gear-wide-connected_2em_None_None.svg b/static/icon_cache/gear-wide-connected_2em_None_None.svg deleted file mode 100644 index 87723611..00000000 --- a/static/icon_cache/gear-wide-connected_2em_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/info_None_None_None.svg b/static/icon_cache/info_None_None_None.svg deleted file mode 100644 index c525f616..00000000 --- a/static/icon_cache/info_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/lock_2em_None_None.svg b/static/icon_cache/lock_2em_None_None.svg deleted file mode 100644 index 557da1af..00000000 --- a/static/icon_cache/lock_2em_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/pencil-fill_None_None_None.svg b/static/icon_cache/pencil-fill_None_None_None.svg deleted file mode 100644 index 7e1abbcd..00000000 --- a/static/icon_cache/pencil-fill_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/pencil-square_None_None_None.svg b/static/icon_cache/pencil-square_None_None_None.svg deleted file mode 100644 index c30e8213..00000000 --- a/static/icon_cache/pencil-square_None_None_None.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/static/icon_cache/power_2em_None_None.svg b/static/icon_cache/power_2em_None_None.svg deleted file mode 100644 index 39dc042a..00000000 --- a/static/icon_cache/power_2em_None_None.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/static/icon_cache/save_None_None_None.svg b/static/icon_cache/save_None_None_None.svg deleted file mode 100644 index e05d1980..00000000 --- a/static/icon_cache/save_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/trash-fill_None_None_None.svg b/static/icon_cache/trash-fill_None_None_None.svg deleted file mode 100644 index adc4933b..00000000 --- a/static/icon_cache/trash-fill_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/trash_2em_None_None.svg b/static/icon_cache/trash_2em_None_None.svg deleted file mode 100644 index 46050347..00000000 --- a/static/icon_cache/trash_2em_None_None.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/static/icon_cache/x-circle-fill_None_None_None.svg b/static/icon_cache/x-circle-fill_None_None_None.svg deleted file mode 100644 index 1975b765..00000000 --- a/static/icon_cache/x-circle-fill_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/x-square-fill_None_None_None.svg b/static/icon_cache/x-square-fill_None_None_None.svg deleted file mode 100644 index f7a25c76..00000000 --- a/static/icon_cache/x-square-fill_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/icon_cache/x_None_None_None.svg b/static/icon_cache/x_None_None_None.svg deleted file mode 100644 index 36defd79..00000000 --- a/static/icon_cache/x_None_None_None.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/static/js/ace/ext-textarea.js b/static/js/ace/ext-textarea.js deleted file mode 100644 index f1ef7441..00000000 --- a/static/js/ace/ext-textarea.js +++ /dev/null @@ -1,8 +0,0 @@ -define("ace/ext/textarea",["require","exports","module","ace/ext/textarea","ace/lib/event","ace/lib/useragent","ace/ace"],function(e,t,n){"use strict";function u(e,t){for(var n in t)e.style[n]=t[n]}function a(e,t){if(e.type!="textarea")throw new Error("Textarea required!");var n=e.parentNode,i=document.createElement("div"),s=function(){var t="position:relative;";["margin-top","margin-left","margin-right","margin-bottom"].forEach(function(n){t+=n+":"+o(e,i,n)+";"});var n=o(e,i,"width")||e.clientWidth+"px",r=o(e,i,"height")||e.clientHeight+"px";t+="height:"+r+";width:"+n+";",t+="display:inline-block;",i.style.cssText=t};r.addListener(window,"resize",s),s(),n.insertBefore(i,e.nextSibling);while(n!==document){if(n.tagName.toUpperCase()==="FORM"){var u=n.onsubmit;n.onsubmit=function(n){e.value=t(),u&&u.call(this,n)};break}n=n.parentNode}return i}function f(e,t,n,r,i){function s(e){return e==="true"||e==1}return e.setDisplaySettings=function(t){t==null&&(t=n.style.display=="none"),t?(n.style.display="block",n.hideButton.focus(),e.on("focus",function r(){e.removeListener("focus",r),n.style.display="none"})):e.focus()},e.$setOption=e.setOption,e.$getOption=e.getOption,e.setOption=function(t,n){switch(t){case"mode":e.$setOption("mode","ace/mode/"+n);break;case"theme":e.$setOption("theme","ace/theme/"+n);break;case"keybindings":switch(n){case"vim":e.setKeyboardHandler("ace/keyboard/vim");break;case"emacs":e.setKeyboardHandler("ace/keyboard/emacs");break;default:e.setKeyboardHandler(null)}break;case"wrap":case"fontSize":e.$setOption(t,n);break;default:e.$setOption(t,s(n))}},e.getOption=function(t){switch(t){case"mode":return e.$getOption("mode").substr("ace/mode/".length);case"theme":return e.$getOption("theme").substr("ace/theme/".length);case"keybindings":var n=e.getKeyboardHandler();switch(n&&n.$id){case"ace/keyboard/vim":return"vim";case"ace/keyboard/emacs":return"emacs";default:return"ace"}break;default:return e.$getOption(t)}},e.setOptions(i),e}function l(e,n,i){function f(e,t,n,r){if(!n){e.push("");return}e.push("")}var s=null,o={mode:"Mode:",wrap:"Soft Wrap:",theme:"Theme:",fontSize:"Font Size:",showGutter:"Display Gutter:",keybindings:"Keyboard",showPrintMargin:"Show Print Margin:",useSoftTabs:"Use Soft Tabs:",showInvisibles:"Show Invisibles"},u={mode:{text:"Plain",javascript:"JavaScript",xml:"XML",html:"HTML",css:"CSS",scss:"SCSS",python:"Python",php:"PHP",java:"Java",ruby:"Ruby",c_cpp:"C/C++",coffee:"CoffeeScript",json:"json",perl:"Perl",clojure:"Clojure",ocaml:"OCaml",csharp:"C#",haxe:"haXe",svg:"SVG",textile:"Textile",groovy:"Groovy",liquid:"Liquid",Scala:"Scala"},theme:{clouds:"Clouds",clouds_midnight:"Clouds Midnight",cobalt:"Cobalt",crimson_editor:"Crimson Editor",dawn:"Dawn",gob:"Green on Black",eclipse:"Eclipse",idle_fingers:"Idle Fingers",kr_theme:"Kr Theme",merbivore:"Merbivore",merbivore_soft:"Merbivore Soft",mono_industrial:"Mono Industrial",monokai:"Monokai",pastel_on_dark:"Pastel On Dark",solarized_dark:"Solarized Dark",solarized_light:"Solarized Light",textmate:"Textmate",twilight:"Twilight",vibrant_ink:"Vibrant Ink"},showGutter:s,fontSize:{"10px":"10px","11px":"11px","12px":"12px","14px":"14px","16px":"16px"},wrap:{off:"Off",40:"40",80:"80",free:"Free"},keybindings:{ace:"ace",vim:"vim",emacs:"emacs"},showPrintMargin:s,useSoftTabs:s,showInvisibles:s},a=[];a.push("");for(var l in t.defaultOptions)a.push(""),a.push("");a.push("
SettingValue
",o[l],""),f(a,l,u[l],i.getOption(l)),a.push("
"),e.innerHTML=a.join("");var c=function(e){var t=e.currentTarget;i.setOption(t.title,t.value)},h=function(e){var t=e.currentTarget;i.setOption(t.title,t.checked)},p=e.getElementsByTagName("select");for(var d=0;d { - elem.setAttribute("tabindex", "-1"); - }); - } catch (exc) { - // Do nothing - } - - // Don't return true since this would prevent the error - // from being printed to the browser console. - return false; -} - -window.addEventListener('error', evt => handleError(evt, evt.error)); -window.addEventListener('unhandledrejection', evt => handleError(evt.reason, evt.reason)); diff --git a/static/js/novnc/app/images/alt.svg b/static/js/novnc/app/images/alt.svg deleted file mode 100644 index e5bb4612..00000000 --- a/static/js/novnc/app/images/alt.svg +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - diff --git a/static/js/novnc/app/images/clipboard.svg b/static/js/novnc/app/images/clipboard.svg deleted file mode 100644 index 79af2752..00000000 --- a/static/js/novnc/app/images/clipboard.svg +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - diff --git a/static/js/novnc/app/images/connect.svg b/static/js/novnc/app/images/connect.svg deleted file mode 100644 index 56cde414..00000000 --- a/static/js/novnc/app/images/connect.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - diff --git a/static/js/novnc/app/images/ctrl.svg b/static/js/novnc/app/images/ctrl.svg deleted file mode 100644 index 856e9395..00000000 --- a/static/js/novnc/app/images/ctrl.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - diff --git a/static/js/novnc/app/images/ctrlaltdel.svg b/static/js/novnc/app/images/ctrlaltdel.svg deleted file mode 100644 index d7744ea3..00000000 --- a/static/js/novnc/app/images/ctrlaltdel.svg +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/static/js/novnc/app/images/disconnect.svg b/static/js/novnc/app/images/disconnect.svg deleted file mode 100644 index 6be7d187..00000000 --- a/static/js/novnc/app/images/disconnect.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/static/js/novnc/app/images/drag.svg b/static/js/novnc/app/images/drag.svg deleted file mode 100644 index 139caf94..00000000 --- a/static/js/novnc/app/images/drag.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/static/js/novnc/app/images/error.svg b/static/js/novnc/app/images/error.svg deleted file mode 100644 index 8356d3f1..00000000 --- a/static/js/novnc/app/images/error.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/static/js/novnc/app/images/esc.svg b/static/js/novnc/app/images/esc.svg deleted file mode 100644 index 830152b5..00000000 --- a/static/js/novnc/app/images/esc.svg +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - diff --git a/static/js/novnc/app/images/expander.svg b/static/js/novnc/app/images/expander.svg deleted file mode 100644 index e1635358..00000000 --- a/static/js/novnc/app/images/expander.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/static/js/novnc/app/images/fullscreen.svg b/static/js/novnc/app/images/fullscreen.svg deleted file mode 100644 index 29bd05da..00000000 --- a/static/js/novnc/app/images/fullscreen.svg +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/static/js/novnc/app/images/handle.svg b/static/js/novnc/app/images/handle.svg deleted file mode 100644 index 4a7a126f..00000000 --- a/static/js/novnc/app/images/handle.svg +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/static/js/novnc/app/images/handle_bg.svg b/static/js/novnc/app/images/handle_bg.svg deleted file mode 100644 index 7579c42c..00000000 --- a/static/js/novnc/app/images/handle_bg.svg +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - diff --git a/static/js/novnc/app/images/icons/Makefile b/static/js/novnc/app/images/icons/Makefile deleted file mode 100644 index 03eaed07..00000000 --- a/static/js/novnc/app/images/icons/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -BROWSER_SIZES := 16 24 32 48 64 -#ANDROID_SIZES := 72 96 144 192 -# FIXME: The ICO is limited to 8 icons due to a Chrome bug: -# https://bugs.chromium.org/p/chromium/issues/detail?id=1381393 -ANDROID_SIZES := 96 144 192 -WEB_ICON_SIZES := $(BROWSER_SIZES) $(ANDROID_SIZES) - -#IOS_1X_SIZES := 20 29 40 76 # No such devices exist anymore -IOS_2X_SIZES := 40 58 80 120 152 167 -IOS_3X_SIZES := 60 87 120 180 -ALL_IOS_SIZES := $(IOS_1X_SIZES) $(IOS_2X_SIZES) $(IOS_3X_SIZES) - -ALL_ICONS := \ - $(ALL_IOS_SIZES:%=novnc-ios-%.png) \ - novnc.ico - -all: $(ALL_ICONS) - -# Our testing shows that the ICO file need to be sorted in largest to -# smallest to get the apporpriate behviour -WEB_ICON_SIZES_REVERSE := $(shell echo $(WEB_ICON_SIZES) | tr ' ' '\n' | sort -nr | tr '\n' ' ') -WEB_BASE_ICONS := $(WEB_ICON_SIZES_REVERSE:%=novnc-%.png) -.INTERMEDIATE: $(WEB_BASE_ICONS) - -novnc.ico: $(WEB_BASE_ICONS) - convert $(WEB_BASE_ICONS) "$@" - -# General conversion -novnc-%.png: novnc-icon.svg - convert -depth 8 -background transparent \ - -size $*x$* "$(lastword $^)" "$@" - -# iOS icons use their own SVG -novnc-ios-%.png: novnc-ios-icon.svg - convert -depth 8 -background transparent \ - -size $*x$* "$(lastword $^)" "$@" - -# The smallest sizes are generated using a different SVG -novnc-16.png novnc-24.png novnc-32.png: novnc-icon-sm.svg - -clean: - rm -f *.png diff --git a/static/js/novnc/app/images/icons/novnc-icon-sm.svg b/static/js/novnc/app/images/icons/novnc-icon-sm.svg deleted file mode 100644 index aa1c6f18..00000000 --- a/static/js/novnc/app/images/icons/novnc-icon-sm.svg +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/static/js/novnc/app/images/icons/novnc-icon.svg b/static/js/novnc/app/images/icons/novnc-icon.svg deleted file mode 100644 index 1efff912..00000000 --- a/static/js/novnc/app/images/icons/novnc-icon.svg +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/static/js/novnc/app/images/icons/novnc-ios-120.png b/static/js/novnc/app/images/icons/novnc-ios-120.png deleted file mode 100644 index 8da7bab3..00000000 Binary files a/static/js/novnc/app/images/icons/novnc-ios-120.png and /dev/null differ diff --git a/static/js/novnc/app/images/icons/novnc-ios-152.png b/static/js/novnc/app/images/icons/novnc-ios-152.png deleted file mode 100644 index 60b2bcef..00000000 Binary files a/static/js/novnc/app/images/icons/novnc-ios-152.png and /dev/null differ diff --git a/static/js/novnc/app/images/icons/novnc-ios-167.png b/static/js/novnc/app/images/icons/novnc-ios-167.png deleted file mode 100644 index 98fade2e..00000000 Binary files a/static/js/novnc/app/images/icons/novnc-ios-167.png and /dev/null differ diff --git a/static/js/novnc/app/images/icons/novnc-ios-180.png b/static/js/novnc/app/images/icons/novnc-ios-180.png deleted file mode 100644 index 5d24df70..00000000 Binary files a/static/js/novnc/app/images/icons/novnc-ios-180.png and /dev/null differ diff --git a/static/js/novnc/app/images/icons/novnc-ios-40.png b/static/js/novnc/app/images/icons/novnc-ios-40.png deleted file mode 100644 index cf14894d..00000000 Binary files a/static/js/novnc/app/images/icons/novnc-ios-40.png and /dev/null differ diff --git a/static/js/novnc/app/images/icons/novnc-ios-58.png b/static/js/novnc/app/images/icons/novnc-ios-58.png deleted file mode 100644 index f6dfbebd..00000000 Binary files a/static/js/novnc/app/images/icons/novnc-ios-58.png and /dev/null differ diff --git a/static/js/novnc/app/images/icons/novnc-ios-60.png b/static/js/novnc/app/images/icons/novnc-ios-60.png deleted file mode 100644 index 8cda2953..00000000 Binary files a/static/js/novnc/app/images/icons/novnc-ios-60.png and /dev/null differ diff --git a/static/js/novnc/app/images/icons/novnc-ios-80.png b/static/js/novnc/app/images/icons/novnc-ios-80.png deleted file mode 100644 index 6c417c47..00000000 Binary files a/static/js/novnc/app/images/icons/novnc-ios-80.png and /dev/null differ diff --git a/static/js/novnc/app/images/icons/novnc-ios-87.png b/static/js/novnc/app/images/icons/novnc-ios-87.png deleted file mode 100644 index 4377d874..00000000 Binary files a/static/js/novnc/app/images/icons/novnc-ios-87.png and /dev/null differ diff --git a/static/js/novnc/app/images/icons/novnc-ios-icon.svg b/static/js/novnc/app/images/icons/novnc-ios-icon.svg deleted file mode 100644 index 009452ac..00000000 --- a/static/js/novnc/app/images/icons/novnc-ios-icon.svg +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/static/js/novnc/app/images/icons/novnc.ico b/static/js/novnc/app/images/icons/novnc.ico deleted file mode 100644 index c3bc58e3..00000000 Binary files a/static/js/novnc/app/images/icons/novnc.ico and /dev/null differ diff --git a/static/js/novnc/app/images/info.svg b/static/js/novnc/app/images/info.svg deleted file mode 100644 index 557b772f..00000000 --- a/static/js/novnc/app/images/info.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/static/js/novnc/app/images/keyboard.svg b/static/js/novnc/app/images/keyboard.svg deleted file mode 100644 index 137b350a..00000000 --- a/static/js/novnc/app/images/keyboard.svg +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - diff --git a/static/js/novnc/app/images/power.svg b/static/js/novnc/app/images/power.svg deleted file mode 100644 index 4925d3e8..00000000 --- a/static/js/novnc/app/images/power.svg +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - diff --git a/static/js/novnc/app/images/settings.svg b/static/js/novnc/app/images/settings.svg deleted file mode 100644 index dbb2e80a..00000000 --- a/static/js/novnc/app/images/settings.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/static/js/novnc/app/images/tab.svg b/static/js/novnc/app/images/tab.svg deleted file mode 100644 index 1ccb3229..00000000 --- a/static/js/novnc/app/images/tab.svg +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - diff --git a/static/js/novnc/app/images/toggleextrakeys.svg b/static/js/novnc/app/images/toggleextrakeys.svg deleted file mode 100644 index b578c0d4..00000000 --- a/static/js/novnc/app/images/toggleextrakeys.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/static/js/novnc/app/images/warning.svg b/static/js/novnc/app/images/warning.svg deleted file mode 100644 index 7114f9b1..00000000 --- a/static/js/novnc/app/images/warning.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/static/js/novnc/app/images/windows.svg b/static/js/novnc/app/images/windows.svg deleted file mode 100644 index ad5eec36..00000000 --- a/static/js/novnc/app/images/windows.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - -image/svg+xml - - - \ No newline at end of file diff --git a/static/js/novnc/app/locale/README b/static/js/novnc/app/locale/README deleted file mode 100644 index ca4f548b..00000000 --- a/static/js/novnc/app/locale/README +++ /dev/null @@ -1 +0,0 @@ -DO NOT MODIFY THE FILES IN THIS FOLDER, THEY ARE AUTOMATICALLY GENERATED FROM THE PO-FILES. diff --git a/static/js/novnc/app/locale/cs.json b/static/js/novnc/app/locale/cs.json deleted file mode 100644 index dd31e6c1..00000000 --- a/static/js/novnc/app/locale/cs.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "Connecting...": "Připojení...", - "Disconnecting...": "Odpojení...", - "Reconnecting...": "Obnova připojení...", - "Internal error": "Vnitřní chyba", - "Must set host": "Hostitel musí být nastavení", - "Connected (encrypted) to ": "Připojení (šifrované) k ", - "Connected (unencrypted) to ": "Připojení (nešifrované) k ", - "Something went wrong, connection is closed": "Něco se pokazilo, odpojeno", - "Failed to connect to server": "Chyba připojení k serveru", - "Disconnected": "Odpojeno", - "New connection has been rejected with reason: ": "Nové připojení bylo odmítnuto s odůvodněním: ", - "New connection has been rejected": "Nové připojení bylo odmítnuto", - "Password is required": "Je vyžadováno heslo", - "noVNC encountered an error:": "noVNC narazilo na chybu:", - "Hide/Show the control bar": "Skrýt/zobrazit ovládací panel", - "Move/Drag viewport": "Přesunout/přetáhnout výřez", - "viewport drag": "přesun výřezu", - "Active Mouse Button": "Aktivní tlačítka myši", - "No mousebutton": "Žádné", - "Left mousebutton": "Levé tlačítko myši", - "Middle mousebutton": "Prostřední tlačítko myši", - "Right mousebutton": "Pravé tlačítko myši", - "Keyboard": "Klávesnice", - "Show keyboard": "Zobrazit klávesnici", - "Extra keys": "Extra klávesy", - "Show extra keys": "Zobrazit extra klávesy", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Přepnout Ctrl", - "Alt": "Alt", - "Toggle Alt": "Přepnout Alt", - "Send Tab": "Odeslat tabulátor", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "Odeslat Esc", - "Ctrl+Alt+Del": "Ctrl+Alt+Del", - "Send Ctrl-Alt-Del": "Poslat Ctrl-Alt-Del", - "Shutdown/Reboot": "Vypnutí/Restart", - "Shutdown/Reboot...": "Vypnutí/Restart...", - "Power": "Napájení", - "Shutdown": "Vypnout", - "Reboot": "Restart", - "Reset": "Reset", - "Clipboard": "Schránka", - "Clear": "Vymazat", - "Fullscreen": "Celá obrazovka", - "Settings": "Nastavení", - "Shared mode": "Sdílený režim", - "View only": "Pouze prohlížení", - "Clip to window": "Přizpůsobit oknu", - "Scaling mode:": "Přizpůsobení velikosti", - "None": "Žádné", - "Local scaling": "Místní", - "Remote resizing": "Vzdálené", - "Advanced": "Pokročilé", - "Repeater ID:": "ID opakovače", - "WebSocket": "WebSocket", - "Encrypt": "Šifrování:", - "Host:": "Hostitel:", - "Port:": "Port:", - "Path:": "Cesta", - "Automatic reconnect": "Automatická obnova připojení", - "Reconnect delay (ms):": "Zpoždění připojení (ms)", - "Show dot when no cursor": "Tečka místo chybějícího kurzoru myši", - "Logging:": "Logování:", - "Disconnect": "Odpojit", - "Connect": "Připojit", - "Password:": "Heslo", - "Send Password": "Odeslat heslo", - "Cancel": "Zrušit" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/de.json b/static/js/novnc/app/locale/de.json deleted file mode 100644 index e92825a8..00000000 --- a/static/js/novnc/app/locale/de.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Connecting...": "Verbinden...", - "Disconnecting...": "Verbindung trennen...", - "Reconnecting...": "Verbindung wiederherstellen...", - "Internal error": "Interner Fehler", - "Must set host": "Richten Sie den Server ein", - "Connected (encrypted) to ": "Verbunden mit (verschlüsselt) ", - "Connected (unencrypted) to ": "Verbunden mit (unverschlüsselt) ", - "Something went wrong, connection is closed": "Etwas lief schief, Verbindung wurde getrennt", - "Disconnected": "Verbindung zum Server getrennt", - "New connection has been rejected with reason: ": "Verbindung wurde aus folgendem Grund abgelehnt: ", - "New connection has been rejected": "Verbindung wurde abgelehnt", - "Password is required": "Passwort ist erforderlich", - "noVNC encountered an error:": "Ein Fehler ist aufgetreten:", - "Hide/Show the control bar": "Kontrollleiste verstecken/anzeigen", - "Move/Drag viewport": "Ansichtsfenster verschieben/ziehen", - "viewport drag": "Ansichtsfenster ziehen", - "Active Mouse Button": "Aktive Maustaste", - "No mousebutton": "Keine Maustaste", - "Left mousebutton": "Linke Maustaste", - "Middle mousebutton": "Mittlere Maustaste", - "Right mousebutton": "Rechte Maustaste", - "Keyboard": "Tastatur", - "Show keyboard": "Tastatur anzeigen", - "Extra keys": "Zusatztasten", - "Show extra keys": "Zusatztasten anzeigen", - "Ctrl": "Strg", - "Toggle Ctrl": "Strg umschalten", - "Alt": "Alt", - "Toggle Alt": "Alt umschalten", - "Send Tab": "Tab senden", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "Escape senden", - "Ctrl+Alt+Del": "Strg+Alt+Entf", - "Send Ctrl-Alt-Del": "Strg+Alt+Entf senden", - "Shutdown/Reboot": "Herunterfahren/Neustarten", - "Shutdown/Reboot...": "Herunterfahren/Neustarten...", - "Power": "Energie", - "Shutdown": "Herunterfahren", - "Reboot": "Neustarten", - "Reset": "Zurücksetzen", - "Clipboard": "Zwischenablage", - "Clear": "Löschen", - "Fullscreen": "Vollbild", - "Settings": "Einstellungen", - "Shared mode": "Geteilter Modus", - "View only": "Nur betrachten", - "Clip to window": "Auf Fenster begrenzen", - "Scaling mode:": "Skalierungsmodus:", - "None": "Keiner", - "Local scaling": "Lokales skalieren", - "Remote resizing": "Serverseitiges skalieren", - "Advanced": "Erweitert", - "Repeater ID:": "Repeater ID:", - "WebSocket": "WebSocket", - "Encrypt": "Verschlüsselt", - "Host:": "Server:", - "Port:": "Port:", - "Path:": "Pfad:", - "Automatic reconnect": "Automatisch wiederverbinden", - "Reconnect delay (ms):": "Wiederverbindungsverzögerung (ms):", - "Logging:": "Protokollierung:", - "Disconnect": "Verbindung trennen", - "Connect": "Verbinden", - "Password:": "Passwort:", - "Cancel": "Abbrechen", - "Canvas not supported.": "Canvas nicht unterstützt." -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/el.json b/static/js/novnc/app/locale/el.json deleted file mode 100644 index 4df3e03c..00000000 --- a/static/js/novnc/app/locale/el.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "HTTPS is required for full functionality": "Το HTTPS είναι απαιτούμενο για πλήρη λειτουργικότητα", - "Connecting...": "Συνδέεται...", - "Disconnecting...": "Aποσυνδέεται...", - "Reconnecting...": "Επανασυνδέεται...", - "Internal error": "Εσωτερικό σφάλμα", - "Must set host": "Πρέπει να οριστεί ο διακομιστής", - "Connected (encrypted) to ": "Συνδέθηκε (κρυπτογραφημένα) με το ", - "Connected (unencrypted) to ": "Συνδέθηκε (μη κρυπτογραφημένα) με το ", - "Something went wrong, connection is closed": "Κάτι πήγε στραβά, η σύνδεση διακόπηκε", - "Failed to connect to server": "Αποτυχία στη σύνδεση με το διακομιστή", - "Disconnected": "Αποσυνδέθηκε", - "New connection has been rejected with reason: ": "Η νέα σύνδεση απορρίφθηκε διότι: ", - "New connection has been rejected": "Η νέα σύνδεση απορρίφθηκε ", - "Credentials are required": "Απαιτούνται διαπιστευτήρια", - "noVNC encountered an error:": "το noVNC αντιμετώπισε ένα σφάλμα:", - "Hide/Show the control bar": "Απόκρυψη/Εμφάνιση γραμμής ελέγχου", - "Drag": "Σύρσιμο", - "Move/Drag Viewport": "Μετακίνηση/Σύρσιμο Θεατού πεδίου", - "Keyboard": "Πληκτρολόγιο", - "Show Keyboard": "Εμφάνιση Πληκτρολογίου", - "Extra keys": "Επιπλέον πλήκτρα", - "Show Extra Keys": "Εμφάνιση Επιπλέον Πλήκτρων", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Εναλλαγή Ctrl", - "Alt": "Alt", - "Toggle Alt": "Εναλλαγή Alt", - "Toggle Windows": "Εναλλαγή Παράθυρων", - "Windows": "Παράθυρα", - "Send Tab": "Αποστολή Tab", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "Αποστολή Escape", - "Ctrl+Alt+Del": "Ctrl+Alt+Del", - "Send Ctrl-Alt-Del": "Αποστολή Ctrl-Alt-Del", - "Shutdown/Reboot": "Κλείσιμο/Επανεκκίνηση", - "Shutdown/Reboot...": "Κλείσιμο/Επανεκκίνηση...", - "Power": "Απενεργοποίηση", - "Shutdown": "Κλείσιμο", - "Reboot": "Επανεκκίνηση", - "Reset": "Επαναφορά", - "Clipboard": "Πρόχειρο", - "Edit clipboard content in the textarea below.": "Επεξεργαστείτε το περιεχόμενο του πρόχειρου στην περιοχή κειμένου παρακάτω.", - "Settings": "Ρυθμίσεις", - "Shared Mode": "Κοινόχρηστη Λειτουργία", - "View Only": "Μόνο Θέαση", - "Clip to Window": "Αποκοπή στο όριο του Παράθυρου", - "Scaling Mode:": "Λειτουργία Κλιμάκωσης:", - "None": "Καμία", - "Local Scaling": "Τοπική Κλιμάκωση", - "Remote Resizing": "Απομακρυσμένη Αλλαγή μεγέθους", - "Advanced": "Για προχωρημένους", - "Quality:": "Ποιότητα:", - "Compression level:": "Επίπεδο συμπίεσης:", - "Repeater ID:": "Repeater ID:", - "WebSocket": "WebSocket", - "Encrypt": "Κρυπτογράφηση", - "Host:": "Όνομα διακομιστή:", - "Port:": "Πόρτα διακομιστή:", - "Path:": "Διαδρομή:", - "Automatic Reconnect": "Αυτόματη επανασύνδεση", - "Reconnect Delay (ms):": "Καθυστέρηση επανασύνδεσης (ms):", - "Show Dot when No Cursor": "Εμφάνιση Τελείας όταν δεν υπάρχει Δρομέας", - "Logging:": "Καταγραφή:", - "Version:": "Έκδοση:", - "Disconnect": "Αποσύνδεση", - "Connect": "Σύνδεση", - "Server identity": "Ταυτότητα Διακομιστή", - "The server has provided the following identifying information:": "Ο διακομιστής παρείχε την ακόλουθη πληροφορία ταυτοποίησης:", - "Fingerprint:": "Δακτυλικό αποτύπωμα:", - "Please verify that the information is correct and press \"Approve\". Otherwise press \"Reject\".": "Παρακαλώ επαληθεύσετε ότι η πληροφορία είναι σωστή και πιέστε \"Αποδοχή\". Αλλιώς πιέστε \"Απόρριψη\".", - "Approve": "Αποδοχή", - "Reject": "Απόρριψη", - "Credentials": "Διαπιστευτήρια", - "Username:": "Κωδικός Χρήστη:", - "Password:": "Κωδικός Πρόσβασης:", - "Send Credentials": "Αποστολή Διαπιστευτηρίων", - "Cancel": "Ακύρωση" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/es.json b/static/js/novnc/app/locale/es.json deleted file mode 100644 index bb088243..00000000 --- a/static/js/novnc/app/locale/es.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "Connecting...": "Conectando...", - "Connected (encrypted) to ": "Conectado (con encriptación) a", - "Connected (unencrypted) to ": "Conectado (sin encriptación) a", - "Disconnecting...": "Desconectando...", - "Disconnected": "Desconectado", - "Must set host": "Se debe configurar el host", - "Reconnecting...": "Reconectando...", - "Password is required": "La contraseña es obligatoria", - "Disconnect timeout": "Tiempo de desconexión agotado", - "noVNC encountered an error:": "noVNC ha encontrado un error:", - "Hide/Show the control bar": "Ocultar/Mostrar la barra de control", - "Move/Drag viewport": "Mover/Arrastrar la ventana", - "viewport drag": "Arrastrar la ventana", - "Active Mouse Button": "Botón activo del ratón", - "No mousebutton": "Ningún botón del ratón", - "Left mousebutton": "Botón izquierdo del ratón", - "Middle mousebutton": "Botón central del ratón", - "Right mousebutton": "Botón derecho del ratón", - "Keyboard": "Teclado", - "Show keyboard": "Mostrar teclado", - "Extra keys": "Teclas adicionales", - "Show Extra Keys": "Mostrar Teclas Adicionales", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Pulsar/Soltar Ctrl", - "Alt": "Alt", - "Toggle Alt": "Pulsar/Soltar Alt", - "Send Tab": "Enviar Tabulación", - "Tab": "Tabulación", - "Esc": "Esc", - "Send Escape": "Enviar Escape", - "Ctrl+Alt+Del": "Ctrl+Alt+Del", - "Send Ctrl-Alt-Del": "Enviar Ctrl+Alt+Del", - "Shutdown/Reboot": "Apagar/Reiniciar", - "Shutdown/Reboot...": "Apagar/Reiniciar...", - "Power": "Encender", - "Shutdown": "Apagar", - "Reboot": "Reiniciar", - "Reset": "Restablecer", - "Clipboard": "Portapapeles", - "Clear": "Vaciar", - "Fullscreen": "Pantalla Completa", - "Settings": "Configuraciones", - "Encrypt": "Encriptar", - "Shared Mode": "Modo Compartido", - "View only": "Solo visualización", - "Clip to window": "Recortar al tamaño de la ventana", - "Scaling mode:": "Modo de escalado:", - "None": "Ninguno", - "Local Scaling": "Escalado Local", - "Local Downscaling": "Reducción de escala local", - "Remote resizing": "Cambio de tamaño remoto", - "Advanced": "Avanzado", - "Local Cursor": "Cursor Local", - "Repeater ID:": "ID del Repetidor:", - "WebSocket": "WebSocket", - "Host:": "Host:", - "Port:": "Puerto:", - "Path:": "Ruta:", - "Automatic reconnect": "Reconexión automática", - "Reconnect delay (ms):": "Retraso en la reconexión (ms):", - "Logging:": "Registrando:", - "Disconnect": "Desconectar", - "Connect": "Conectar", - "Password:": "Contraseña:", - "Cancel": "Cancelar", - "Canvas not supported.": "Canvas no soportado." -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/fr.json b/static/js/novnc/app/locale/fr.json deleted file mode 100644 index 2bd92876..00000000 --- a/static/js/novnc/app/locale/fr.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "Running without HTTPS is not recommended, crashes or other issues are likely.": "Lancer sans HTTPS n'est pas recommandé, crashs ou autres problèmes en vue.", - "Connecting...": "En cours de connexion...", - "Disconnecting...": "Déconnexion en cours...", - "Reconnecting...": "Reconnexion en cours...", - "Internal error": "Erreur interne", - "Failed to connect to server: ": "Échec de connexion au serveur ", - "Connected (encrypted) to ": "Connecté (chiffré) à ", - "Connected (unencrypted) to ": "Connecté (non chiffré) à ", - "Something went wrong, connection is closed": "Quelque chose s'est mal passé, la connexion a été fermée", - "Failed to connect to server": "Échec de connexion au serveur", - "Disconnected": "Déconnecté", - "New connection has been rejected with reason: ": "Une nouvelle connexion a été rejetée avec motif : ", - "New connection has been rejected": "Une nouvelle connexion a été rejetée", - "Credentials are required": "Les identifiants sont requis", - "noVNC encountered an error:": "noVNC a rencontré une erreur :", - "Hide/Show the control bar": "Masquer/Afficher la barre de contrôle", - "Drag": "Faire glisser", - "Move/Drag viewport": "Déplacer la fenêtre de visualisation", - "Keyboard": "Clavier", - "Show keyboard": "Afficher le clavier", - "Extra keys": "Touches supplémentaires", - "Show extra keys": "Afficher les touches supplémentaires", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Basculer Ctrl", - "Alt": "Alt", - "Toggle Alt": "Basculer Alt", - "Toggle Windows": "Basculer Windows", - "Windows": "Fenêtre", - "Send Tab": "Envoyer Tab", - "Tab": "Tabulation", - "Esc": "Esc", - "Send Escape": "Envoyer Escape", - "Ctrl+Alt+Del": "Ctrl+Alt+Del", - "Send Ctrl-Alt-Del": "Envoyer Ctrl-Alt-Del", - "Shutdown/Reboot": "Arrêter/Redémarrer", - "Shutdown/Reboot...": "Arrêter/Redémarrer...", - "Power": "Alimentation", - "Shutdown": "Arrêter", - "Reboot": "Redémarrer", - "Reset": "Réinitialiser", - "Clipboard": "Presse-papiers", - "Edit clipboard content in the textarea below.": "Editer le contenu du presse-papier dans la zone ci-dessous.", - "Full screen": "Plein écran", - "Settings": "Paramètres", - "Shared mode": "Mode partagé", - "View only": "Afficher uniquement", - "Clip to window": "Ajuster à la fenêtre", - "Scaling mode:": "Mode mise à l'échelle :", - "None": "Aucun", - "Local scaling": "Mise à l'échelle locale", - "Remote resizing": "Redimensionnement à distance", - "Advanced": "Avancé", - "Quality:": "Qualité :", - "Compression level:": "Niveau de compression :", - "Repeater ID:": "ID Répéteur :", - "WebSocket": "WebSocket", - "Encrypt": "Chiffrer", - "Host:": "Hôte :", - "Port:": "Port :", - "Path:": "Chemin :", - "Automatic reconnect": "Reconnecter automatiquement", - "Reconnect delay (ms):": "Délai de reconnexion (ms) :", - "Show dot when no cursor": "Afficher le point lorsqu'il n'y a pas de curseur", - "Logging:": "Se connecter :", - "Version:": "Version :", - "Disconnect": "Déconnecter", - "Connect": "Connecter", - "Server identity": "Identité du serveur", - "The server has provided the following identifying information:": "Le serveur a fourni l'identification suivante :", - "Fingerprint:": "Empreinte digitale :", - "Please verify that the information is correct and press \"Approve\". Otherwise press \"Reject\".": "SVP, verifiez que l'information est correcte et pressez \"Accepter\". Sinon pressez \"Refuser\".", - "Approve": "Accepter", - "Reject": "Refuser", - "Credentials": "Envoyer les identifiants", - "Username:": "Nom d'utilisateur :", - "Password:": "Mot de passe :", - "Send credentials": "Envoyer les identifiants", - "Cancel": "Annuler" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/hr.json b/static/js/novnc/app/locale/hr.json deleted file mode 100644 index b4dca538..00000000 --- a/static/js/novnc/app/locale/hr.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "Running without HTTPS is not recommended, crashes or other issues are likely.": "Pokretanje bez HTTPS-a se ne preporučuje, vjerojatno će se dogoditi prekidi rada ili drugi problemi.", - "Connecting...": "Povezivanje …", - "Disconnecting...": "Odspajanje …", - "Reconnecting...": "Ponovno povezivanje …", - "Internal error": "Interna greška", - "Failed to connect to server: ": "Povezivanje sa serverom nije uspjelo: ", - "Connected (encrypted) to ": "Povezano (šifrirano) na ", - "Connected (unencrypted) to ": "Povezano (nešifrirano) na ", - "Something went wrong, connection is closed": "Nešto nije u redu, veza je zatvorena", - "Failed to connect to server": "Povezivanje sa serverom nije uspjelo", - "Disconnected": "Odspojeno", - "New connection has been rejected with reason: ": "Nova veza je odbijena s razlogom: ", - "New connection has been rejected": "Nova veza je odbijena", - "Credentials are required": "Podaci za prijavu su obavezni", - "noVNC encountered an error:": "noVNC je naišao na grešku:", - "Hide/Show the control bar": "Sakrij/Prikaži traku kontrola", - "Drag": "Povuci", - "Move/Drag viewport": "Pomakni/Povuci vidljivo područje", - "Keyboard": "Tipkovnica", - "Show keyboard": "Prikaži tipkovnicu", - "Extra keys": "Dodatne tipke", - "Show extra keys": "Prikaži dodatne tipke", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Uključi/Isključi Ctrl", - "Alt": "Alt", - "Toggle Alt": "Uključi/Isključi Alt", - "Toggle Windows": "Uključi/Isključi Windows", - "Windows": "Windows", - "Send Tab": "Pošalji tabulator", - "Tab": "Tabulator", - "Esc": "Esc", - "Send Escape": "Pošalji Escape", - "Ctrl+Alt+Del": "Ctrl + Alt + Del", - "Send Ctrl-Alt-Del": "Pošalji Ctrl+Alt+Del", - "Shutdown/Reboot": "Isključi/Ponovo pokreni", - "Shutdown/Reboot...": "Isključi/Ponovo pokreni …", - "Power": "Napajanje", - "Shutdown": "Isključi", - "Reboot": "Ponovo pokreni", - "Reset": "Resetiraj", - "Clipboard": "Međuspremnik", - "Edit clipboard content in the textarea below.": "Uredi sadržaj međuspremnika u donjem području teksta.", - "Full screen": "Cjeloekranski prikaz", - "Settings": "Postavke", - "Shared mode": "Dijeljeni modus", - "View only": "Samo prikaz", - "Clip to window": "Isijeci na veličinu prozora", - "Scaling mode:": "Modus skaliranja:", - "None": "Bez", - "Local scaling": "Lokalno skaliranje", - "Remote resizing": "Daljinsko mijenjanje veličine", - "Advanced": "Napredno", - "Quality:": "Kvaliteta:", - "Compression level:": "Razina kompresije:", - "Repeater ID:": "ID repetitora:", - "WebSocket": "WebSocket", - "Encrypt": "Šifriraj", - "Host:": "Host:", - "Port:": "Priključak:", - "Path:": "Putanja:", - "Automatic reconnect": "Automatsko ponovno povezivanje", - "Reconnect delay (ms):": "Kašnjenje ponovnog povezivanja (ms):", - "Show dot when no cursor": "Prikaži točku kada nema pokazivača", - "Logging:": "Zapisivanje:", - "Version:": "Verzija:", - "Disconnect": "Odspoji", - "Connect": "Poveži", - "Server identity": "Identitet servera", - "The server has provided the following identifying information:": "Server je pružio sljedeće identifikacijske podatke:", - "Fingerprint:": "Otisak:", - "Please verify that the information is correct and press \"Approve\". Otherwise press \"Reject\".": "Provjeri jesu li podaci točni i pritisni „Odobri“. U suprotnom pritisni „Odbaci“.", - "Approve": "Odobri", - "Reject": "Odbij", - "Credentials": "Podaci za prijavu", - "Username:": "Korisničko ime:", - "Password:": "Lozinka:", - "Send credentials": "Pošalji podatke za prijavu", - "Cancel": "Odustani" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/hu.json b/static/js/novnc/app/locale/hu.json deleted file mode 100644 index ba700b5f..00000000 --- a/static/js/novnc/app/locale/hu.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "Running without HTTPS is not recommended, crashes or other issues are likely.": "HTTPS nélkül futtatni nem ajánlott, összeomlások vagy más problémák várhatók.", - "Connecting...": "Kapcsolódás...", - "Disconnecting...": "Kapcsolat bontása...", - "Reconnecting...": "Újrakapcsolódás...", - "Internal error": "Belső hiba", - "Failed to connect to server: ": "Nem sikerült csatlakozni a szerverhez: ", - "Connected (encrypted) to ": "Kapcsolódva (titkosítva) ehhez: ", - "Connected (unencrypted) to ": "Kapcsolódva (titkosítatlanul) ehhez: ", - "Something went wrong, connection is closed": "Valami hiba történt, a kapcsolat lezárult", - "Failed to connect to server": "Nem sikerült csatlakozni a szerverhez", - "Disconnected": "Kapcsolat bontva", - "New connection has been rejected with reason: ": "Az új kapcsolat elutasítva, indok: ", - "New connection has been rejected": "Az új kapcsolat elutasítva", - "Credentials are required": "Hitelesítő adatok szükségesek", - "noVNC encountered an error:": "A noVNC hibát észlelt:", - "Hide/Show the control bar": "Vezérlősáv elrejtése/megjelenítése", - "Drag": "Húzás", - "Move/Drag viewport": "Nézet mozgatása/húzása", - "Keyboard": "Billentyűzet", - "Show keyboard": "Billentyűzet megjelenítése", - "Extra keys": "Extra billentyűk", - "Show extra keys": "Extra billentyűk megjelenítése", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Ctrl lenyomása/felengedése", - "Alt": "Alt", - "Toggle Alt": "Alt lenyomása/felengedése", - "Toggle Windows": "Windows lenyomása/felengedése", - "Windows": "Windows", - "Send Tab": "Tab küldése", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "Escape küldése", - "Ctrl+Alt+Del": "Ctrl+Alt+Del", - "Send Ctrl-Alt-Del": "Ctrl-Alt-Del küldése", - "Shutdown/Reboot": "Leállítás/Újraindítás", - "Shutdown/Reboot...": "Leállítás/Újraindítás...", - "Power": "Bekapcsolás", - "Shutdown": "Leállítás", - "Reboot": "Újraindítás", - "Reset": "Reset", - "Clipboard": "Vágólap", - "Edit clipboard content in the textarea below.": "Itt tudod módosítani a vágólap tartalmát.", - "Full screen": "Teljes képernyő", - "Settings": "Beállítások", - "Shared mode": "Megosztott mód", - "View only": "Csak megtekintés", - "Clip to window": "Ablakhoz igazítás", - "Scaling mode:": "Méretezési mód:", - "None": "Nincs", - "Local scaling": "Helyi méretezés", - "Remote resizing": "Távoli átméretezés", - "Advanced": "Speciális", - "Quality:": "Minőség:", - "Compression level:": "Tömörítési szint:", - "Repeater ID:": "Ismétlő azonosító:", - "WebSocket": "WebSocket", - "Encrypt": "Titkosítás", - "Host:": "Hoszt:", - "Port:": "Port:", - "Path:": "Útvonal:", - "Automatic reconnect": "Automatikus újracsatlakozás", - "Reconnect delay (ms):": "Újracsatlakozás késleltetése (ms):", - "Show dot when no cursor": "Kurzor hiányában pont mutatása", - "Logging:": "Naplózás:", - "Version:": "Verzió:", - "Disconnect": "Kapcsolat bontása", - "Connect": "Csatlakozás", - "Server identity": "Szerver azonosító", - "The server has provided the following identifying information:": "A szerver a következő azonosító információt adta meg:", - "Fingerprint:": "Ujjlenyomat:", - "Please verify that the information is correct and press \"Approve\". Otherwise press \"Reject\".": "Ellenőrizze, hogy az információ helyes-e és nyomja meg a \"Jóváhagyás\" gombot. Ellenkező esetben nyomja meg az \"Elutasítás\" gombot.", - "Approve": "Jóváhagyás", - "Reject": "Elutasítás", - "Credentials": "Hitelesítő adatok", - "Username:": "Felhasználónév:", - "Password:": "Jelszó:", - "Send credentials": "Hitelesítő adatok küldése", - "Cancel": "Mégse" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/it.json b/static/js/novnc/app/locale/it.json deleted file mode 100644 index 28e6f721..00000000 --- a/static/js/novnc/app/locale/it.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "Connecting...": "Connessione in corso...", - "Disconnecting...": "Disconnessione...", - "Reconnecting...": "Riconnessione...", - "Internal error": "Errore interno", - "Must set host": "Devi impostare l'host", - "Connected (encrypted) to ": "Connesso (crittografato) a ", - "Connected (unencrypted) to ": "Connesso (non crittografato) a", - "Something went wrong, connection is closed": "Qualcosa è andato storto, la connessione è stata chiusa", - "Failed to connect to server": "Impossibile connettersi al server", - "Disconnected": "Disconnesso", - "New connection has been rejected with reason: ": "La nuova connessione è stata rifiutata con motivo: ", - "New connection has been rejected": "La nuova connessione è stata rifiutata", - "Credentials are required": "Le credenziali sono obbligatorie", - "noVNC encountered an error:": "noVNC ha riscontrato un errore:", - "Hide/Show the control bar": "Nascondi/Mostra la barra di controllo", - "Keyboard": "Tastiera", - "Show keyboard": "Mostra tastiera", - "Extra keys": "Tasti Aggiuntivi", - "Show Extra Keys": "Mostra Tasti Aggiuntivi", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Tieni premuto Ctrl", - "Alt": "Alt", - "Toggle Alt": "Tieni premuto Alt", - "Toggle Windows": "Tieni premuto Windows", - "Windows": "Windows", - "Send Tab": "Invia Tab", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "Invia Esc", - "Ctrl+Alt+Del": "Ctrl+Alt+Canc", - "Send Ctrl-Alt-Del": "Invia Ctrl-Alt-Canc", - "Shutdown/Reboot": "Spegnimento/Riavvio", - "Shutdown/Reboot...": "Spegnimento/Riavvio...", - "Power": "Alimentazione", - "Shutdown": "Spegnimento", - "Reboot": "Riavvio", - "Reset": "Reset", - "Clipboard": "Clipboard", - "Clear": "Pulisci", - "Fullscreen": "Schermo intero", - "Settings": "Impostazioni", - "Shared mode": "Modalità condivisa", - "View Only": "Sola Visualizzazione", - "Scaling mode:": "Modalità di ridimensionamento:", - "None": "Nessuna", - "Local Scaling": "Ridimensionamento Locale", - "Remote Resizing": "Ridimensionamento Remoto", - "Advanced": "Avanzate", - "Quality:": "Qualità:", - "Compression level:": "Livello Compressione:", - "Repeater ID:": "ID Ripetitore:", - "WebSocket": "WebSocket", - "Encrypt": "Crittografa", - "Host:": "Host:", - "Port:": "Porta:", - "Path:": "Percorso:", - "Automatic Reconnect": "Riconnessione Automatica", - "Reconnect Delay (ms):": "Ritardo Riconnessione (ms):", - "Show Dot when No Cursor": "Mostra Punto quando Nessun Cursore", - "Version:": "Versione:", - "Disconnect": "Disconnetti", - "Connect": "Connetti", - "Username:": "Utente:", - "Password:": "Password:", - "Send Credentials": "Invia Credenziale", - "Cancel": "Annulla" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/ja.json b/static/js/novnc/app/locale/ja.json deleted file mode 100644 index 4fc9b8a9..00000000 --- a/static/js/novnc/app/locale/ja.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "Running without HTTPS is not recommended, crashes or other issues are likely.": "HTTPS接続なしで実行することは推奨されません。クラッシュしたりその他の問題が発生したりする可能性があります。", - "Connecting...": "接続しています...", - "Disconnecting...": "切断しています...", - "Reconnecting...": "再接続しています...", - "Internal error": "内部エラー", - "Must set host": "ホストを設定する必要があります", - "Failed to connect to server: ": "サーバーへの接続に失敗しました: ", - "Connected (encrypted) to ": "接続しました (暗号化済み): ", - "Connected (unencrypted) to ": "接続しました (暗号化されていません): ", - "Something went wrong, connection is closed": "問題が発生したため、接続が閉じられました", - "Failed to connect to server": "サーバーへの接続に失敗しました", - "Disconnected": "切断しました", - "New connection has been rejected with reason: ": "新規接続は次の理由で拒否されました: ", - "New connection has been rejected": "新規接続は拒否されました", - "Credentials are required": "資格情報が必要です", - "noVNC encountered an error:": "noVNC でエラーが発生しました:", - "Hide/Show the control bar": "コントロールバーを隠す/表示する", - "Drag": "ドラッグ", - "Move/Drag viewport": "ビューポートを移動/ドラッグ", - "Keyboard": "キーボード", - "Show keyboard": "キーボードを表示", - "Extra keys": "追加キー", - "Show extra keys": "追加キーを表示", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Ctrl キーをトグル", - "Alt": "Alt", - "Toggle Alt": "Alt キーをトグル", - "Toggle Windows": "Windows キーをトグル", - "Windows": "Windows", - "Send Tab": "Tab キーを送信", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "Escape キーを送信", - "Ctrl+Alt+Del": "Ctrl+Alt+Del", - "Send Ctrl-Alt-Del": "Ctrl-Alt-Del を送信", - "Shutdown/Reboot": "シャットダウン/再起動", - "Shutdown/Reboot...": "シャットダウン/再起動...", - "Power": "電源", - "Shutdown": "シャットダウン", - "Reboot": "再起動", - "Reset": "リセット", - "Clipboard": "クリップボード", - "Edit clipboard content in the textarea below.": "以下の入力欄からクリップボードの内容を編集できます。", - "Full screen": "全画面表示", - "Settings": "設定", - "Shared mode": "共有モード", - "View only": "表示専用", - "Clip to window": "ウィンドウにクリップ", - "Scaling mode:": "スケーリングモード:", - "None": "なし", - "Local scaling": "ローカルでスケーリング", - "Remote resizing": "リモートでリサイズ", - "Advanced": "高度", - "Quality:": "品質:", - "Compression level:": "圧縮レベル:", - "Repeater ID:": "リピーター ID:", - "WebSocket": "WebSocket", - "Encrypt": "暗号化", - "Host:": "ホスト:", - "Port:": "ポート:", - "Path:": "パス:", - "Automatic reconnect": "自動再接続", - "Reconnect delay (ms):": "再接続する遅延 (ミリ秒):", - "Show dot when no cursor": "カーソルがないときにドットを表示する", - "Logging:": "ロギング:", - "Version:": "バージョン:", - "Disconnect": "切断", - "Connect": "接続", - "Server identity": "サーバーの識別情報", - "The server has provided the following identifying information:": "サーバーは以下の識別情報を提供しています:", - "Fingerprint:": "フィンガープリント:", - "Please verify that the information is correct and press \"Approve\". Otherwise press \"Reject\".": "この情報が正しい場合は「承認」を、そうでない場合は「拒否」を押してください。", - "Approve": "承認", - "Reject": "拒否", - "Credentials": "資格情報", - "Username:": "ユーザー名:", - "Password:": "パスワード:", - "Send credentials": "資格情報を送信", - "Cancel": "キャンセル" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/ko.json b/static/js/novnc/app/locale/ko.json deleted file mode 100644 index 47b0805c..00000000 --- a/static/js/novnc/app/locale/ko.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "Connecting...": "연결중...", - "Disconnecting...": "연결 해제중...", - "Reconnecting...": "재연결중...", - "Internal error": "내부 오류", - "Must set host": "호스트는 설정되어야 합니다.", - "Connected (encrypted) to ": "다음과 (암호화되어) 연결되었습니다:", - "Connected (unencrypted) to ": "다음과 (암호화 없이) 연결되었습니다:", - "Something went wrong, connection is closed": "무언가 잘못되었습니다, 연결이 닫혔습니다.", - "Failed to connect to server": "서버에 연결하지 못했습니다.", - "Disconnected": "연결이 해제되었습니다.", - "New connection has been rejected with reason: ": "새 연결이 다음 이유로 거부되었습니다:", - "New connection has been rejected": "새 연결이 거부되었습니다.", - "Password is required": "비밀번호가 필요합니다.", - "noVNC encountered an error:": "noVNC에 오류가 발생했습니다:", - "Hide/Show the control bar": "컨트롤 바 숨기기/보이기", - "Move/Drag viewport": "움직이기/드래그 뷰포트", - "viewport drag": "뷰포트 드래그", - "Active Mouse Button": "마우스 버튼 활성화", - "No mousebutton": "마우스 버튼 없음", - "Left mousebutton": "왼쪽 마우스 버튼", - "Middle mousebutton": "중간 마우스 버튼", - "Right mousebutton": "오른쪽 마우스 버튼", - "Keyboard": "키보드", - "Show keyboard": "키보드 보이기", - "Extra keys": "기타 키들", - "Show extra keys": "기타 키들 보이기", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Ctrl 켜기/끄기", - "Alt": "Alt", - "Toggle Alt": "Alt 켜기/끄기", - "Send Tab": "Tab 보내기", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "Esc 보내기", - "Ctrl+Alt+Del": "Ctrl+Alt+Del", - "Send Ctrl-Alt-Del": "Ctrl+Alt+Del 보내기", - "Shutdown/Reboot": "셧다운/리붓", - "Shutdown/Reboot...": "셧다운/리붓...", - "Power": "전원", - "Shutdown": "셧다운", - "Reboot": "리붓", - "Reset": "리셋", - "Clipboard": "클립보드", - "Clear": "지우기", - "Fullscreen": "전체화면", - "Settings": "설정", - "Shared mode": "공유 모드", - "View only": "보기 전용", - "Clip to window": "창에 클립", - "Scaling mode:": "스케일링 모드:", - "None": "없음", - "Local scaling": "로컬 스케일링", - "Remote resizing": "원격 크기 조절", - "Advanced": "고급", - "Repeater ID:": "중계 ID", - "WebSocket": "웹소켓", - "Encrypt": "암호화", - "Host:": "호스트:", - "Port:": "포트:", - "Path:": "위치:", - "Automatic reconnect": "자동 재연결", - "Reconnect delay (ms):": "재연결 지연 시간 (ms)", - "Logging:": "로깅", - "Disconnect": "연결 해제", - "Connect": "연결", - "Password:": "비밀번호:", - "Send Password": "비밀번호 전송", - "Cancel": "취소" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/nl.json b/static/js/novnc/app/locale/nl.json deleted file mode 100644 index 6f280ccb..00000000 --- a/static/js/novnc/app/locale/nl.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Running without HTTPS is not recommended, crashes or other issues are likely.": "Het is niet aan te raden om zonder HTTPS te werken, crashes of andere problemen zijn dan waarschijnlijk.", - "Connecting...": "Aan het verbinden…", - "Disconnecting...": "Bezig om verbinding te verbreken...", - "Reconnecting...": "Opnieuw verbinding maken...", - "Internal error": "Interne fout", - "Connected (encrypted) to ": "Verbonden (versleuteld) met ", - "Connected (unencrypted) to ": "Verbonden (onversleuteld) met ", - "Something went wrong, connection is closed": "Er iets fout gelopen, verbinding werd verbroken", - "Failed to connect to server": "Verbinding maken met server is mislukt", - "Disconnected": "Verbinding verbroken", - "New connection has been rejected with reason: ": "Nieuwe verbinding is geweigerd met de volgende reden: ", - "New connection has been rejected": "Nieuwe verbinding is geweigerd", - "Credentials are required": "Inloggegevens zijn nodig", - "noVNC encountered an error:": "noVNC heeft een fout bemerkt:", - "Hide/Show the control bar": "Verberg/Toon de bedieningsbalk", - "Drag": "Sleep", - "Keyboard": "Toetsenbord", - "Extra keys": "Extra toetsen", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Ctrl omschakelen", - "Alt": "Alt", - "Toggle Alt": "Alt omschakelen", - "Toggle Windows": "Vensters omschakelen", - "Windows": "Vensters", - "Send Tab": "Tab Sturen", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "Escape Sturen", - "Ctrl+Alt+Del": "Ctrl-Alt-Del", - "Send Ctrl-Alt-Del": "Ctrl-Alt-Del Sturen", - "Shutdown/Reboot": "Uitschakelen/Herstarten", - "Shutdown/Reboot...": "Uitschakelen/Herstarten...", - "Power": "Systeem", - "Shutdown": "Uitschakelen", - "Reboot": "Herstarten", - "Reset": "Resetten", - "Clipboard": "Klembord", - "Edit clipboard content in the textarea below.": "Edit de inhoud van het klembord in het tekstveld hieronder", - "Settings": "Instellingen", - "Clip to window": "Randen buiten venster afsnijden", - "Scaling mode:": "Schaalmodus:", - "None": "Geen", - "Advanced": "Geavanceerd", - "Quality:": "Kwaliteit:", - "Compression level:": "Compressieniveau:", - "Repeater ID:": "Repeater ID:", - "WebSocket": "WebSocket", - "Encrypt": "Versleutelen", - "Host:": "Host:", - "Port:": "Poort:", - "Path:": "Pad:", - "Show dot when no cursor": "Geef stip weer indien geen cursor", - "Logging:": "Logmeldingen:", - "Version:": "Versie:", - "Disconnect": "Verbinding verbreken", - "Connect": "Verbinden", - "Server identity": "Serveridentiteit", - "The server has provided the following identifying information:": "De server geeft de volgende identificerende informatie:", - "Fingerprint:": "Vingerafdruk:", - "Please verify that the information is correct and press \"Approve\". Otherwise press \"Reject\".": "Verifieer dat de informatie is correct en druk “OK”. Druk anders op “Afwijzen”.", - "Approve": "OK", - "Reject": "Afwijzen", - "Credentials": "Inloggegevens", - "Username:": "Gebruikersnaam:", - "Password:": "Wachtwoord:", - "Send credentials": "Stuur inloggegevens", - "Cancel": "Annuleren" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/pl.json b/static/js/novnc/app/locale/pl.json deleted file mode 100644 index 865f90ca..00000000 --- a/static/js/novnc/app/locale/pl.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Connecting...": "Łączenie...", - "Disconnecting...": "Rozłączanie...", - "Reconnecting...": "Łączenie...", - "Internal error": "Błąd wewnętrzny", - "Must set host": "Host i port są wymagane", - "Connected (encrypted) to ": "Połączenie (szyfrowane) z ", - "Connected (unencrypted) to ": "Połączenie (nieszyfrowane) z ", - "Something went wrong, connection is closed": "Coś poszło źle, połączenie zostało zamknięte", - "Disconnected": "Rozłączony", - "New connection has been rejected with reason: ": "Nowe połączenie zostało odrzucone z powodu: ", - "New connection has been rejected": "Nowe połączenie zostało odrzucone", - "Password is required": "Hasło jest wymagane", - "noVNC encountered an error:": "noVNC napotkało błąd:", - "Hide/Show the control bar": "Pokaż/Ukryj pasek ustawień", - "Move/Drag Viewport": "Ruszaj/Przeciągaj Viewport", - "viewport drag": "przeciągnij viewport", - "Active Mouse Button": "Aktywny Przycisk Myszy", - "No mousebutton": "Brak przycisku myszy", - "Left mousebutton": "Lewy przycisk myszy", - "Middle mousebutton": "Środkowy przycisk myszy", - "Right mousebutton": "Prawy przycisk myszy", - "Keyboard": "Klawiatura", - "Show keyboard": "Pokaż klawiaturę", - "Extra keys": "Przyciski dodatkowe", - "Show extra keys": "Pokaż przyciski dodatkowe", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Przełącz Ctrl", - "Alt": "Alt", - "Toggle Alt": "Przełącz Alt", - "Send Tab": "Wyślij Tab", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "Wyślij Escape", - "Ctrl+Alt+Del": "Ctrl+Alt+Del", - "Send Ctrl-Alt-Del": "Wyślij Ctrl-Alt-Del", - "Shutdown/Reboot": "Wyłącz/Uruchom ponownie", - "Shutdown/Reboot...": "Wyłącz/Uruchom ponownie...", - "Power": "Włączony", - "Shutdown": "Wyłącz", - "Reboot": "Uruchom ponownie", - "Reset": "Resetuj", - "Clipboard": "Schowek", - "Clear": "Wyczyść", - "Fullscreen": "Pełny ekran", - "Settings": "Ustawienia", - "Shared Mode": "Tryb Współdzielenia", - "View Only": "Tylko Podgląd", - "Clip to Window": "Przytnij do Okna", - "Scaling Mode:": "Tryb Skalowania:", - "None": "Brak", - "Local scaling": "Skalowanie lokalne", - "Remote resizing": "Skalowanie zdalne", - "Advanced": "Zaawansowane", - "Repeater ID:": "ID Repeatera:", - "WebSocket": "WebSocket", - "Encrypt": "Szyfrowanie", - "Host:": "Host:", - "Port:": "Port:", - "Path:": "Ścieżka:", - "Automatic reconnect": "Automatycznie wznawiaj połączenie", - "Reconnect delay (ms):": "Opóźnienie wznawiania (ms):", - "Logging:": "Poziom logowania:", - "Disconnect": "Rozłącz", - "Connect": "Połącz", - "Password:": "Hasło:", - "Cancel": "Anuluj", - "Canvas not supported.": "Element Canvas nie jest wspierany." -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/pt_BR.json b/static/js/novnc/app/locale/pt_BR.json deleted file mode 100644 index 9c2f7cec..00000000 --- a/static/js/novnc/app/locale/pt_BR.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "Connecting...": "Conectando...", - "Disconnecting...": "Desconectando...", - "Reconnecting...": "Reconectando...", - "Internal error": "Erro interno", - "Must set host": "É necessário definir o host", - "Connected (encrypted) to ": "Conectado (com criptografia) a ", - "Connected (unencrypted) to ": "Conectado (sem criptografia) a ", - "Something went wrong, connection is closed": "Algo deu errado. A conexão foi encerrada.", - "Failed to connect to server": "Falha ao conectar-se ao servidor", - "Disconnected": "Desconectado", - "New connection has been rejected with reason: ": "A nova conexão foi rejeitada pelo motivo: ", - "New connection has been rejected": "A nova conexão foi rejeitada", - "Credentials are required": "Credenciais são obrigatórias", - "noVNC encountered an error:": "O noVNC encontrou um erro:", - "Hide/Show the control bar": "Esconder/mostrar a barra de controles", - "Drag": "Arrastar", - "Move/Drag viewport": "Mover/arrastar a janela", - "Keyboard": "Teclado", - "Show keyboard": "Mostrar teclado", - "Extra keys": "Teclas adicionais", - "Show extra keys": "Mostrar teclas adicionais", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Pressionar/soltar Ctrl", - "Alt": "Alt", - "Toggle Alt": "Pressionar/soltar Alt", - "Toggle Windows": "Pressionar/soltar Windows", - "Windows": "Windows", - "Send Tab": "Enviar Tab", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "Enviar Esc", - "Ctrl+Alt+Del": "Ctrl+Alt+Del", - "Send Ctrl-Alt-Del": "Enviar Ctrl-Alt-Del", - "Shutdown/Reboot": "Desligar/reiniciar", - "Shutdown/Reboot...": "Desligar/reiniciar...", - "Power": "Ligar", - "Shutdown": "Desligar", - "Reboot": "Reiniciar", - "Reset": "Reiniciar (forçado)", - "Clipboard": "Área de transferência", - "Clear": "Limpar", - "Fullscreen": "Tela cheia", - "Settings": "Configurações", - "Shared mode": "Modo compartilhado", - "View only": "Apenas visualizar", - "Clip to window": "Recortar à janela", - "Scaling mode:": "Modo de dimensionamento:", - "None": "Nenhum", - "Local scaling": "Local", - "Remote resizing": "Remoto", - "Advanced": "Avançado", - "Quality:": "Qualidade:", - "Compression level:": "Nível de compressão:", - "Repeater ID:": "ID do repetidor:", - "WebSocket": "WebSocket", - "Encrypt": "Criptografar", - "Host:": "Host:", - "Port:": "Porta:", - "Path:": "Caminho:", - "Automatic reconnect": "Reconexão automática", - "Reconnect delay (ms):": "Atraso da reconexão (ms)", - "Show dot when no cursor": "Mostrar ponto quando não há cursor", - "Logging:": "Registros:", - "Version:": "Versão:", - "Disconnect": "Desconectar", - "Connect": "Conectar", - "Username:": "Nome de usuário:", - "Password:": "Senha:", - "Send credentials": "Enviar credenciais", - "Cancel": "Cancelar" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/ru.json b/static/js/novnc/app/locale/ru.json deleted file mode 100644 index bd1bb534..00000000 --- a/static/js/novnc/app/locale/ru.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "Connecting...": "Подключение...", - "Disconnecting...": "Отключение...", - "Reconnecting...": "Переподключение...", - "Internal error": "Внутренняя ошибка", - "Must set host": "Задайте имя сервера или IP", - "Connected (encrypted) to ": "Подключено (с шифрованием) к ", - "Connected (unencrypted) to ": "Подключено (без шифрования) к ", - "Something went wrong, connection is closed": "Что-то пошло не так, подключение разорвано", - "Failed to connect to server": "Ошибка подключения к серверу", - "Disconnected": "Отключено", - "New connection has been rejected with reason: ": "Новое соединение отклонено по причине: ", - "New connection has been rejected": "Новое соединение отклонено", - "Credentials are required": "Требуются учетные данные", - "noVNC encountered an error:": "Ошибка noVNC: ", - "Hide/Show the control bar": "Скрыть/Показать контрольную панель", - "Drag": "Переместить", - "Move/Drag viewport": "Переместить окно", - "Keyboard": "Клавиатура", - "Show keyboard": "Показать клавиатуру", - "Extra keys": "Дополнительные Кнопки", - "Show Extra Keys": "Показать Дополнительные Кнопки", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Зажать Ctrl", - "Alt": "Alt", - "Toggle Alt": "Зажать Alt", - "Toggle Windows": "Зажать Windows", - "Windows": "Вкладка", - "Send Tab": "Передать нажатие Tab", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "Передать нажатие Escape", - "Ctrl+Alt+Del": "Ctrl+Alt+Del", - "Send Ctrl-Alt-Del": "Передать нажатие Ctrl-Alt-Del", - "Shutdown/Reboot": "Выключить/Перезагрузить", - "Shutdown/Reboot...": "Выключить/Перезагрузить...", - "Power": "Питание", - "Shutdown": "Выключить", - "Reboot": "Перезагрузить", - "Reset": "Сброс", - "Clipboard": "Буфер обмена", - "Clear": "Очистить", - "Fullscreen": "Во весь экран", - "Settings": "Настройки", - "Shared mode": "Общий режим", - "View Only": "Только Просмотр", - "Clip to window": "В окно", - "Scaling mode:": "Масштаб:", - "None": "Нет", - "Local scaling": "Локальный масштаб", - "Remote resizing": "Удаленная перенастройка размера", - "Advanced": "Дополнительно", - "Quality:": "Качество", - "Compression level:": "Уровень Сжатия", - "Repeater ID:": "Идентификатор ID:", - "WebSocket": "WebSocket", - "Encrypt": "Шифрование", - "Host:": "Сервер:", - "Port:": "Порт:", - "Path:": "Путь:", - "Automatic reconnect": "Автоматическое переподключение", - "Reconnect delay (ms):": "Задержка переподключения (мс):", - "Show dot when no cursor": "Показать точку вместо курсора", - "Logging:": "Лог:", - "Version:": "Версия", - "Disconnect": "Отключение", - "Connect": "Подключение", - "Username:": "Имя Пользователя", - "Password:": "Пароль:", - "Send Credentials": "Передача Учетных Данных", - "Cancel": "Выход" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/sv.json b/static/js/novnc/app/locale/sv.json deleted file mode 100644 index 37d2d292..00000000 --- a/static/js/novnc/app/locale/sv.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "Running without HTTPS is not recommended, crashes or other issues are likely.": "Det är ej rekommenderat att köra utan HTTPS, krascher och andra problem är troliga.", - "Connecting...": "Ansluter...", - "Disconnecting...": "Kopplar ifrån...", - "Reconnecting...": "Återansluter...", - "Internal error": "Internt fel", - "Failed to connect to server: ": "Misslyckades att ansluta till servern: ", - "Connected (encrypted) to ": "Ansluten (krypterat) till ", - "Connected (unencrypted) to ": "Ansluten (okrypterat) till ", - "Something went wrong, connection is closed": "Något gick fel, anslutningen avslutades", - "Failed to connect to server": "Misslyckades att ansluta till servern", - "Disconnected": "Frånkopplad", - "New connection has been rejected with reason: ": "Ny anslutning har blivit nekad med följande skäl: ", - "New connection has been rejected": "Ny anslutning har blivit nekad", - "Are you sure you want to disconnect the session?": "Är du säker på att du vill koppla ifrån sessionen?", - "Credentials are required": "Användaruppgifter krävs", - "noVNC encountered an error:": "noVNC stötte på ett problem:", - "Hide/Show the control bar": "Göm/Visa kontrollbaren", - "Drag": "Dra", - "Move/Drag viewport": "Flytta/Dra vyn", - "Keyboard": "Tangentbord", - "Show keyboard": "Visa tangentbord", - "Extra keys": "Extraknappar", - "Show extra keys": "Visa extraknappar", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Växla Ctrl", - "Alt": "Alt", - "Toggle Alt": "Växla Alt", - "Toggle Windows": "Växla Windows", - "Windows": "Windows", - "Send Tab": "Skicka Tab", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "Skicka Escape", - "Ctrl+Alt+Del": "Ctrl+Alt+Del", - "Send Ctrl-Alt-Del": "Skicka Ctrl-Alt-Del", - "Shutdown/Reboot": "Stäng av/Starta om", - "Shutdown/Reboot...": "Stäng av/Starta om...", - "Power": "Ström", - "Shutdown": "Stäng av", - "Reboot": "Starta om", - "Reset": "Återställ", - "Clipboard": "Urklipp", - "Edit clipboard content in the textarea below.": "Redigera urklippets innehåll i fältet nedan.", - "Full screen": "Fullskärm", - "Settings": "Inställningar", - "Shared mode": "Delat läge", - "View only": "Endast visning", - "Clip to window": "Begränsa till fönster", - "Scaling mode:": "Skalningsläge:", - "None": "Ingen", - "Local scaling": "Lokal skalning", - "Remote resizing": "Ändra storlek", - "Advanced": "Avancerat", - "Quality:": "Kvalitet:", - "Compression level:": "Kompressionsnivå:", - "Repeater ID:": "Repeater-ID:", - "WebSocket": "WebSocket", - "Encrypt": "Kryptera", - "Host:": "Värd:", - "Port:": "Port:", - "Path:": "Sökväg:", - "Automatic reconnect": "Automatisk återanslutning", - "Reconnect delay (ms):": "Fördröjning (ms):", - "Show dot when no cursor": "Visa prick när ingen muspekare finns", - "Logging:": "Loggning:", - "Version:": "Version:", - "Disconnect": "Koppla ifrån", - "Connect": "Anslut", - "Server identity": "Serveridentitet", - "The server has provided the following identifying information:": "Servern har gett följande identifierande information:", - "Fingerprint:": "Fingeravtryck:", - "Please verify that the information is correct and press \"Approve\". Otherwise press \"Reject\".": "Kontrollera att informationen är korrekt och tryck sedan \"Godkänn\". Tryck annars \"Avvisa\".", - "Approve": "Godkänn", - "Reject": "Avvisa", - "Credentials": "Användaruppgifter", - "Username:": "Användarnamn:", - "Password:": "Lösenord:", - "Send credentials": "Skicka användaruppgifter", - "Cancel": "Avbryt" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/tr.json b/static/js/novnc/app/locale/tr.json deleted file mode 100644 index 90f81624..00000000 --- a/static/js/novnc/app/locale/tr.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Connecting...": "Bağlanıyor...", - "Disconnecting...": "Bağlantı kesiliyor...", - "Reconnecting...": "Yeniden bağlantı kuruluyor...", - "Internal error": "İç hata", - "Must set host": "Sunucuyu kur", - "Connected (encrypted) to ": "Bağlı (şifrelenmiş)", - "Connected (unencrypted) to ": "Bağlandı (şifrelenmemiş)", - "Something went wrong, connection is closed": "Bir şeyler ters gitti, bağlantı kesildi", - "Disconnected": "Bağlantı kesildi", - "New connection has been rejected with reason: ": "Bağlantı aşağıdaki nedenlerden dolayı reddedildi: ", - "New connection has been rejected": "Bağlantı reddedildi", - "Password is required": "Şifre gerekli", - "noVNC encountered an error:": "Bir hata oluştu:", - "Hide/Show the control bar": "Denetim masasını Gizle/Göster", - "Move/Drag Viewport": "Görünümü Taşı/Sürükle", - "viewport drag": "Görüntü penceresini sürükle", - "Active Mouse Button": "Aktif Fare Düğmesi", - "No mousebutton": "Fare düğmesi yok", - "Left mousebutton": "Farenin sol düğmesi", - "Middle mousebutton": "Farenin orta düğmesi", - "Right mousebutton": "Farenin sağ düğmesi", - "Keyboard": "Klavye", - "Show Keyboard": "Klavye Düzenini Göster", - "Extra keys": "Ekstra tuşlar", - "Show extra keys": "Ekstra tuşları göster", - "Ctrl": "Ctrl", - "Toggle Ctrl": "Ctrl Değiştir ", - "Alt": "Alt", - "Toggle Alt": "Alt Değiştir", - "Send Tab": "Sekme Gönder", - "Tab": "Sekme", - "Esc": "Esc", - "Send Escape": "Boşluk Gönder", - "Ctrl+Alt+Del": "Ctrl + Alt + Del", - "Send Ctrl-Alt-Del": "Ctrl-Alt-Del Gönder", - "Shutdown/Reboot": "Kapat/Yeniden Başlat", - "Shutdown/Reboot...": "Kapat/Yeniden Başlat...", - "Power": "Güç", - "Shutdown": "Kapat", - "Reboot": "Yeniden Başlat", - "Reset": "Sıfırla", - "Clipboard": "Pano", - "Clear": "Temizle", - "Fullscreen": "Tam Ekran", - "Settings": "Ayarlar", - "Shared Mode": "Paylaşım Modu", - "View Only": "Sadece Görüntüle", - "Clip to Window": "Pencereye Tıkla", - "Scaling Mode:": "Ölçekleme Modu:", - "None": "Bilinmeyen", - "Local Scaling": "Yerel Ölçeklendirme", - "Remote Resizing": "Uzaktan Yeniden Boyutlandırma", - "Advanced": "Gelişmiş", - "Repeater ID:": "Tekralayıcı ID:", - "WebSocket": "WebSocket", - "Encrypt": "Şifrele", - "Host:": "Ana makine:", - "Port:": "Port:", - "Path:": "Yol:", - "Automatic Reconnect": "Otomatik Yeniden Bağlan", - "Reconnect Delay (ms):": "Yeniden Bağlanma Süreci (ms):", - "Logging:": "Giriş yapılıyor:", - "Disconnect": "Bağlantıyı Kes", - "Connect": "Bağlan", - "Password:": "Parola:", - "Cancel": "Vazgeç", - "Canvas not supported.": "Tuval desteklenmiyor." -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/zh_CN.json b/static/js/novnc/app/locale/zh_CN.json deleted file mode 100644 index 1294bfef..00000000 --- a/static/js/novnc/app/locale/zh_CN.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "Running without HTTPS is not recommended, crashes or other issues are likely.": "不建议在没有 HTTPS 的情况下运行,可能会出现崩溃或出现其他问题。", - "Connecting...": "连接中...", - "Disconnecting...": "正在断开连接...", - "Reconnecting...": "重新连接中...", - "Internal error": "内部错误", - "Must set host": "必须设置主机", - "Failed to connect to server: ": "无法连接到服务器:", - "Connected (encrypted) to ": "已连接(已加密)到", - "Connected (unencrypted) to ": "已连接(未加密)到", - "Something went wrong, connection is closed": "出了点问题,连接已关闭", - "Failed to connect to server": "无法连接到服务器", - "Disconnected": "已断开连接", - "New connection has been rejected with reason: ": "新连接被拒绝,原因如下:", - "New connection has been rejected": "新连接已被拒绝", - "Credentials are required": "需要凭证", - "noVNC encountered an error:": "noVNC 遇到一个错误:", - "Hide/Show the control bar": "显示/隐藏控制栏", - "Drag": "拖动", - "Move/Drag viewport": "移动/拖动窗口", - "Keyboard": "键盘", - "Show keyboard": "显示键盘", - "Extra keys": "额外按键", - "Show extra keys": "显示额外按键", - "Ctrl": "Ctrl", - "Toggle Ctrl": "切换 Ctrl", - "Alt": "Alt", - "Toggle Alt": "切换 Alt", - "Toggle Windows": "切换窗口", - "Windows": "窗口", - "Send Tab": "发送 Tab 键", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "发送 Escape 键", - "Ctrl+Alt+Del": "Ctrl+Alt+Del", - "Send Ctrl-Alt-Del": "发送 Ctrl+Alt+Del 键", - "Shutdown/Reboot": "关机/重启", - "Shutdown/Reboot...": "关机/重启...", - "Power": "电源", - "Shutdown": "关机", - "Reboot": "重启", - "Reset": "重置", - "Clipboard": "剪贴板", - "Edit clipboard content in the textarea below.": "在下面的文本区域中编辑剪贴板内容。", - "Full screen": "全屏", - "Settings": "设置", - "Shared mode": "分享模式", - "View only": "仅查看", - "Clip to window": "限制/裁切窗口大小", - "Scaling mode:": "缩放模式:", - "None": "无", - "Local scaling": "本地缩放", - "Remote resizing": "远程调整大小", - "Advanced": "高级", - "Quality:": "品质:", - "Compression level:": "压缩级别:", - "Repeater ID:": "中继站 ID", - "WebSocket": "WebSocket", - "Encrypt": "加密", - "Host:": "主机:", - "Port:": "端口:", - "Path:": "路径:", - "Automatic reconnect": "自动重新连接", - "Reconnect delay (ms):": "重新连接间隔 (ms):", - "Show dot when no cursor": "无光标时显示点", - "Logging:": "日志级别:", - "Version:": "版本:", - "Disconnect": "断开连接", - "Connect": "连接", - "Server identity": "服务器身份", - "The server has provided the following identifying information:": "服务器提供了以下识别信息:", - "Fingerprint:": "指纹:", - "Please verify that the information is correct and press \"Approve\". Otherwise press \"Reject\".": "请核实信息是否正确,并按 “同意”,否则按 “拒绝”。", - "Approve": "同意", - "Reject": "拒绝", - "Credentials": "凭证", - "Username:": "用户名:", - "Password:": "密码:", - "Send credentials": "发送凭证", - "Cancel": "取消" -} \ No newline at end of file diff --git a/static/js/novnc/app/locale/zh_TW.json b/static/js/novnc/app/locale/zh_TW.json deleted file mode 100644 index 9d292a31..00000000 --- a/static/js/novnc/app/locale/zh_TW.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Connecting...": "連線中...", - "Disconnecting...": "正在中斷連線...", - "Reconnecting...": "重新連線中...", - "Internal error": "內部錯誤", - "Must set host": "請提供主機資訊", - "Connected (encrypted) to ": "已加密連線到", - "Connected (unencrypted) to ": "未加密連線到", - "Something went wrong, connection is closed": "發生錯誤,連線已關閉", - "Failed to connect to server": "無法連線到伺服器", - "Disconnected": "連線已中斷", - "New connection has been rejected with reason: ": "連線被拒絕,原因:", - "New connection has been rejected": "連線被拒絕", - "Password is required": "請提供密碼", - "noVNC encountered an error:": "noVNC 遇到一個錯誤:", - "Hide/Show the control bar": "顯示/隱藏控制列", - "Move/Drag viewport": "拖放顯示範圍", - "viewport drag": "顯示範圍拖放", - "Active Mouse Button": "啟用滑鼠按鍵", - "No mousebutton": "無滑鼠按鍵", - "Left mousebutton": "滑鼠左鍵", - "Middle mousebutton": "滑鼠中鍵", - "Right mousebutton": "滑鼠右鍵", - "Keyboard": "鍵盤", - "Show keyboard": "顯示鍵盤", - "Extra keys": "額外按鍵", - "Show extra keys": "顯示額外按鍵", - "Ctrl": "Ctrl", - "Toggle Ctrl": "切換 Ctrl", - "Alt": "Alt", - "Toggle Alt": "切換 Alt", - "Send Tab": "送出 Tab 鍵", - "Tab": "Tab", - "Esc": "Esc", - "Send Escape": "送出 Escape 鍵", - "Ctrl+Alt+Del": "Ctrl-Alt-Del", - "Send Ctrl-Alt-Del": "送出 Ctrl-Alt-Del 快捷鍵", - "Shutdown/Reboot": "關機/重新啟動", - "Shutdown/Reboot...": "關機/重新啟動...", - "Power": "電源", - "Shutdown": "關機", - "Reboot": "重新啟動", - "Reset": "重設", - "Clipboard": "剪貼簿", - "Clear": "清除", - "Fullscreen": "全螢幕", - "Settings": "設定", - "Shared mode": "分享模式", - "View only": "僅檢視", - "Clip to window": "限制/裁切視窗大小", - "Scaling mode:": "縮放模式:", - "None": "無", - "Local scaling": "本機縮放", - "Remote resizing": "遠端調整大小", - "Advanced": "進階", - "Repeater ID:": "中繼站 ID", - "WebSocket": "WebSocket", - "Encrypt": "加密", - "Host:": "主機:", - "Port:": "連接埠:", - "Path:": "路徑:", - "Automatic reconnect": "自動重新連線", - "Reconnect delay (ms):": "重新連線間隔 (ms):", - "Logging:": "日誌級別:", - "Disconnect": "中斷連線", - "Connect": "連線", - "Password:": "密碼:", - "Cancel": "取消" -} \ No newline at end of file diff --git a/static/js/novnc/app/localization.js b/static/js/novnc/app/localization.js deleted file mode 100644 index c8257fdb..00000000 --- a/static/js/novnc/app/localization.js +++ /dev/null @@ -1,206 +0,0 @@ -/* - * noVNC: HTML5 VNC client - * Copyright (C) 2018 The noVNC authors - * Licensed under MPL 2.0 (see LICENSE.txt) - * - * See README.md for usage and integration instructions. - */ - -/* - * Localization utilities - */ - -export class Localizer { - constructor() { - // Currently configured language - this.language = 'en'; - - // Current dictionary of translations - this._dictionary = undefined; - } - - // Configure suitable language based on user preferences - async setup(supportedLanguages, baseURL) { - this.language = 'en'; // Default: US English - this._dictionary = undefined; - - this._setupLanguage(supportedLanguages); - await this._setupDictionary(baseURL); - } - - _setupLanguage(supportedLanguages) { - /* - * Navigator.languages only available in Chrome (32+) and FireFox (32+) - * Fall back to navigator.language for other browsers - */ - let userLanguages; - if (typeof window.navigator.languages == 'object') { - userLanguages = window.navigator.languages; - } else { - userLanguages = [navigator.language || navigator.userLanguage]; - } - - for (let i = 0;i < userLanguages.length;i++) { - const userLang = userLanguages[i] - .toLowerCase() - .replace("_", "-") - .split("-"); - - // First pass: perfect match - for (let j = 0; j < supportedLanguages.length; j++) { - const supLang = supportedLanguages[j] - .toLowerCase() - .replace("_", "-") - .split("-"); - - if (userLang[0] !== supLang[0]) { - continue; - } - if (userLang[1] !== supLang[1]) { - continue; - } - - this.language = supportedLanguages[j]; - return; - } - - // Second pass: English fallback - if (userLang[0] === 'en') { - return; - } - - // Third pass pass: other fallback - for (let j = 0;j < supportedLanguages.length;j++) { - const supLang = supportedLanguages[j] - .toLowerCase() - .replace("_", "-") - .split("-"); - - if (userLang[0] !== supLang[0]) { - continue; - } - if (supLang[1] !== undefined) { - continue; - } - - this.language = supportedLanguages[j]; - return; - } - } - } - - async _setupDictionary(baseURL) { - if (baseURL) { - if (!baseURL.endsWith("/")) { - baseURL = baseURL + "/"; - } - } else { - baseURL = ""; - } - - if (this.language === "en") { - return; - } - - let response = await fetch(baseURL + this.language + ".json"); - if (!response.ok) { - throw Error("" + response.status + " " + response.statusText); - } - - this._dictionary = await response.json(); - } - - // Retrieve localised text - get(id) { - if (typeof this._dictionary !== 'undefined' && - this._dictionary[id]) { - return this._dictionary[id]; - } else { - return id; - } - } - - // Traverses the DOM and translates relevant fields - // See https://html.spec.whatwg.org/multipage/dom.html#attr-translate - translateDOM() { - const self = this; - - function process(elem, enabled) { - function isAnyOf(searchElement, items) { - return items.indexOf(searchElement) !== -1; - } - - function translateString(str) { - // We assume surrounding whitespace, and whitespace around line - // breaks is just for source formatting - str = str.split("\n").map(s => s.trim()).join(" ").trim(); - return self.get(str); - } - - function translateAttribute(elem, attr) { - const str = translateString(elem.getAttribute(attr)); - elem.setAttribute(attr, str); - } - - function translateTextNode(node) { - const str = translateString(node.data); - node.data = str; - } - - if (elem.hasAttribute("translate")) { - if (isAnyOf(elem.getAttribute("translate"), ["", "yes"])) { - enabled = true; - } else if (isAnyOf(elem.getAttribute("translate"), ["no"])) { - enabled = false; - } - } - - if (enabled) { - if (elem.hasAttribute("abbr") && - elem.tagName === "TH") { - translateAttribute(elem, "abbr"); - } - if (elem.hasAttribute("alt") && - isAnyOf(elem.tagName, ["AREA", "IMG", "INPUT"])) { - translateAttribute(elem, "alt"); - } - if (elem.hasAttribute("download") && - isAnyOf(elem.tagName, ["A", "AREA"])) { - translateAttribute(elem, "download"); - } - if (elem.hasAttribute("label") && - isAnyOf(elem.tagName, ["MENUITEM", "MENU", "OPTGROUP", - "OPTION", "TRACK"])) { - translateAttribute(elem, "label"); - } - // FIXME: Should update "lang" - if (elem.hasAttribute("placeholder") && - isAnyOf(elem.tagName, ["INPUT", "TEXTAREA"])) { - translateAttribute(elem, "placeholder"); - } - if (elem.hasAttribute("title")) { - translateAttribute(elem, "title"); - } - if (elem.hasAttribute("value") && - elem.tagName === "INPUT" && - isAnyOf(elem.getAttribute("type"), ["reset", "button", "submit"])) { - translateAttribute(elem, "value"); - } - } - - for (let i = 0; i < elem.childNodes.length; i++) { - const node = elem.childNodes[i]; - if (node.nodeType === node.ELEMENT_NODE) { - process(node, enabled); - } else if (node.nodeType === node.TEXT_NODE && enabled) { - translateTextNode(node); - } - } - } - - process(document.body, true); - } -} - -export const l10n = new Localizer(); -export default l10n.get.bind(l10n); diff --git a/static/js/novnc/app/styles/Orbitron700.ttf b/static/js/novnc/app/styles/Orbitron700.ttf deleted file mode 100644 index e28729dc..00000000 Binary files a/static/js/novnc/app/styles/Orbitron700.ttf and /dev/null differ diff --git a/static/js/novnc/app/styles/Orbitron700.woff b/static/js/novnc/app/styles/Orbitron700.woff deleted file mode 100644 index 61db630c..00000000 Binary files a/static/js/novnc/app/styles/Orbitron700.woff and /dev/null differ diff --git a/static/js/novnc/app/styles/base.css b/static/js/novnc/app/styles/base.css deleted file mode 100644 index 33f0f359..00000000 --- a/static/js/novnc/app/styles/base.css +++ /dev/null @@ -1,927 +0,0 @@ -/* - * noVNC base CSS - * Copyright (C) 2019 The noVNC authors - * noVNC is licensed under the MPL 2.0 (see LICENSE.txt) - * This file is licensed under the 2-Clause BSD license (see LICENSE.txt). - */ - -/* - * Z index layers: - * - * 0: Main screen - * 10: Control bar - * 50: Transition blocker - * 60: Connection popups - * 100: Status bar - * ... - * 1000: Javascript crash - * ... - * 10000: Max (used for polyfills) - */ - -/* - * State variables (set on :root): - * - * noVNC_loading: Page is still loading - * noVNC_connecting: Connecting to server - * noVNC_reconnecting: Re-establishing a connection - * noVNC_connected: Connected to server (most common state) - * noVNC_disconnecting: Disconnecting from server - */ - -:root { - font-family: sans-serif; - line-height: 1.6; -} - -body { - margin:0; - padding:0; - /*Background image with light grey curve.*/ - background-color:#494949; - background-repeat:no-repeat; - background-position:right bottom; - height:100%; - touch-action: none; -} - -html { - height:100%; -} - -.noVNC_only_touch.noVNC_hidden { - display: none; -} - -.noVNC_disabled { - color: var(--novnc-grey); -} - -/* ---------------------------------------- - * Spinner - * ---------------------------------------- - */ - -.noVNC_spinner { - position: relative; -} -.noVNC_spinner, .noVNC_spinner::before, .noVNC_spinner::after { - width: 10px; - height: 10px; - border-radius: 2px; - box-shadow: -60px 10px 0 rgba(255, 255, 255, 0); - animation: noVNC_spinner 1.0s linear infinite; -} -.noVNC_spinner::before { - content: ""; - position: absolute; - left: 0px; - top: 0px; - animation-delay: -0.1s; -} -.noVNC_spinner::after { - content: ""; - position: absolute; - top: 0px; - left: 0px; - animation-delay: 0.1s; -} -@keyframes noVNC_spinner { - 0% { box-shadow: -60px 10px 0 rgba(255, 255, 255, 0); width: 20px; } - 25% { box-shadow: 20px 10px 0 rgba(255, 255, 255, 1); width: 10px; } - 50% { box-shadow: 60px 10px 0 rgba(255, 255, 255, 0); width: 10px; } -} - -/* ---------------------------------------- - * WebKit centering hacks - * ---------------------------------------- - */ - -.noVNC_center { - /* - * This is a workaround because webkit misrenders transforms and - * uses non-integer coordinates, resulting in blurry content. - * Ideally we'd use "top: 50%; transform: translateY(-50%);" on - * the objects instead. - */ - display: flex; - align-items: center; - justify-content: center; - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - pointer-events: none; -} -.noVNC_center > * { - pointer-events: auto; -} -.noVNC_vcenter { - display: flex !important; - flex-direction: column; - justify-content: center; - position: fixed; - top: 0; - left: 0; - height: 100%; - margin: 0 !important; - padding: 0 !important; - pointer-events: none; -} -.noVNC_vcenter > * { - pointer-events: auto; -} - -/* ---------------------------------------- - * Layering - * ---------------------------------------- - */ - -.noVNC_connect_layer { - z-index: 60; -} - -/* ---------------------------------------- - * Fallback error - * ---------------------------------------- - */ - -#noVNC_fallback_error { - z-index: 1000; - visibility: hidden; - /* Put a dark background in front of everything but the error, - and don't let mouse events pass through */ - background: rgba(0, 0, 0, 0.8); - pointer-events: all; -} -#noVNC_fallback_error.noVNC_open { - visibility: visible; -} - -#noVNC_fallback_error > div { - max-width: calc(100vw - 30px - 30px); - max-height: calc(100vh - 30px - 30px); - overflow: auto; - - padding: 15px; - - transition: 0.5s ease-in-out; - - transform: translateY(-50px); - opacity: 0; - - text-align: center; - font-weight: bold; - color: #fff; - - border-radius: 12px; - box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5); - background: rgba(200,55,55,0.8); -} -#noVNC_fallback_error.noVNC_open > div { - transform: translateY(0); - opacity: 1; -} - -#noVNC_fallback_errormsg { - font-weight: normal; -} - -#noVNC_fallback_errormsg .noVNC_message { - display: inline-block; - text-align: left; - font-family: monospace; - white-space: pre-wrap; -} - -#noVNC_fallback_error .noVNC_location { - font-style: italic; - font-size: 0.8em; - color: rgba(255, 255, 255, 0.8); -} - -#noVNC_fallback_error .noVNC_stack { - padding: 10px; - margin: 10px; - font-size: 0.8em; - text-align: left; - font-family: monospace; - white-space: pre; - border: 1px solid rgba(0, 0, 0, 0.5); - background: rgba(0, 0, 0, 0.2); - overflow: auto; -} - -/* ---------------------------------------- - * Control bar - * ---------------------------------------- - */ - -#noVNC_control_bar_anchor { - /* The anchor is needed to get z-stacking to work */ - position: fixed; - z-index: 10; - - transition: 0.5s ease-in-out; - - /* Edge misrenders animations wihthout this */ - transform: translateX(0); -} -:root.noVNC_connected #noVNC_control_bar_anchor.noVNC_idle { - opacity: 0.8; -} -#noVNC_control_bar_anchor.noVNC_right { - left: auto; - right: 0; -} - -#noVNC_control_bar { - position: relative; - left: -100%; - - transition: 0.5s ease-in-out; - - background-color: var(--novnc-blue); - border-radius: 0 12px 12px 0; - - user-select: none; - -webkit-user-select: none; - -webkit-touch-callout: none; /* Disable iOS image long-press popup */ -} -#noVNC_control_bar.noVNC_open { - box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5); - left: 0; -} -#noVNC_control_bar::before { - /* This extra element is to get a proper shadow */ - content: ""; - position: absolute; - z-index: -1; - height: 100%; - width: 30px; - left: -30px; - transition: box-shadow 0.5s ease-in-out; -} -#noVNC_control_bar.noVNC_open::before { - box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5); -} -.noVNC_right #noVNC_control_bar { - left: 100%; - border-radius: 12px 0 0 12px; -} -.noVNC_right #noVNC_control_bar.noVNC_open { - left: 0; -} -.noVNC_right #noVNC_control_bar::before { - visibility: hidden; -} - -#noVNC_control_bar_handle { - position: absolute; - left: -15px; - top: 0; - transform: translateY(35px); - width: calc(100% + 30px); - height: 50px; - z-index: -1; - cursor: pointer; - border-radius: 6px; - background-color: var(--novnc-darkblue); - background-image: url("../images/handle_bg.svg"); - background-repeat: no-repeat; - background-position: right; - box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5); -} -#noVNC_control_bar_handle:after { - content: ""; - transition: transform 0.5s ease-in-out; - background: url("../images/handle.svg"); - position: absolute; - top: 22px; /* (50px-6px)/2 */ - right: 5px; - width: 5px; - height: 6px; -} -#noVNC_control_bar.noVNC_open #noVNC_control_bar_handle:after { - transform: translateX(1px) rotate(180deg); -} -:root:not(.noVNC_connected) #noVNC_control_bar_handle { - display: none; -} -.noVNC_right #noVNC_control_bar_handle { - background-position: left; -} -.noVNC_right #noVNC_control_bar_handle:after { - left: 5px; - right: 0; - transform: translateX(1px) rotate(180deg); -} -.noVNC_right #noVNC_control_bar.noVNC_open #noVNC_control_bar_handle:after { - transform: none; -} -/* Larger touch area for the handle, used when a touch screen is available */ -#noVNC_control_bar_handle div { - position: absolute; - right: -35px; - top: 0; - width: 50px; - height: 100%; - display: none; -} -@media (any-pointer: coarse) { - #noVNC_control_bar_handle div { - display: initial; - } -} -.noVNC_right #noVNC_control_bar_handle div { - left: -35px; - right: auto; -} - -#noVNC_control_bar > .noVNC_scroll { - max-height: 100vh; /* Chrome is buggy with 100% */ - overflow-x: hidden; - overflow-y: auto; - padding: 0 10px; -} - -#noVNC_control_bar > .noVNC_scroll > * { - display: block; - margin: 10px auto; -} - -/* Control bar hint */ -#noVNC_hint_anchor { - position: fixed; - right: -50px; - left: auto; -} -#noVNC_control_bar_anchor.noVNC_right + #noVNC_hint_anchor { - left: -50px; - right: auto; -} -#noVNC_control_bar_hint { - position: relative; - transform: scale(0); - width: 100px; - height: 50%; - max-height: 600px; - - visibility: hidden; - opacity: 0; - transition: 0.2s ease-in-out; - background: transparent; - box-shadow: 0 0 10px black, inset 0 0 10px 10px var(--novnc-darkblue); - border-radius: 12px; - transition-delay: 0s; -} -#noVNC_control_bar_hint.noVNC_active { - visibility: visible; - opacity: 1; - transition-delay: 0.2s; - transform: scale(1); -} -#noVNC_control_bar_hint.noVNC_notransition { - transition: none !important; -} - -/* Control bar buttons */ -#noVNC_control_bar .noVNC_button { - min-width: unset; - padding: 4px 4px; - vertical-align: middle; - border:1px solid rgba(255, 255, 255, 0.2); - border-radius: 6px; - background-color: transparent; -} -#noVNC_control_bar .noVNC_button.noVNC_selected { - border-color: rgba(0, 0, 0, 0.8); - background-color: rgba(0, 0, 0, 0.5); -} -#noVNC_control_bar .noVNC_button.noVNC_hidden { - display: none !important; -} - -/* Panels */ -.noVNC_panel { - transform: translateX(25px); - - transition: 0.5s ease-in-out; - - box-sizing: border-box; /* so max-width don't have to care about padding */ - max-width: calc(100vw - 75px - 25px); /* minus left and right margins */ - max-height: 100vh; /* Chrome is buggy with 100% */ - overflow-x: hidden; - overflow-y: auto; - - visibility: hidden; - opacity: 0; - - padding: 15px; - - background: #fff; - border-radius: 12px; - color: #000; - border: 2px solid #E0E0E0; - box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5); -} -.noVNC_panel.noVNC_open { - visibility: visible; - opacity: 1; - transform: translateX(75px); -} -.noVNC_right .noVNC_vcenter { - left: auto; - right: 0; -} -.noVNC_right .noVNC_panel { - transform: translateX(-25px); -} -.noVNC_right .noVNC_panel.noVNC_open { - transform: translateX(-75px); -} - -.noVNC_panel > * { - display: block; - margin: 10px auto; -} -.noVNC_panel > *:first-child { - margin-top: 0 !important; -} -.noVNC_panel > *:last-child { - margin-bottom: 0 !important; -} - -.noVNC_panel hr { - border: none; - border-top: 1px solid var(--novnc-lightgrey); - width: 100%; /*
inside a flexbox will otherwise be 0px wide */ -} - -.noVNC_panel label { - display: block; - white-space: nowrap; - margin: 5px; -} -@media (max-width: 540px) { - /* Allow wrapping on small screens */ - .noVNC_panel label { - white-space: unset; - } -} - -.noVNC_panel li { - margin: 5px; -} - -.noVNC_panel .noVNC_heading { - background-color: var(--novnc-blue); - border-radius: 6px; - padding: 5px 8px; - /* Compensate for padding in image */ - padding-right: 11px; - display: flex; - align-items: center; - gap: 6px; - color: white; - font-size: 20px; - font-weight: bold; - white-space: nowrap; -} -.noVNC_panel .noVNC_heading img { - vertical-align: bottom; -} - -.noVNC_panel form { - display: flex; - flex-direction: column; - gap: 12px -} - -.noVNC_panel .button_row { - margin-top: 10px; - display: flex; - gap: 10px; - justify-content: space-between; -} -.noVNC_panel .button_row *:only-child { - margin-left: auto; /* Align single buttons to the right */ -} - -/* Expanders */ -.noVNC_expander { - cursor: pointer; -} -.noVNC_expander::before { - content: url("../images/expander.svg"); - display: inline-block; - margin-right: 5px; - transition: 0.2s ease-in-out; -} -.noVNC_expander.noVNC_open::before { - transform: rotateZ(90deg); -} -.noVNC_expander ~ * { - margin: 5px; - margin-left: 10px; - padding: 5px; - background: rgba(0, 0, 0, 0.04); - border-radius: 6px; -} -.noVNC_expander:not(.noVNC_open) ~ * { - display: none; -} - -/* Control bar content */ - -#noVNC_control_bar .noVNC_logo { - font-size: 13px; -} - -.noVNC_logo + hr { - /* Remove all but top border */ - border: none; - border-top: 1px solid rgba(255, 255, 255, 0.2); -} - -:root:not(.noVNC_connected) #noVNC_view_drag_button { - display: none; -} - -/* noVNC Touch Device only buttons */ -:root:not(.noVNC_connected) #noVNC_mobile_buttons { - display: none; -} -@media not all and (any-pointer: coarse) { - /* FIXME: The button for the virtual keyboard is the only button in this - group of "mobile buttons". It is bad to assume that no touch - devices have physical keyboards available. Hopefully we can get - a media query for this: - https://github.com/w3c/csswg-drafts/issues/3871 */ - :root.noVNC_connected #noVNC_mobile_buttons { - display: none; - } -} - -/* Extra manual keys */ -:root:not(.noVNC_connected) #noVNC_toggle_extra_keys_button { - display: none; -} - -#noVNC_modifiers { - background-color: var(--novnc-darkgrey); - border: none; - padding: 10px; -} - -/* Shutdown/Reboot */ -:root:not(.noVNC_connected) #noVNC_power_button { - display: none; -} -#noVNC_power { -} -#noVNC_power_buttons { - display: none; -} - -#noVNC_power input[type=button] { - width: 100%; -} - -/* Clipboard */ -:root:not(.noVNC_connected) #noVNC_clipboard_button { - display: none; -} -#noVNC_clipboard_text { - width: 360px; - min-width: 150px; - height: 160px; - min-height: 70px; - - box-sizing: border-box; - max-width: 100%; - /* minus approximate height of title, height of subtitle, and margin */ - max-height: calc(100vh - 10em - 25px); -} - -/* Settings */ -#noVNC_settings { -} -#noVNC_settings ul { - list-style: none; - padding: 0px; -} -#noVNC_settings button, -#noVNC_settings select, -#noVNC_settings textarea, -#noVNC_settings input:not([type=checkbox]):not([type=radio]) { - margin-left: 6px; - /* Prevent inputs in settings from being too wide */ - max-width: calc(100% - 6px - var(--input-xpadding) * 2); -} - -#noVNC_setting_port { - width: 80px; -} -#noVNC_setting_path { - width: 100px; -} - -/* Version */ - -.noVNC_version_wrapper { - font-size: small; -} - -.noVNC_version { - margin-left: 1rem; -} - -/* Connection controls */ -:root:not(.noVNC_connected) #noVNC_disconnect_button { - display: none; -} - -/* ---------------------------------------- - * Status dialog - * ---------------------------------------- - */ - -#noVNC_status { - position: fixed; - top: 0; - left: 0; - width: 100%; - z-index: 100; - transform: translateY(-100%); - - cursor: pointer; - - transition: 0.5s ease-in-out; - - visibility: hidden; - opacity: 0; - - padding: 5px; - - display: flex; - flex-direction: row; - justify-content: center; - align-content: center; - - line-height: 1.6; - word-wrap: break-word; - color: #fff; - - border-bottom: 1px solid rgba(0, 0, 0, 0.9); -} -#noVNC_status.noVNC_open { - transform: translateY(0); - visibility: visible; - opacity: 1; -} - -#noVNC_status::before { - content: ""; - display: inline-block; - width: 25px; - height: 25px; - margin-right: 5px; -} - -#noVNC_status.noVNC_status_normal { - background: rgba(128,128,128,0.9); -} -#noVNC_status.noVNC_status_normal::before { - content: url("../images/info.svg") " "; -} -#noVNC_status.noVNC_status_error { - background: rgba(200,55,55,0.9); -} -#noVNC_status.noVNC_status_error::before { - content: url("../images/error.svg") " "; -} -#noVNC_status.noVNC_status_warn { - background: rgba(180,180,30,0.9); -} -#noVNC_status.noVNC_status_warn::before { - content: url("../images/warning.svg") " "; -} - -/* ---------------------------------------- - * Connect dialog - * ---------------------------------------- - */ - -#noVNC_connect_dlg { - transition: 0.5s ease-in-out; - - transform: scale(0, 0); - visibility: hidden; - opacity: 0; -} -#noVNC_connect_dlg.noVNC_open { - transform: scale(1, 1); - visibility: visible; - opacity: 1; -} -#noVNC_connect_dlg .noVNC_logo { - transition: 0.5s ease-in-out; - padding: 10px; - margin-bottom: 10px; - - font-size: 80px; - text-align: center; - - border-radius: 6px; -} -@media (max-width: 440px) { - #noVNC_connect_dlg { - max-width: calc(100vw - 100px); - } - #noVNC_connect_dlg .noVNC_logo { - font-size: calc(25vw - 30px); - } -} -#noVNC_connect_dlg div { - padding: 18px; - - background-color: var(--novnc-darkgrey); - border-radius: 12px; - text-align: center; - font-size: 20px; - - box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5); -} -#noVNC_connect_button { - width: 100%; - padding: 6px 30px; - cursor: pointer; - border-color: transparent; - border-radius: 12px; - background-color: var(--novnc-blue); - color: white; - - display: flex; - justify-content: center; - place-items: center; - gap: 4px; -} - -#noVNC_connect_button img { - vertical-align: bottom; - height: 1.3em; -} - -/* ---------------------------------------- - * Server verification dialog - * ---------------------------------------- - */ - -#noVNC_verify_server_dlg { - position: relative; - - transform: translateY(-50px); -} -#noVNC_verify_server_dlg.noVNC_open { - transform: translateY(0); -} -#noVNC_fingerprint_block { - margin: 10px; -} - -/* ---------------------------------------- - * Password dialog - * ---------------------------------------- - */ - -#noVNC_credentials_dlg { - position: relative; - - transform: translateY(-50px); -} -#noVNC_credentials_dlg.noVNC_open { - transform: translateY(0); -} -#noVNC_username_block.noVNC_hidden, -#noVNC_password_block.noVNC_hidden { - display: none; -} - - -/* ---------------------------------------- - * Main area - * ---------------------------------------- - */ - -/* Transition screen */ -#noVNC_transition { - transition: 0.5s ease-in-out; - - display: flex; - opacity: 0; - visibility: hidden; - - position: fixed; - top: 0; - left: 0; - bottom: 0; - right: 0; - - color: white; - background: rgba(0, 0, 0, 0.5); - z-index: 50; - - /*display: flex;*/ - align-items: center; - justify-content: center; - flex-direction: column; -} -:root.noVNC_loading #noVNC_transition, -:root.noVNC_connecting #noVNC_transition, -:root.noVNC_disconnecting #noVNC_transition, -:root.noVNC_reconnecting #noVNC_transition { - opacity: 1; - visibility: visible; -} -:root:not(.noVNC_reconnecting) #noVNC_cancel_reconnect_button { - display: none; -} -#noVNC_transition_text { - font-size: 1.5em; -} - -/* Main container */ -#noVNC_container { - width: 100%; - height: 100%; - background-color: #313131; - border-bottom-right-radius: 800px 600px; - /*border-top-left-radius: 800px 600px;*/ - - /* If selection isn't disabled, long-pressing stuff in the sidebar - can accidentally select the container or the canvas. This can - happen when attempting to move the handle. */ - user-select: none; - -webkit-user-select: none; -} - -#noVNC_keyboardinput { - width: 1px; - height: 1px; - background-color: #fff; - color: #fff; - border: 0; - position: absolute; - left: -40px; - z-index: -1; - ime-mode: disabled; -} - -/*Default noVNC logo.*/ -/* From: http://fonts.googleapis.com/css?family=Orbitron:700 */ -@font-face { - font-family: 'Orbitron'; - font-style: normal; - font-weight: 700; - src: local('?'), url('Orbitron700.woff') format('woff'), - url('Orbitron700.ttf') format('truetype'); -} - -.noVNC_logo { - color: var(--novnc-yellow); - font-family: 'Orbitron', 'OrbitronTTF', sans-serif; - line-height: 0.9; - text-shadow: 0.1em 0.1em 0 black; -} -.noVNC_logo span{ - color: var(--novnc-green); -} - -#noVNC_bell { - display: none; -} - -/* ---------------------------------------- - * Media sizing - * ---------------------------------------- - */ - -@media screen and (max-width: 640px){ - #noVNC_logo { - font-size: 150px; - } -} - -@media screen and (min-width: 321px) and (max-width: 480px) { - #noVNC_logo { - font-size: 110px; - } -} - -@media screen and (max-width: 320px) { - #noVNC_logo { - font-size: 90px; - } -} diff --git a/static/js/novnc/app/styles/constants.css b/static/js/novnc/app/styles/constants.css deleted file mode 100644 index 1123a3ef..00000000 --- a/static/js/novnc/app/styles/constants.css +++ /dev/null @@ -1,30 +0,0 @@ -/* - * noVNC general CSS constant variables - * Copyright (C) 2025 The noVNC authors - * noVNC is licensed under the MPL 2.0 (see LICENSE.txt) - * This file is licensed under the 2-Clause BSD license (see LICENSE.txt). - */ - -/* ---------- COLORS ----------- */ - -:root { - --novnc-grey: rgb(128, 128, 128); - --novnc-lightgrey: rgb(192, 192, 192); - --novnc-darkgrey: rgb(92, 92, 92); - - /* Transparent to make button colors adapt to the background */ - --novnc-buttongrey: rgba(192, 192, 192, 0.5); - - --novnc-blue: rgb(110, 132, 163); - --novnc-lightblue: rgb(74, 144, 217); - --novnc-darkblue: rgb(83, 99, 122); - - --novnc-green: rgb(0, 128, 0); - --novnc-yellow: rgb(255, 255, 0); -} - -/* ------ MISC PROPERTIES ------ */ - -:root { - --input-xpadding: 1em; -} diff --git a/static/js/novnc/app/styles/input.css b/static/js/novnc/app/styles/input.css deleted file mode 100644 index 8273d70a..00000000 --- a/static/js/novnc/app/styles/input.css +++ /dev/null @@ -1,628 +0,0 @@ -/* - * noVNC general input element CSS - * Copyright (C) 2025 The noVNC authors - * noVNC is licensed under the MPL 2.0 (see LICENSE.txt) - * This file is licensed under the 2-Clause BSD license (see LICENSE.txt). - */ - -/* ------- SHARED BETWEEN INPUT ELEMENTS -------- */ - -input, -textarea, -button, -select, -input::file-selector-button { - padding: 0.5em var(--input-xpadding); - border-radius: 6px; - appearance: none; - text-overflow: ellipsis; - - /* Respect standard font settings */ - font: inherit; - line-height: 1.6; -} -input:disabled, -textarea:disabled, -button:disabled, -select:disabled, -label[disabled] { - opacity: 0.4; -} - -input:focus-visible, -textarea:focus-visible, -button:focus-visible, -select:focus-visible, -input:focus-visible::file-selector-button { - outline: 2px solid var(--novnc-lightblue); - outline-offset: 1px; -} - -/* ------- TEXT INPUT -------- */ - -input:not([type]), -input[type=date], -input[type=datetime-local], -input[type=email], -input[type=month], -input[type=number], -input[type=password], -input[type=search], -input[type=tel], -input[type=text], -input[type=time], -input[type=url], -input[type=week], -textarea { - border: 1px solid var(--novnc-lightgrey); - /* Account for borders on text inputs, buttons dont have borders */ - padding: calc(0.5em - 1px) var(--input-xpadding); -} -input:not([type]):focus-visible, -input[type=date]:focus-visible, -input[type=datetime-local]:focus-visible, -input[type=email]:focus-visible, -input[type=month]:focus-visible, -input[type=number]:focus-visible, -input[type=password]:focus-visible, -input[type=search]:focus-visible, -input[type=tel]:focus-visible, -input[type=text]:focus-visible, -input[type=time]:focus-visible, -input[type=url]:focus-visible, -input[type=week]:focus-visible, -textarea:focus-visible { - outline-offset: -1px; -} - -textarea { - margin: unset; /* Remove Firefox's built in margin */ - /* Prevent layout from shifting when scrollbars show */ - scrollbar-gutter: stable; - /* Make textareas show at minimum one line. This does not work when - using box-sizing border-box, in which case, vertical padding and - border width needs to be taken into account. */ - min-height: 1lh; - vertical-align: baseline; /* Firefox gives "text-bottom" by default */ -} - -/* ------- NUMBER PICKERS ------- */ - -/* We can't style the number spinner buttons: - https://github.com/w3c/csswg-drafts/issues/8777 */ -input[type=number]::-webkit-inner-spin-button, -input[type=number]::-webkit-outer-spin-button { - /* Get rid of increase/decrease buttons in WebKit */ - appearance: none; -} -input[type=number] { - /* Get rid of increase/decrease buttons in Firefox */ - appearance: textfield; -} - -/* ------- BUTTON ACTIVATIONS -------- */ - -/* A color overlay that depends on the activation level. The level can then be - set for different states on an element, for example hover and click on a - - - - - - -
-
-
- Server identity -
-
- The server has provided the following identifying information: -
-
- Fingerprint: - -
-
- Please verify that the information is correct and press - "Approve". Otherwise press "Reject". -
-
- - -
-
-
- - -
-
-
- Credentials -
-
- - -
-
- - -
-
- -
-
-
- - -
-
-
- -
-
-
- - -
- - -
- - - - diff --git a/static/js/novnc/vnc_lite.html b/static/js/novnc/vnc_lite.html deleted file mode 100644 index 79d48146..00000000 --- a/static/js/novnc/vnc_lite.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - noVNC - - - - - - - -
-
Loading
-
Send CtrlAltDel
-
-
- -
- - diff --git a/webvirtcloud/asgi.py b/webvirtcloud/asgi.py deleted file mode 100644 index 521fe592..00000000 --- a/webvirtcloud/asgi.py +++ /dev/null @@ -1,16 +0,0 @@ -""" -ASGI config for webvirtcloud project. - -It exposes the ASGI callable as a module-level variable named ``application``. - -For more information on this file, see -https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ -""" - -import os - -from django.core.asgi import get_asgi_application - -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'webvirtcloud.settings') - -application = get_asgi_application() diff --git a/webvirtcloud/tests/test_icon_cache.py b/webvirtcloud/tests/test_icon_cache.py index 06d2583d..2b8662bb 100644 --- a/webvirtcloud/tests/test_icon_cache.py +++ b/webvirtcloud/tests/test_icon_cache.py @@ -1,5 +1,6 @@ """Every {% bs_icon %} of the templates is in the committed icon cache -(webvirtcloud/bootstrap_icons.py): a missing one is an error page.""" +(webvirtcloud/bootstrap_icons.py), and the cache holds nothing else: a +missing one is an error page.""" import re import unittest @@ -17,9 +18,9 @@ KWARG = re.compile(r"""(\w+)=['"]([^'"]*)['"]""") class IconCacheTestCase(unittest.TestCase): - def test_every_template_icon_is_cached(self): + def test_the_cache_holds_every_template_icon_and_no_other(self): cache = ICONS - missing = [] + missing, used = [], set() templates = [*BASE.glob("templates/**/*.html"), *BASE.glob("*/templates/**/*.html")] self.assertGreater(len(templates), 50) # the globs still find the templates for template in templates: @@ -29,9 +30,11 @@ class IconCacheTestCase(unittest.TestCase): kw = dict(KWARG.findall(args)) # the file name bs_icon reads cached = f"{name.group(1)}_{kw.get('size')}_{kw.get('color')}_{kw.get('extra_classes')}.svg".replace(" ", "_") + used.add(cached) if not (cache / cached).exists(): missing.append(f"{template.relative_to(BASE)}: {cached}") self.assertEqual(missing, []) + self.assertEqual(sorted({path.name for path in cache.glob("*.svg")} - used), []) def test_an_icon_is_its_svg_inline(self): html = Template("{% load bootstrap_icons %}{% bs_icon 'pencil' %}").render(Context())