summaryrefslogtreecommitdiff
path: root/app/views/projects/deployments/terminal.html.haml
blob: 168ac9979cbd50cb449dff44dbd98c7816d2edc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- if current_user
  - @no_container = true
  - page_title "Deployment Terminal"
  = render "projects/pipelines/head"

  = content_for :head do
    = stylesheet_link_tag "xterm/xterm"

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

  .terminal-container{class: container_class}

    %p.content-block
      Environment:
      %a{href: '#'} add information

    #terminal{data:{project_path: "#{project_path(@project)}/deployments/#{@deployment.id}/terminal_websocket"}}