diff options
Diffstat (limited to 'fg21sim')
-rw-r--r-- | fg21sim/webui/templates/base.html | 13 | ||||
-rw-r--r-- | fg21sim/webui/templates/index.html | 14 |
2 files changed, 11 insertions, 16 deletions
diff --git a/fg21sim/webui/templates/base.html b/fg21sim/webui/templates/base.html index c8a4f17..1fbc75e 100644 --- a/fg21sim/webui/templates/base.html +++ b/fg21sim/webui/templates/base.html @@ -8,7 +8,10 @@ <html lang="en"> <head> <meta charset="utf-8" /> - <title>{% block title %}TITLE{% end %}</title> + <meta name="author" content="Weitian LI" /> + <meta name="description" content="fg21sim: Realistic Foregrounds Simulation for EoR 21cm Signal Detection" /> + <link rel="icon" type="image/png" href="{{ static_url('images/favicon.png') }}" /> + <title>{% block title %}FG21sim Web UI{% end %}</title> {% block extra_head %}{% end %} {% block css %} @@ -27,7 +30,9 @@ <div class="page"> {% block page %} <header class="masthead" role="banner"> - {% block header %}{% end %} + {% block header %} + {% include "header-base.html" %} + {% end %} </header> <main class="container" role="main"> @@ -35,7 +40,9 @@ </main> <footer class="footer" role="contentinfo"> - {% block footer %}{% end %} + {% block footer %} + {% include "footer.html" %} + {% end %} </footer> {% end %} {# block page #} </div> diff --git a/fg21sim/webui/templates/index.html b/fg21sim/webui/templates/index.html index b23c1b8..150a060 100644 --- a/fg21sim/webui/templates/index.html +++ b/fg21sim/webui/templates/index.html @@ -7,16 +7,8 @@ {% extends "base.html" %} -{% block title %}fg21sim Web UI{% end %} - -{% block extra_head %} - <meta name="author" content="Weitian LI" /> - <meta name="description" content="fg21sim: Realistic Foregrounds Simulation for EoR 21cm Signal Detection" /> - <link rel="icon" type="image/png" href="{{ static_url('images/favicon.png') }}" /> -{% end %} - {% block header %} - {% include "header.html" %} + {% include "header-index.html" %} {% end %} {% block main %} @@ -25,10 +17,6 @@ {% include "results.html" %} {% end %} -{% block footer %} - {% include "footer.html" %} -{% end %} - {% block extra_script %} <script src="{{ static_url('js/configs.js') }}"></script> <script src="{{ static_url('js/console.js') }}"></script> |