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

24 lines
840 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- @no_container = true
2019-02-15 15:39:39 +05:30
- page_title _("Terminal for environment"), @environment.name
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
%div{ class: container_class }
.top-area
.row
.col-sm-6
%h3.page-title
2019-02-15 15:39:39 +05:30
= _("Terminal for environment")
2017-08-17 22:00:37 +05:30
= @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
2018-11-08 19:23:39 +05:30
= sprite_icon('external-link')
2017-08-17 22:00:37 +05:30
= 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" } }