From 823fb20c83ff9dedcc5d804f32a0f80ab1810813 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 15 Nov 2016 17:34:02 +0800 Subject: webui: Fix the issues due to the split of "header-{base,index}.html" Tornado currently do NOT support *nested* template extensions. * Rename "header-base.html" back to "header.html" * Merge the contents of "header-index.html" to "index.html" * Add new block "subtitle" to "base.html" --- fg21sim/webui/templates/index.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'fg21sim/webui/templates/index.html') diff --git a/fg21sim/webui/templates/index.html b/fg21sim/webui/templates/index.html index 150a060..9e47472 100644 --- a/fg21sim/webui/templates/index.html +++ b/fg21sim/webui/templates/index.html @@ -7,9 +7,19 @@ {% extends "base.html" %} -{% block header %} - {% include "header-index.html" %} -{% end %} +{% block header_contents %} + + + N/A + + + + +{% end %} {# block header_contents #} {% block main %} {% include "configs.html" %} -- cgit v1.2.2