From 8d31bab27e242624a0553030e7dbf333b8bd0926 Mon Sep 17 00:00:00 2001 From: Rodrigo Lazo Date: Fri, 7 Oct 2011 02:13:04 -0300 Subject: [PATCH] Updated templates to jinja sintax. --- monitor/www_templates/{simple.html => base.html} | 8 ++-- monitor/www_templates/host.html | 19 ++++++++ monitor/www_templates/hosts.html | 8 ++++ monitor/www_templates/index.html | 8 ++-- monitor/www_templates/macros.html | 3 ++ monitor/www_templates/simple.html | 55 ++---------------------- monitor/www_templates/var.html | 20 +++++++++ monitor/www_templates/vars.html | 8 ++++ 8 files changed, 70 insertions(+), 59 deletions(-) copy monitor/www_templates/{simple.html => base.html} (85%) create mode 100644 monitor/www_templates/host.html create mode 100644 monitor/www_templates/hosts.html create mode 100644 monitor/www_templates/macros.html rewrite monitor/www_templates/simple.html (100%) create mode 100644 monitor/www_templates/var.html create mode 100644 monitor/www_templates/vars.html diff --git a/monitor/www_templates/simple.html b/monitor/www_templates/base.html similarity index 85% copy from monitor/www_templates/simple.html copy to monitor/www_templates/base.html index 31209d6..c5bb694 100644 --- a/monitor/www_templates/simple.html +++ b/monitor/www_templates/base.html @@ -26,16 +26,16 @@ padding-right: 20px; } - $title + {% block title %}{{title}}{% endblock title%}