<feed xmlns='http://www.w3.org/2005/Atom'>
<title>searxng/.git/searx/static/themes/__common__/less, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/'/>
<entry>
<title>theme: remove __common__</title>
<updated>2022-05-07T17:40:48+00:00</updated>
<author>
<name>Alexandre Flament</name>
<email>alex@al-f.net</email>
</author>
<published>2022-05-07T13:11:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=9b3efa6d8ab46a3db62f42624d7e9f4b55fdd0ef'/>
<id>9b3efa6d8ab46a3db62f42624d7e9f4b55fdd0ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] make result template map more CSP compliant - simple &amp; oscar</title>
<updated>2021-09-06T09:08:50+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-09-05T14:58:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=ad528c706efb46b415e460838f4562241a2d10ba'/>
<id>ad528c706efb46b415e460838f4562241a2d10ba</id>
<content type='text'>
Add osm-map-box in::

    searx/static/themes/__common__/less/result_templates.less

Replaced sty= in files::

    ./oscar/result_templates/map.html:64:        &lt;div style="height:300px; width:100%; margin: 10px 0;" id="osm-map-{{ index }}"&gt;&lt;/div&gt;
    ./simple/result_templates/map.html:65:    &lt;div id="result-map-{{ index }}" class="invisible"&gt;&lt;div id="osm-map-{{ index }}" style="height:300px; width:100%; margin: 10px 0;" &gt;&lt;/div&gt;&lt;/div&gt;

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add osm-map-box in::

    searx/static/themes/__common__/less/result_templates.less

Replaced sty= in files::

    ./oscar/result_templates/map.html:64:        &lt;div style="height:300px; width:100%; margin: 10px 0;" id="osm-map-{{ index }}"&gt;&lt;/div&gt;
    ./simple/result_templates/map.html:65:    &lt;div id="result-map-{{ index }}" class="invisible"&gt;&lt;div id="osm-map-{{ index }}" style="height:300px; width:100%; margin: 10px 0;" &gt;&lt;/div&gt;&lt;/div&gt;

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] bar graph and rename CSS class engine-scores -&gt; engine-score</title>
<updated>2021-05-17T19:24:19+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-05-17T15:56:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=0507e185a55702c528ead471b17506fc5db39b58'/>
<id>0507e185a55702c528ead471b17506fc5db39b58</id>
<content type='text'>
- drop #main_stats selector in stats.less
- 'engine-score' exists before this PR.
- untabify searx/static/themes/__common__/less/stats.less

for details see comment at: https://github.com/searxng/searxng/pull/81/files/d93bec7638908cae64530727d4e1539ae10bd144..1204e4f07e932029d66b4674a3474918228459a6#r633571496

Suggested-by: @dalf in commit 1204e4f0
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- drop #main_stats selector in stats.less
- 'engine-score' exists before this PR.
- untabify searx/static/themes/__common__/less/stats.less

for details see comment at: https://github.com/searxng/searxng/pull/81/files/d93bec7638908cae64530727d4e1539ae10bd144..1204e4f07e932029d66b4674a3474918228459a6#r633571496

Suggested-by: @dalf in commit 1204e4f0
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] make /stats more CSP compliant - github issue form</title>
<updated>2021-05-17T19:23:27+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-05-16T17:35:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=3e9ad7ae0c5d520e88bf686de9038d22907876f7'/>
<id>3e9ad7ae0c5d520e88bf686de9038d22907876f7</id>
<content type='text'>
Hide textarea from github issue form::

    ./__common__/new_issue.html:6:    &lt;textarea name="body" style="display: none;"&gt;{{- '' -}}

BTW: fix indentation.

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hide textarea from github issue form::

    ./__common__/new_issue.html:6:    &lt;textarea name="body" style="display: none;"&gt;{{- '' -}}

BTW: fix indentation.

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] make /stats more CSP compliant - simple theme</title>
<updated>2021-05-17T15:41:22+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-05-16T12:18:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=0a6c488417f83fc2fbfcdb8d80b5978a14c561c4'/>
<id>0a6c488417f83fc2fbfcdb8d80b5978a14c561c4</id>
<content type='text'>
Replace simple theme's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/simple/less/stats.less`` ::

    ./simple/stats.html:26:  &lt;table style="max-width: 1280px; margin: 0 auto 0 0;"&gt;
    ./simple/stats.html:28:  &lt;th scope="col" style="width:20rem;"&gt;{{ th_sort('name', _("Engine name")) }}&lt;/th&gt;
    ./simple/stats.html:29:  &lt;th scope="col" style="width:7rem; text-align: right;"&gt;{{ th_sort('score', _('Scores')) }}&lt;/th&gt;
    ./simple/stats.html:32:  &lt;th scope="col" style="text-align: right;"&gt;{{ th_sort('reliability', _('Reliability')) }}&lt;/th&gt;
    ./simple/stats.html:37:  &lt;td style="text-align: right;"&gt;
    ./simple/stats.html:90:  &lt;td style="text-align: right;"&gt; {{ engine_reliabilities.get(engine_stat.name, {}).get('reliablity') }}&lt;/td&gt;
    ./simple/stats.html:106: &lt;table style="max-width: 1280px; margin: 1rem; border: 1px solid gray;"&gt;
    ./simple/stats.html:107: &lt;tbody style="padding-top: 1rem;"&gt;
    ./simple/stats.html:110: &lt;th scope="row" style="width: 10rem"&gt;{{ _('Exception') }}&lt;/th&gt;&lt;td&gt;{{ error.exception_classname }}&lt;/td&gt;
    ./simple/stats.html:112: &lt;th scope="row" style="width: 10rem"&gt;{{ _('Message') }}&lt;/th&gt;&lt;td&gt;{{ error.log_message }}&lt;/td&gt;
    ./simple/stats.html:114: &lt;th scope="row" style="width: 10rem"&gt;{{ _('Percentage') }}&lt;/th&gt;&lt;td style="width: 10rem"&gt;{{ error.percentage }}&lt;/td&gt;
    ./simple/stats.html:119: &lt;span style="border-right: 1px solid gray; padding: 0 1rem 0 0; margin: 0 0 0 0.5rem;"&gt;{{ param }}&lt;/span&gt;
    ./simple/stats.html:136: &lt;th scope="col" style="width: 10rem"&gt;{{ _('Failed test') }}&lt;/th&gt;

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace simple theme's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/simple/less/stats.less`` ::

    ./simple/stats.html:26:  &lt;table style="max-width: 1280px; margin: 0 auto 0 0;"&gt;
    ./simple/stats.html:28:  &lt;th scope="col" style="width:20rem;"&gt;{{ th_sort('name', _("Engine name")) }}&lt;/th&gt;
    ./simple/stats.html:29:  &lt;th scope="col" style="width:7rem; text-align: right;"&gt;{{ th_sort('score', _('Scores')) }}&lt;/th&gt;
    ./simple/stats.html:32:  &lt;th scope="col" style="text-align: right;"&gt;{{ th_sort('reliability', _('Reliability')) }}&lt;/th&gt;
    ./simple/stats.html:37:  &lt;td style="text-align: right;"&gt;
    ./simple/stats.html:90:  &lt;td style="text-align: right;"&gt; {{ engine_reliabilities.get(engine_stat.name, {}).get('reliablity') }}&lt;/td&gt;
    ./simple/stats.html:106: &lt;table style="max-width: 1280px; margin: 1rem; border: 1px solid gray;"&gt;
    ./simple/stats.html:107: &lt;tbody style="padding-top: 1rem;"&gt;
    ./simple/stats.html:110: &lt;th scope="row" style="width: 10rem"&gt;{{ _('Exception') }}&lt;/th&gt;&lt;td&gt;{{ error.exception_classname }}&lt;/td&gt;
    ./simple/stats.html:112: &lt;th scope="row" style="width: 10rem"&gt;{{ _('Message') }}&lt;/th&gt;&lt;td&gt;{{ error.log_message }}&lt;/td&gt;
    ./simple/stats.html:114: &lt;th scope="row" style="width: 10rem"&gt;{{ _('Percentage') }}&lt;/th&gt;&lt;td style="width: 10rem"&gt;{{ error.percentage }}&lt;/td&gt;
    ./simple/stats.html:119: &lt;span style="border-right: 1px solid gray; padding: 0 1rem 0 0; margin: 0 0 0 0.5rem;"&gt;{{ param }}&lt;/span&gt;
    ./simple/stats.html:136: &lt;th scope="col" style="width: 10rem"&gt;{{ _('Failed test') }}&lt;/th&gt;

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] make /stats more CSP compliant - bar graph</title>
<updated>2021-05-17T15:41:22+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-05-16T11:16:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=cdfb4b7ff9829cb9048b573f7f1775dc8029f75a'/>
<id>cdfb4b7ff9829cb9048b573f7f1775dc8029f75a</id>
<content type='text'>
Replace bar graph's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/__common__/less/stats.less`` ::

    ./simple/stats.html:49: &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./simple/stats.html:57: &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./simple/stats.html:58: &lt;span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"&gt;&lt;/span&gt;{{- "" -}}
    ./oscar/stats.html:50:  &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./oscar/stats.html:58:  &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./oscar/stats.html:59:  &lt;span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"&gt;&lt;/span&gt;{{- "" -}}

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace bar graph's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/__common__/less/stats.less`` ::

    ./simple/stats.html:49: &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./simple/stats.html:57: &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./simple/stats.html:58: &lt;span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"&gt;&lt;/span&gt;{{- "" -}}
    ./oscar/stats.html:50:  &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./oscar/stats.html:58:  &lt;span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"&gt;&lt;/span&gt;{{- "" -}}
    ./oscar/stats.html:59:  &lt;span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"&gt;&lt;/span&gt;{{- "" -}}

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] new_issue.html: drop inline style attributes (CSP conformance)</title>
<updated>2021-04-28T14:22:37+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-04-28T14:07:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=70cc196e2d933a9a458ec43bf81d8475a57b26df'/>
<id>70cc196e2d933a9a458ec43bf81d8475a57b26df</id>
<content type='text'>
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 &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
