11968c840c
This patch provides the ability for the registered detail views for any resource type to be generically presented. This patch does the following: * Adds a directive that displays a set of views (i.e. details sub-views) * Adds a Generic Detail display for routed pages * Adds the concept of a Descriptor which contains a resource type name and an identifier. The identifier can be something as simple as a string, but may also be an object (if the resource type needs more than one value to look up its data, e.g. Pool Members) * Adds the ability for a resource type to have knowledge about how one of its items may be loaded, so any detail page can fetch the information given a basic context * Adds a generic Angular page (since they all just route to ng-views). We will see this used in subsequent patches as well. * Sets up a Django route to a non-navigational panel for the Details Change-Id: Ie116b52ba196f9240fdc6bbc4a12d37beb9b9fcf Partially-Implements: blueprint angular-registry
17 lines
304 B
HTML
17 lines
304 B
HTML
{% extends 'base.html' %}
|
|
{% load i18n %}
|
|
{% block title %}{% trans "Horizon" %}{% endblock %}
|
|
|
|
{% block breadcrumb_nav %}{% endblock %}
|
|
|
|
{% block page_header %}
|
|
{% endblock %}
|
|
|
|
{% block ng_route_base %}
|
|
<base href="{{ WEBROOT }}">
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
<div ng-view></div>
|
|
{% endblock %}
|