Fixed inconsistent handling of "No results found" and "End of results" messages
Some checks failed
Run Integration Tests / test (push) Failing after 36s
Some checks failed
Run Integration Tests / test (push) Failing after 36s
This commit is contained in:
parent
47f197cf15
commit
70abf0a2bd
13 changed files with 775 additions and 573 deletions
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
@ -17,32 +18,37 @@
|
|||
<link rel="icon" href="{{ .IconPathPNG }}" type="image/png">
|
||||
<link rel="apple-touch-icon" href="{{ .IconPathPNG }}">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Menu Button -->
|
||||
<div id="js-enabled">
|
||||
<div class="settings-search-div settings-search-div-search">
|
||||
<button class="material-icons-round clickable settings-icon-link settings-icon-link-search"></button>
|
||||
<button
|
||||
class="material-icons-round clickable settings-icon-link settings-icon-link-search"></button>
|
||||
</div>
|
||||
<div class="search-menu settings-menu-hidden">
|
||||
<h2>{{ translate "settings" }}</h2>
|
||||
<div class="settings-content">
|
||||
<button id="settingsButton" onclick="window.location.href='/settings'">{{ translate "all_settings" }}</button>
|
||||
<button id="settingsButton" onclick="window.location.href='/settings'">{{ translate "all_settings"
|
||||
}}</button>
|
||||
<div class="theme-settings">
|
||||
<p><span class="highlight">Current theme: </span> <span id="theme_name">{{.Theme}}</span></p>
|
||||
<div class="themes-settings-menu">
|
||||
<div><img class="view-image-search clickable" id="dark_theme" alt="Dark Theme" src="/static/images/dark.webp"></div>
|
||||
<div><img class="view-image-search clickable" id="light_theme" alt="Light Theme" src="/static/images/light.webp"></div>
|
||||
<div><img class="view-image-search clickable" id="dark_theme" alt="Dark Theme"
|
||||
src="/static/images/dark.webp"></div>
|
||||
<div><img class="view-image-search clickable" id="light_theme" alt="Light Theme"
|
||||
src="/static/images/light.webp"></div>
|
||||
</div>
|
||||
</div>
|
||||
<select class="lang" name="safe" id="safeSearchSelect">
|
||||
<option value="disabled" {{if eq .Safe "disabled"}}selected{{end}}>Safe Search Off</option>
|
||||
<option value="active" {{if eq .Safe "active"}}selected{{end}}>Safe Search On</option>
|
||||
<option value="disabled" {{if eq .Safe "disabled" }}selected{{end}}>Safe Search Off</option>
|
||||
<option value="active" {{if eq .Safe "active" }}selected{{end}}>Safe Search On</option>
|
||||
</select>
|
||||
<select class="lang" name="lang" id="languageSelect">
|
||||
{{range .LanguageOptions}}
|
||||
<option value="{{.Code}}" {{if eq .Code $.CurrentLang}}selected{{end}}>{{.Name}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
</select>
|
||||
<button id="aboutQGatoBtn">About QGato</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -59,10 +65,7 @@
|
|||
</button>
|
||||
|
||||
<div class="modal-content">
|
||||
<img
|
||||
src="/static/images/icon.svg"
|
||||
alt="QGato"
|
||||
>
|
||||
<img src="/static/images/icon.svg" alt="QGato">
|
||||
<h2>{{ translate "site_name" }}</h2>
|
||||
<p>{{ translate "site_description" }}</p>
|
||||
<div class="button-container">
|
||||
|
@ -70,7 +73,7 @@
|
|||
<button onclick="window.location.href='/privacy'">Privacy policy</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Main Content Section -->
|
||||
<main class="privacy-content-wrapper">
|
||||
|
@ -81,17 +84,23 @@
|
|||
|
||||
<section class="privacy-section">
|
||||
<h2>Introduction</h2>
|
||||
<p>This website is a Free and Open Source Software (FOSS) project licensed under the <a href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank" rel="noopener noreferrer">AGPL-3.0</a> license. The project is committed to providing a private and secure experience for all users.</p>
|
||||
<p>This website is a Free and Open Source Software (FOSS) project licensed under the <a
|
||||
href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank"
|
||||
rel="noopener noreferrer">AGPL-3.0</a> license. The project is committed to providing a private and
|
||||
secure experience for all users.</p>
|
||||
</section>
|
||||
|
||||
<section class="privacy-section">
|
||||
<h2>Data Collection</h2>
|
||||
<p>Our servers <b>do not collect any user data</b>, including IP addresses, browsing history, or any other identifiable information. We respect your privacy and ensure that no user information is logged or stored on our servers.</p>
|
||||
<p>Our servers <b>do not collect any user data</b>, including IP addresses, browsing history, or any other
|
||||
identifiable information. We respect your privacy and ensure that no user information is logged or
|
||||
stored on our servers.</p>
|
||||
</section>
|
||||
|
||||
<section class="privacy-section">
|
||||
<h2>Cookies Used</h2>
|
||||
<p>Our cookies are <b>not used to track users</b> or sell user data, they are just used to save your settings.</p>
|
||||
<p>Our cookies are <b>not used to track users</b> or sell user data, they are just used to save your
|
||||
settings.</p>
|
||||
<p>These following cookies are used by this site:</p>
|
||||
<table class="cookie-table">
|
||||
<thead>
|
||||
|
@ -113,8 +122,8 @@
|
|||
{{ end }}
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<!-- Footer Section, matching site theme
|
||||
|
@ -130,4 +139,5 @@
|
|||
document.getElementById('js-disabled').style.display = 'none';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue