From 21805e309d2dc29e5691e6d88e27add9736e73e0 Mon Sep 17 00:00:00 2001 From: Derek Dagit Date: Wed, 28 Aug 2013 17:46:51 -0500 Subject: [PATCH] ui and log viewer send proper html pages --- storm-core/src/clj/backtype/storm/daemon/logviewer.clj | 2 +- storm-core/src/clj/backtype/storm/ui/core.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/storm-core/src/clj/backtype/storm/daemon/logviewer.clj b/storm-core/src/clj/backtype/storm/daemon/logviewer.clj index f7de41e5e..3cc8b393c 100644 --- a/storm-core/src/clj/backtype/storm/daemon/logviewer.clj +++ b/storm-core/src/clj/backtype/storm/daemon/logviewer.clj @@ -44,7 +44,7 @@ (str "effective log level for " name " is " (.getLevel (.getLogger log))))) (defn log-template [body] - (html + (html4 [:head [:title "Storm log viewer"] (include-css "/css/bootstrap-1.1.0.css") diff --git a/storm-core/src/clj/backtype/storm/ui/core.clj b/storm-core/src/clj/backtype/storm/ui/core.clj index d8a9d9897..e2397c25d 100644 --- a/storm-core/src/clj/backtype/storm/ui/core.clj +++ b/storm-core/src/clj/backtype/storm/ui/core.clj @@ -39,7 +39,7 @@ :onclick "toggleSys()"}]]) (defn ui-template [body] - (html + (html4 [:head [:title "Storm UI"] (include-css "/css/bootstrap-1.1.0.css")