From 0f95689c170fdef48bb72632cca26c4a5da628a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20L=C3=BCtke?= Date: Tue, 27 Jun 2023 15:14:15 -0400 Subject: [PATCH] improvements --- examples/server/index.html.cpp | 10 +++++----- examples/server/public/index.html | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/server/index.html.cpp b/examples/server/index.html.cpp index 4c5183edf..3134f7923 100644 --- a/examples/server/index.html.cpp +++ b/examples/server/index.html.cpp @@ -167,8 +167,8 @@ R"htmlraw(
message.value = e.target.value} autofocus placeholder="Chat here..."/> - - + +
` } @@ -185,7 +185,7 @@ R"htmlraw( }, [messages]) const chatLine = ([user, msg]) => { - return html`

${template(user, {})}: ${template(msg, {})}

` + return html`

${template(user)}: ${template(msg)}

` }; return html` @@ -251,15 +251,15 @@ R"htmlraw(
<${chatStarted.value ? ChatLog : ConfigForm } /> -
+
<${MessageInput} />
+ - diff --git a/examples/server/public/index.html b/examples/server/public/index.html index 2a21cf62b..e3d3473c2 100644 --- a/examples/server/public/index.html +++ b/examples/server/public/index.html @@ -166,8 +166,8 @@
message.value = e.target.value} autofocus placeholder="Chat here..."/> - - + +
` } @@ -184,7 +184,7 @@ }, [messages]) const chatLine = ([user, msg]) => { - return html`

${template(user, {})}: ${template(msg, {})}

` + return html`

${template(user)}: ${template(msg)}

` }; return html` @@ -250,15 +250,15 @@
<${chatStarted.value ? ChatLog : ConfigForm } /> -
+
<${MessageInput} />
+ -