6279: Move webshell action into VirtualMachinesController, tweak formatting & config.
authorTom Clegg <tom@curoverse.com>
Thu, 9 Jul 2015 20:38:16 +0000 (16:38 -0400)
committerTom Clegg <tom@curoverse.com>
Thu, 9 Jul 2015 20:38:16 +0000 (16:38 -0400)
commiteb4fb5479e86795128e71ebd1bb478b50ff6d7c9
treeb2f80af7cbb72b0c3e0b3af9279f4d5af5256cba
parentf19af5689832a7b28a60f433cea850ca06841230
6279: Move webshell action into VirtualMachinesController, tweak formatting & config.

* Document config var

* Accept formatting references like %{hostname} and %{uuid} in config
  var instead of always appending "/#{hostname}"

* Fix favicon, js, and stylesheet paths (use asset_path helper); move
  js and css into public/webshell/

* Use j() quoting helper in js.erb
apps/workbench/app/controllers/actions_controller.rb
apps/workbench/app/controllers/virtual_machines_controller.rb
apps/workbench/app/views/users/_manage_virtual_machines.html.erb
apps/workbench/app/views/virtual_machines/webshell.html.erb [moved from apps/workbench/app/views/virtual_machines/_webshell.html.erb with 69% similarity]
apps/workbench/config/application.default.yml
apps/workbench/config/routes.rb
apps/workbench/public/webshell/README [new file with mode: 0644]
apps/workbench/public/webshell/shell_in_a_box.js [moved from apps/workbench/public/shell_in_a_box.js with 100% similarity]
apps/workbench/public/webshell/styles.css [moved from apps/workbench/public/webshell_styles.css with 100% similarity]