0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-21 21:48:21 -05:00

feat: add safe search menu option under the search bar (#210)

This commit is contained in:
neon_arch 2023-09-22 19:28:01 +03:00
parent 9271090851
commit 4ae4e2b8f2

View File

@ -1,3 +1,4 @@
<div class="search_area">
{{>bar this}} {{>bar this}}
<div class="error_box"> <div class="error_box">
{{#if engineErrorsInfo}} {{#if engineErrorsInfo}}
@ -25,3 +26,11 @@
{{/if}} {{/if}}
</div> </div>
</div> </div>
<div class="search_options">
<select name="safe_search_levels" {{#if (gte safeSearchLevel 3)}} disabled {{/if}}>
<option value=0 {{#if (eq safeSearchLevel 0)}} selected {{/if}}>SafeSearch: None</option>
<option value=1 {{#if (eq safeSearchLevel 1)}} selected {{/if}}>SafeSearch: Low</option>
<option value=2 {{#if (eq safeSearchLevel 2)}} selected {{/if}}>SafeSearch: Moderate</option>
</select>
</div>
</div>