terminal.html.haml 825 Bytes
Newer Older
1
2
3
4
5
6
- @no_container = true
- page_title "Terminal for environment", @environment.name

- content_for :page_specific_javascripts do
  = stylesheet_link_tag "xterm/xterm"

7
%div{ class: container_class }
8
9
10
11
12
13
14
15
16
  .top-area
    .row
      .col-sm-6
        %h3.page-title
          Terminal for environment
          = @environment.name

      .col-sm-6
        .nav-controls
17
18
19
          - if @environment.external_url.present?
            = link_to @environment.external_url, class: 'btn btn-default', target: '_blank', rel: 'noopener noreferrer nofollow' do
              = icon('external-link')
20
21
          = render 'projects/deployments/actions', deployment: @environment.last_deployment

22
.terminal-container{ class: container_class }
23
  #terminal{ data: { project_path: "#{terminal_project_environment_path(@project, @environment)}.ws" } }