4a89303231
Our templates are very inconsistent and sometimes even use single and double quotes in the same tag. This is an attempt to clean it up a little and use double quotes everywhere. In addition, I have run into a problem with single quotes being incorrectly escaped by the Django compressor, and I want to see if this will help with the issue. Change-Id: I2d5137a87ed65c6abef38a49264346f917a1c85a
28 lines
1000 B
HTML
28 lines
1000 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>{{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>
|