1721ba9c4a
Implements blueprint scaffolding. Using custom management commands you can now create the majority of the boilerplate code for a new dashboard or panel from a set of basic templates with a single command. See the docs for more info. Additionally, in support of the new commands (and inherent codified directory structure) there's a new template loader included which can load templates from "templates" directories in any registered panel. Change-Id: I1df5eb152cb18694dc89d562799c8d3e8950ca6f
13 lines
372 B
HTML
13 lines
372 B
HTML
{% load horizon %}{% jstemplate %}[% extends '{{ dash_name }}/base.html' %]
|
|
[% load i18n %]
|
|
[% block title %][% trans "{{ panel_name|title }}" %][% endblock %]
|
|
|
|
[% block page_header %]
|
|
[% include "horizon/common/_page_header.html" with title=_("{{ panel_name|title }}") %]
|
|
[% endblock page_header %]
|
|
|
|
[% block {{ dash_name }}_main %]
|
|
[% endblock %]
|
|
|
|
{% endjstemplate %}
|