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

22 lines
819 B
Text
Raw Normal View History

2019-02-15 15:39:39 +05:30
- page_title _("Terminal for environment"), @environment.name
2021-01-03 14:25:43 +05:30
- add_page_specific_style 'page_bundles/terminal'
2017-08-17 22:00:37 +05:30
- content_for :page_specific_javascripts do
2018-11-20 20:47:30 +05:30
= stylesheet_link_tag "xterm.css"
2017-08-17 22:00:37 +05:30
2019-12-04 20:38:33 +05:30
.top-area
.row
.col-sm-6
%h3.page-title
= _("Terminal for environment")
= @environment.name
2017-08-17 22:00:37 +05:30
2019-12-04 20:38:33 +05:30
.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
= sprite_icon('external-link')
= render 'projects/deployments/actions', deployment: @environment.last_deployment
2017-08-17 22:00:37 +05:30
.terminal-container{ class: container_class }
2021-01-03 14:25:43 +05:30
#terminal.gl-mt-4{ data: { project_path: "#{terminal_project_environment_path(@project, @environment)}.ws" } }