Gabriel Hurley 1721ba9c4a Adds dash/panel app templates, mgmt commands, template loader.
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
2012-05-01 14:41:20 -07:00

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 %}