diff --git a/src/ratpack/handlebars/topic-watch.html.hbs b/src/ratpack/handlebars/topic-watch.html.hbs index aeaf54b..f79a390 100644 --- a/src/ratpack/handlebars/topic-watch.html.hbs +++ b/src/ratpack/handlebars/topic-watch.html.hbs @@ -28,7 +28,9 @@ -
+
{{title}}
+ +
diff --git a/src/ratpack/public/css/offtopic.css b/src/ratpack/public/css/offtopic.css index 9aab62c..7d93011 100644 --- a/src/ratpack/public/css/offtopic.css +++ b/src/ratpack/public/css/offtopic.css @@ -15,6 +15,14 @@ body { margin-right: 3px; } +.wallboard-title { + margin-left: auto; + margin-right: auto; + font-size: 3em; + font-weight: bold; + text-align: center; +} + .message-raw { } diff --git a/src/ratpack/ratpack.groovy b/src/ratpack/ratpack.groovy index 664e480..d62ed64 100644 --- a/src/ratpack/ratpack.groovy +++ b/src/ratpack/ratpack.groovy @@ -43,7 +43,7 @@ ratpack { } get('topics/:name/watch') { - render handlebarsTemplate('topic-watch.html', name: pathTokens.name) + render handlebarsTemplate('topic-watch.html', name: pathTokens.name, title: request.queryParams.title) } get('topics/:name/websocket') { ctx ->