diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2021-04-28 16:07:21 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-04-28 16:22:37 +0200 |
| commit | 70cc196e2d933a9a458ec43bf81d8475a57b26df (patch) | |
| tree | 17e72e3ff2d8c4d36bb94e2247e090a6e5be6b36 /searx/templates | |
| parent | 7f2dc530b266c4fa14ebb556cc196237e1d16eec (diff) | |
[fix] new_issue.html: drop inline style attributes (CSP conformance)
Inline styles are blocked by default with Content Security Policy (CSP). Move
the inline styles from 'new_issue.html' to::
searx/static/themes/__common__/less/new_issue.less
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/__common__/new_issue.html | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/searx/templates/__common__/new_issue.html b/searx/templates/__common__/new_issue.html index 2a111a527..d983417b0 100644 --- a/searx/templates/__common__/new_issue.html +++ b/searx/templates/__common__/new_issue.html @@ -10,7 +10,7 @@ in order to fetch the latest commit ID: ``` git log -1 -``` +``` If you are using searx-docker then look at the bottom of the SearXNG page and check for the version after "Powered by SearXNG" @@ -52,23 +52,6 @@ or manually by executing the searx/webapp.py file? --> {{-'\n '}}* {{ test_name }}: {% for result in results%}`{{ result }}`,{% endfor -%} {%- endfor -%} </textarea> - <style> - .github-issue-button { - display: block; - padding: 8px 16px; - font-family: sans-serif; - font-size: 16px; - color: white; - background-color: rgb(35, 134, 54); - border: rgb(46, 160, 67); - border-radius: 10px !important; - box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px; - } - - .github-issue-button:hover { - background-color: rgb(46, 160, 67); - } - </style> <button type="submit" class="github-issue-button" title="{{ new_issue_url }}">{{ _('Submit a new issue on Github including the above information') }}</button> </form> {% endmacro %} |