diff --git a/client/listeners/index.js b/client/listeners/index.js index 364d60ba..aa1cc9ea 100644 --- a/client/listeners/index.js +++ b/client/listeners/index.js @@ -134,6 +134,7 @@ module.exports.initKeysPanel = () => { 'f9' : CloudCmd.Menu.show, 'f10' : CloudCmd.Config.show, '~' : CloudCmd.Konsole.show, + 'shift~' : CloudCmd.Terminal.show, 'contact' : CloudCmd.Contact.show, }; diff --git a/css/icons.css b/css/icons.css index 199cdd6f..aece5439 100644 --- a/css/icons.css +++ b/css/icons.css @@ -127,3 +127,8 @@ font-family : 'Fontello'; content : '\e81a '; } + +.icon-terminal::before { + font-family : 'Fontello'; + content : '\e81b '; +} diff --git a/font/fontello.eot b/font/fontello.eot index 65c4d297..ae073b83 100644 Binary files a/font/fontello.eot and b/font/fontello.eot differ diff --git a/font/fontello.svg b/font/fontello.svg index 77aea151..d57b1f5d 100644 --- a/font/fontello.svg +++ b/font/fontello.svg @@ -1,38 +1,66 @@ -Copyright (C) 2015 by original authors @ fontello.com +Copyright (C) 2017 by original authors @ fontello.com - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/fontello.ttf b/font/fontello.ttf index 1562b480..e79f2905 100644 Binary files a/font/fontello.ttf and b/font/fontello.ttf differ diff --git a/font/fontello.woff b/font/fontello.woff index 6c5abc6e..61c5a5f4 100644 Binary files a/font/fontello.woff and b/font/fontello.woff differ diff --git a/font/fontello.woff2 b/font/fontello.woff2 index 63a86e3e..b4d6b0af 100644 Binary files a/font/fontello.woff2 and b/font/fontello.woff2 differ diff --git a/html/index.html b/html/index.html index 535013ab..b080e389 100644 --- a/html/index.html +++ b/html/index.html @@ -29,6 +29,7 @@ + diff --git a/server/route.js b/server/route.js index 0492092f..1d8af46b 100644 --- a/server/route.js +++ b/server/route.js @@ -59,6 +59,7 @@ function indexProcessing(options) { const isOnePanel = config('onePanelMode'); const noConfig = !config('configDialog'); const noConsole = !config('console'); + const noTerminal = !config('terminal'); const panel = options.panel; let data = options.data; @@ -90,6 +91,10 @@ function indexProcessing(options) { data = data .replace('icon-console', 'icon-console none'); + if (noTerminal) + data = data + .replace('icon-terminal', 'icon-termianl none'); + let left = rendy(Template.panel, { side : 'left', content : panel,