summaryrefslogtreecommitdiff
path: root/assets/img
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-09-04 02:02:45 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-09-04 02:02:45 +0200
commit546e4813da6a02665d649cabbf80c2f9402b0f25 (patch)
treebff215a402b9b71c9cc20f53790d8da888c84913 /assets/img
parentfa1677f9bf1410c74129eea429bd713553a051d4 (diff)
Support downloading of attachments.
* assets/css/screen.css (.attachment:before): Add rule. * assets/img/file.svg: New file. * mumi/web/controller.scm (controller): Handle attachment route. * mumi/web/download.scm: New file. * mumi/web/view/utils.scm (display-multipart-chunk): Move into... (display-message-body): ...this procedure; adjust to include attachment download links. * mumi/web/view/html.scm (issue-page): Adjust.
Diffstat (limited to 'assets/img')
-rw-r--r--assets/img/file.svg8
1 files changed, 8 insertions, 0 deletions
diff --git a/assets/img/file.svg b/assets/img/file.svg
new file mode 100644
index 0000000..ce8c9b4
--- /dev/null
+++ b/assets/img/file.svg
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="120px" height="120px" viewBox="0 0 120 120" enable-background="new 0 0 120 120" xml:space="preserve">
+<polygon points="103.192,120 16.526,120 16.526,0 55.96,0 55.96,46.301 103.192,46.301 "/>
+<polygon points="64.476,0 64.476,38.717 103.192,38.717 "/>
+</svg>