mirror of
https://github.com/searxng/searxng
synced 2024-11-09 01:10:26 +00:00
[fix] make /stats more CSP compliant - github issue form
Hide textarea from github issue form:: ./__common__/new_issue.html:6: <textarea name="body" style="display: none;">{{- '' -}} BTW: fix indentation. Reported-by: https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
34859d0e58
commit
3e9ad7ae0c
@ -9,6 +9,11 @@
|
|||||||
border-radius: 10px !important;
|
border-radius: 10px !important;
|
||||||
box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;
|
box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.github-issue-button:hover {
|
.github-issue-button:hover {
|
||||||
background-color: #2ea043;
|
background-color: #2ea043;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.issue-hide {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<input name="title" type="hidden" value="Bug: {{ engine_name }} engine">
|
<input name="title" type="hidden" value="Bug: {{ engine_name }} engine">
|
||||||
<input name="labels" type="hidden" value="bug">
|
<input name="labels" type="hidden" value="bug">
|
||||||
<input name="template" type="hidden" value="bug-report.md">
|
<input name="template" type="hidden" value="bug-report.md">
|
||||||
<textarea name="body" style="display: none;">{{- '' -}}
|
<textarea name="body" class="issue-hide">{{- '' -}}
|
||||||
|
|
||||||
**Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG**
|
**Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG**
|
||||||
<!-- If you are running on master branch using git execute this command
|
<!-- If you are running on master branch using git execute this command
|
||||||
|
Loading…
Reference in New Issue
Block a user