2016-12-14 19:59:04 -05:00
|
|
|
- @no_container = true
|
2018-11-19 16:26:26 -05:00
|
|
|
- page_title _("Terminal for environment"), @environment.name
|
2016-12-14 19:59:04 -05:00
|
|
|
|
|
|
|
- content_for :page_specific_javascripts do
|
2018-09-17 06:32:01 -04:00
|
|
|
= stylesheet_link_tag "xterm.css"
|
2016-12-14 19:59:04 -05:00
|
|
|
|
2016-12-26 05:47:16 -05:00
|
|
|
%div{ class: container_class }
|
2016-12-14 19:59:04 -05:00
|
|
|
.top-area
|
|
|
|
.row
|
|
|
|
.col-sm-6
|
|
|
|
%h3.page-title
|
2018-11-19 16:26:26 -05:00
|
|
|
= _("Terminal for environment")
|
2016-12-14 19:59:04 -05:00
|
|
|
= @environment.name
|
|
|
|
|
|
|
|
.col-sm-6
|
|
|
|
.nav-controls
|
2017-05-02 07:21:06 -04:00
|
|
|
- if @environment.external_url.present?
|
|
|
|
= link_to @environment.external_url, class: 'btn btn-default', target: '_blank', rel: 'noopener noreferrer nofollow' do
|
2018-06-27 04:51:37 -04:00
|
|
|
= sprite_icon('external-link')
|
2016-12-14 19:59:04 -05:00
|
|
|
= render 'projects/deployments/actions', deployment: @environment.last_deployment
|
|
|
|
|
2016-12-26 05:47:16 -05:00
|
|
|
.terminal-container{ class: container_class }
|
2017-06-29 13:06:35 -04:00
|
|
|
#terminal{ data: { project_path: "#{terminal_project_environment_path(@project, @environment)}.ws" } }
|