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

22 lines
852 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
2022-07-23 23:45:48 +05:30
%h1.page-title.gl-font-size-h-display
2019-12-04 20:38:33 +05:30
= _("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?
2021-01-29 00:20:46 +05:30
= link_to @environment.external_url, class: 'gl-button btn btn-default', target: '_blank', rel: 'noopener noreferrer nofollow' do
2019-12-04 20:38:33 +05:30
= 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" } }