From: Jan Sarenik Date: Sun, 16 Aug 2015 06:51:06 +0000 (+0200) Subject: Simplify HTML templates by using HTML5 X-Git-Tag: v4.3.0b1~55^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=519bb7aa497cc46e16b043a2e627a9aa431071e5;p=thirdparty%2Ftornado.git Simplify HTML templates by using HTML5 --- diff --git a/demos/appengine/templates/base.html b/demos/appengine/templates/base.html index 2030ab63a..7ea0efa9f 100644 --- a/demos/appengine/templates/base.html +++ b/demos/appengine/templates/base.html @@ -1,10 +1,10 @@ - - + + - + {{ handler.settings["blog_title"] }} - - + + {% block head %}{% end %} diff --git a/demos/blog/templates/base.html b/demos/blog/templates/base.html index 9d63b4dec..e21f29a3d 100644 --- a/demos/blog/templates/base.html +++ b/demos/blog/templates/base.html @@ -1,10 +1,10 @@ - - + + - + {{ escape(handler.settings["blog_title"]) }} - - + + {% block head %}{% end %} diff --git a/demos/chat/templates/index.html b/demos/chat/templates/index.html index a8708b7c9..8916c3502 100644 --- a/demos/chat/templates/index.html +++ b/demos/chat/templates/index.html @@ -1,9 +1,9 @@ - - + + - + Tornado Chat Demo - +
@@ -16,10 +16,10 @@
- + diff --git a/demos/facebook/templates/stream.html b/demos/facebook/templates/stream.html index 4e6fc80c6..fc2566317 100644 --- a/demos/facebook/templates/stream.html +++ b/demos/facebook/templates/stream.html @@ -1,9 +1,9 @@ - - + + - + Tornado Facebook Stream Demo - +
diff --git a/demos/websocket/templates/index.html b/demos/websocket/templates/index.html index 6b3674928..cbf2b23db 100644 --- a/demos/websocket/templates/index.html +++ b/demos/websocket/templates/index.html @@ -1,9 +1,9 @@ - - + + - + Tornado Chat Demo - +
@@ -16,10 +16,10 @@
- - + + {% module xsrf_form_html() %}
- +
- - + + {% module xsrf_form_html() %}