debian-mirror-gitlab/app/views/projects/environments/terminal.html.haml

24 lines
825 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- @no_container = true
- page_title "Terminal for environment", @environment.name
- content_for :page_specific_javascripts do
= stylesheet_link_tag "xterm/xterm"
%div{ class: container_class }
.top-area
.row
.col-sm-6
%h3.page-title
Terminal for environment
= @environment.name
.col-sm-6
.nav-controls
- if @environment.external_url.present?
= link_to @environment.external_url, class: 'btn btn-default', target: '_blank', rel: 'noopener noreferrer nofollow' do
= icon('external-link')
= render 'projects/deployments/actions', deployment: @environment.last_deployment
.terminal-container{ class: container_class }
2017-09-10 17:25:29 +05:30
#terminal{ data: { project_path: "#{terminal_project_environment_path(@project, @environment)}.ws" } }