summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Ritter2021-10-18 11:24:13 +0200
committerSteffen Ritter2021-10-18 11:24:13 +0200
commit094a6a7bac34c049f7d8b6209d2ca1c96b44d70b (patch)
tree0d8aea82e1093af21c388ed52ff59a23337f8709
parent[statistics] Add additional option to show sysinfos (diff)
downloadslx-admin-094a6a7bac34c049f7d8b6209d2ca1c96b44d70b.tar.gz
slx-admin-094a6a7bac34c049f7d8b6209d2ca1c96b44d70b.tar.xz
slx-admin-094a6a7bac34c049f7d8b6209d2ca1c96b44d70b.zip
[sysconfig] Urge users to upload only svg images...
as branding. You can still change the file format in the browser dialog and hope that other file extensions work. Partly fixes #2861
-rw-r--r--modules-available/sysconfig/templates/branding-start.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/sysconfig/templates/branding-start.html b/modules-available/sysconfig/templates/branding-start.html
index 0db085d9..a6346552 100644
--- a/modules-available/sysconfig/templates/branding-start.html
+++ b/modules-available/sysconfig/templates/branding-start.html
@@ -14,7 +14,7 @@
<input type="text" class="form-control" readonly placeholder="{{lang_selectFile}}">
<span class="input-group-btn">
<span class="btn btn-default btn-file">
- {{lang_browseForFile}}&hellip; <input type="file" name="file" id="input-file">
+ {{lang_browseForFile}}&hellip; <input type="file" accept="image/svg+xml" name="file" id="input-file">
</span>
</span>
</div>