2270e9139b
Move the angular app module from the framework to openstack_dashboard at the top level as "horizon.app". This edit also removes the old hzUtils.log function: it exists in the framework, but is configured in the application, thus causing dependency issues. It is only used in one place (hz.tables.js), and for debugging. I contend that if debugging is needed then $log can be asked for as needed. The hzConfig.debug flag was only used by that one function, so it is also removed in this edit. Change-Id: Ie538940cd8d1b0eabe677790bad979cc146bfbd1 Closes-Bug: #1458697 Closes-Bug: #1465885
55 lines
1.8 KiB
HTML
55 lines
1.8 KiB
HTML
{% load branding 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' />
|
|
{% include "horizon/_custom_meta.html" %}
|
|
<title>{% block title %}{% endblock %} - {% site_branding %}</title>
|
|
{% comment %} Load CSS sheets before Javascript {% endcomment %}
|
|
{% block css %}
|
|
{% include "_stylesheets.html" %}
|
|
{% endblock %}
|
|
{% include "horizon/_conf.html" %}
|
|
{% include "horizon/client_side/_script_loader.html" %}
|
|
{% include "horizon/_custom_head_js.html" %}
|
|
</head>
|
|
<body id="{% block body_id %}{% endblock %}" ng-app='horizon.app'>
|
|
<noscript>
|
|
<div class="javascript_disabled_alert">
|
|
{% trans "This application requires JavaScript to be enabled in your web browser." %}
|
|
</div>
|
|
</noscript>
|
|
{% block content %}
|
|
<div id="container">
|
|
<div class='topbar'>
|
|
{% include "_header.html" %}
|
|
</div>
|
|
<div id='main_content'>
|
|
{% include "horizon/_messages.html" %}
|
|
{% block sidebar %}
|
|
{% include 'horizon/common/_sidebar.html' %}
|
|
{% endblock %}
|
|
<div id='content_body'>
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
{% block page_header %}
|
|
{% include "horizon/common/_page_header.html" with title=page_title %}
|
|
{% endblock %}
|
|
{% block main %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
<div id="footer">
|
|
{% block footer %}{% endblock %}
|
|
</div>
|
|
{% block js %}
|
|
{% include "horizon/_scripts.html" %}
|
|
{% endblock %}
|
|
<div id="modal_wrapper"></div>
|
|
</body>
|
|
</html>
|