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/base.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'fg21sim/webui/templates/base.html') diff --git a/fg21sim/webui/templates/base.html b/fg21sim/webui/templates/base.html index 1fbc75e..a7b5696 100644 --- a/fg21sim/webui/templates/base.html +++ b/fg21sim/webui/templates/base.html @@ -11,7 +11,11 @@ - {% block title %}FG21sim Web UI{% end %} + + {% block title %} + {% block subtitle %}{% end %} FG21sim Web UI + {% end %} + {% block extra_head %}{% end %} {% block css %} @@ -31,7 +35,7 @@ {% block page %} -- cgit v1.2.2