summaryrefslogtreecommitdiff
path: root/openstack_dashboard/templates/serial_console.html
blob: d1434e7b48eb1d7a328e5cdd06d88411f3976a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% 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>{{page_title}}</title>
  {% load compress %}
  {% compress css %}
  <link rel="stylesheet" href="{{ STATIC_URL }}dashboard/scss/serial_console.scss" type="text/scss" media="screen" />
  {% endcompress %}
  <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 }}js/angular/directives/serialConsole.js"></script>
</head>
<body ng-app='serialConsoleApp'>

    {% if error_message %}
        {{ error_message }}
    {% else %}
        <serial-console connection='"{{console_url}}"' protocols='{{protocols}}'></serial-console>
    {% endif %}

</body>
</html>