diff options
author | ConfuSomu | 2023-01-05 21:57:33 -0500 |
---|---|---|
committer | ConfuSomu | 2023-01-05 21:57:33 -0500 |
commit | 8c202e0719bb417f8e495cd4761799c6a694a26f (patch) | |
tree | acf2787b0d39fd9db596ed35ea5a2fd897465a0f /src/templates | |
parent | a962b2d93227557c68a719b2401f8d6bb3969899 (diff) | |
download | ActorViewer-8c202e0719bb417f8e495cd4761799c6a694a26f.tar ActorViewer-8c202e0719bb417f8e495cd4761799c6a694a26f.tar.gz ActorViewer-8c202e0719bb417f8e495cd4761799c6a694a26f.zip |
Display image attachments in status info
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/attachment.html | 4 | ||||
-rw-r--r-- | src/templates/status_info.html | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/templates/attachment.html b/src/templates/attachment.html new file mode 100644 index 0000000..4c7731c --- /dev/null +++ b/src/templates/attachment.html @@ -0,0 +1,4 @@ +<h2>Attachment {{id}}</h2><br/> +<img src="{{path}}" style="display:span;float:none;" width="440"/> +<p style="text-indent:5px;"><b>Alt:</b> {{alt-text}}</p> +<hr width="80%" /> diff --git a/src/templates/status_info.html b/src/templates/status_info.html index a081463..a51c066 100644 --- a/src/templates/status_info.html +++ b/src/templates/status_info.html @@ -15,5 +15,6 @@ <div><tt id="content-warning"><b>CW:</b> {{summary}}</tt></div> <div id="content">{{content}}</div> + <div id="attachments">{{attachment-div}}</div> </body> </html> |