summaryrefslogtreecommitdiff
path: root/app/views/projects/jobs/terminal.html.haml
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-07-05 13:55:10 +0000
committerDouwe Maan <douwe@gitlab.com>2018-07-05 13:55:10 +0000
commita7a1531fe5d030d47d63bfcd86a7168a8437ff86 (patch)
tree65854ce75eb6b6f6061fef114f95076fae2ab9a8 /app/views/projects/jobs/terminal.html.haml
parent9a62e72db9892708ab360c59a9f77695d9253c34 (diff)
downloadgitlab-ce-a7a1531fe5d030d47d63bfcd86a7168a8437ff86.tar.gz
Web Terminal Ci Build
Diffstat (limited to 'app/views/projects/jobs/terminal.html.haml')
-rw-r--r--app/views/projects/jobs/terminal.html.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/projects/jobs/terminal.html.haml b/app/views/projects/jobs/terminal.html.haml
new file mode 100644
index 00000000000..efea666a4d9
--- /dev/null
+++ b/app/views/projects/jobs/terminal.html.haml
@@ -0,0 +1,11 @@
+- @no_container = true
+- add_to_breadcrumbs 'Jobs', project_jobs_path(@project)
+- add_to_breadcrumbs "##{@build.id}", project_job_path(@project, @build)
+- breadcrumb_title 'Terminal'
+- page_title 'Terminal', "#{@build.name} (##{@build.id})", 'Jobs'
+
+- content_for :page_specific_javascripts do
+ = stylesheet_link_tag "xterm/xterm"
+
+.terminal-container{ class: container_class }
+ #terminal{ data: { project_path: terminal_project_job_path(@project, @build, format: :ws) } }