From 9b50df1570cb1a71acc7297f3040c19e127727a0 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Fri, 6 Jan 2017 15:45:26 -0500 Subject: [PATCH] application/octet-stream display --- examples/webchat/htdocs/Text-x-generic.svg | 49 +++++++++++++++++++ examples/webchat/htdocs/style.css | 4 ++ .../post-item-application-octet-stream.html | 8 +++ 3 files changed, 61 insertions(+) create mode 100644 examples/webchat/htdocs/Text-x-generic.svg create mode 100644 examples/webchat/htdocs/templates/post-item-application-octet-stream.html diff --git a/examples/webchat/htdocs/Text-x-generic.svg b/examples/webchat/htdocs/Text-x-generic.svg new file mode 100644 index 0000000..2d80df3 --- /dev/null +++ b/examples/webchat/htdocs/Text-x-generic.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/webchat/htdocs/style.css b/examples/webchat/htdocs/style.css index 756f92a..2159b41 100644 --- a/examples/webchat/htdocs/style.css +++ b/examples/webchat/htdocs/style.css @@ -206,4 +206,8 @@ img.avatar { .post-item-draft .post-item-image { max-width: 80%; max-height: 30vh; +} + +.post-item.application-octet-stream .post-item-body-container td { + text-align: center; } \ No newline at end of file diff --git a/examples/webchat/htdocs/templates/post-item-application-octet-stream.html b/examples/webchat/htdocs/templates/post-item-application-octet-stream.html new file mode 100644 index 0000000..473cd97 --- /dev/null +++ b/examples/webchat/htdocs/templates/post-item-application-octet-stream.html @@ -0,0 +1,8 @@ + + + + + + + +
{{item.type}}