summaryrefslogtreecommitdiff
path: root/app/views/projects/environments/terminal.html.haml
blob: 431253c12994233211c0478a1f3fbb643e085bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- @no_container = true
- page_title "Terminal for environment", @environment.name
= render "projects/pipelines/head"

- content_for :page_specific_javascripts do
  = stylesheet_link_tag "xterm/xterm"
  = page_specific_javascript_tag("terminal/terminal_bundle.js")

%div{ class: container_class }
  .top-area
    .row
      .col-sm-6
        %h3.page-title
          Terminal for environment
          = @environment.name

      .col-sm-6
        .nav-controls
          = render 'projects/deployments/actions', deployment: @environment.last_deployment

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