2018-11-19 21:26:26 +00:00
|
|
|
- page_title _("Terminal for environment"), @environment.name
|
2020-10-20 06:09:03 +00:00
|
|
|
- add_page_specific_style 'page_bundles/terminal'
|
2016-12-15 00:59:04 +00:00
|
|
|
- content_for :page_specific_javascripts do
|
2018-09-17 10:32:01 +00:00
|
|
|
= stylesheet_link_tag "xterm.css"
|
2016-12-15 00:59:04 +00:00
|
|
|
|
2019-09-03 09:03:35 +00:00
|
|
|
.top-area
|
|
|
|
.row
|
|
|
|
.col-sm-6
|
|
|
|
%h3.page-title
|
|
|
|
= _("Terminal for environment")
|
|
|
|
= @environment.name
|
2016-12-15 00:59:04 +00:00
|
|
|
|
2019-09-03 09:03:35 +00:00
|
|
|
.col-sm-6
|
|
|
|
.nav-controls
|
|
|
|
- if @environment.external_url.present?
|
2020-10-20 15:08:57 +00:00
|
|
|
= link_to @environment.external_url, class: 'gl-button btn btn-default', target: '_blank', rel: 'noopener noreferrer nofollow' do
|
2019-09-03 09:03:35 +00:00
|
|
|
= sprite_icon('external-link')
|
|
|
|
= render 'projects/deployments/actions', deployment: @environment.last_deployment
|
2016-12-15 00:59:04 +00:00
|
|
|
|
2016-12-26 10:47:16 +00:00
|
|
|
.terminal-container{ class: container_class }
|
2020-10-20 06:09:03 +00:00
|
|
|
#terminal.gl-mt-4{ data: { project_path: "#{terminal_project_environment_path(@project, @environment)}.ws" } }
|