
This patch adds console tab into details view. Console view gets console_url using attach method and access from browser via websocket using console_url. Change-Id: I273e83eb114e93371a23b9a1e9d26ceacb6b71d5 Implements: blueprint interactive-mode
24 lines
936 B
HTML
24 lines
936 B
HTML
{% load i18n %}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta content='IE=edge' http-equiv='X-UA-Compatible' />
|
|
<meta content='text/html; charset=utf-8' http-equiv='Content-Type' />
|
|
<title>{{container_name}} ({{container_id}})</title>
|
|
<link rel="stylesheet" href="{{ STATIC_URL }}dashboard/scss/serial_console.css" type="text/css" media="screen">
|
|
<script src="{% url 'horizon:jsi18n' 'horizon' %}"></script>
|
|
<script src='{{ STATIC_URL }}horizon/lib/termjs/term.js'></script>
|
|
<script src="{{ STATIC_URL }}horizon/lib/jquery/jquery.js"></script>
|
|
<script src="{{ STATIC_URL }}horizon/lib/angular/angular.js"></script>
|
|
<script src="{{ STATIC_URL }}dashboard/container/containers/details/serialConsole.js"></script>
|
|
</head>
|
|
<body ng-app='serialConsoleApp'>
|
|
|
|
{% if error_message %}
|
|
{{ error_message }}
|
|
{% else %}
|
|
<serial-console connection='"{{console_url}}"'></serial-console>
|
|
{% endif %}
|
|
|
|
</body>
|
|
</html> |