Merge "ngReorg - move core HTML from framework to dashboard"

This commit is contained in:
Jenkins 2015-06-12 03:36:47 +00:00 committed by Gerrit Code Review
commit 023bd3a90f
8 changed files with 17 additions and 11 deletions

View File

@ -1,10 +0,0 @@
{% load branding i18n %}
{% load url from future %}
<h1 class="brand"><a href="{% site_branding_link %}">{% site_branding %}</a></h1>
<div id="user_info" class="pull-right">
<span>{% blocktrans with username=request.user.username %}Logged in as: {{ username }}{% endblocktrans %}</span>
{% if HORIZON_CONFIG.help_url %}
<a href="{{ HORIZON_CONFIG.help_url }}" target="_blank">{% trans "Help" %}</a>
{% endif %}
<a href="{% url 'logout' %}">{% trans "Sign Out" %}</a>
</div>

View File

@ -1 +0,0 @@
{% comment %} This file is a placeholder for project overrides. {% endcomment %}

View File

@ -0,0 +1,17 @@
<!--
This is the base html used by Python unit tests which are
just testing Django templating - no Javascript.
-->
<html>
<body>
{% block sidebar %}
{% include 'horizon/common/_sidebar.html' %}
{% endblock %}
{% block content %}
{% block main %}{% endblock %}
{% endblock %}
</body>
</html>