Welcome to mirror list, hosted at ThFree Co, Russian Federation.

terminal.html.haml « environments « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7c837d4ded0685527063d00b7cae9a87df0a5078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- page_title _("Terminal for environment"), @environment.name
- add_page_specific_style 'page_bundles/terminal'
- content_for :page_specific_javascripts do
  = stylesheet_link_tag "xterm.css"

.top-area
  .row
    .col-sm-6
      %h1.page-title.gl-font-size-h-display
        = _("Terminal for environment")
        = @environment.name

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

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