From 1a8d8679e052c6710a62f2dc64b02ddeca10b837 Mon Sep 17 00:00:00 2001 From: heartsucker Date: Sun, 5 Feb 2017 14:16:41 +0100 Subject: [PATCH] use 'include' for embedded SVGs to avoid clutter in HTML --- securedrop/source_templates/lookup.html | 8 +------- securedrop/source_templates/svg/server_upload.svg | 8 ++++++++ 2 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 securedrop/source_templates/svg/server_upload.svg diff --git a/securedrop/source_templates/lookup.html b/securedrop/source_templates/lookup.html index 4c36ebbeef4..c9bf96ac5ff 100644 --- a/securedrop/source_templates/lookup.html +++ b/securedrop/source_templates/lookup.html @@ -19,13 +19,7 @@

Submit Materials

- - - - - - - + {% include 'svg/server_upload.svg' %}

Maximum upload size: 500 MB

diff --git a/securedrop/source_templates/svg/server_upload.svg b/securedrop/source_templates/svg/server_upload.svg new file mode 100644 index 00000000000..374f0b1e483 --- /dev/null +++ b/securedrop/source_templates/svg/server_upload.svg @@ -0,0 +1,8 @@ + + + + + + + +