Add survey on RBL report and Domain report page
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2025-10-31 11:11:36 +07:00
commit 7231669362
2 changed files with 14 additions and 2 deletions

View file

@ -3,7 +3,7 @@
import { onMount } from "svelte";
import { checkBlacklist } from "$lib/api";
import type { BlacklistCheckResponse } from "$lib/api/types.gen";
import { GradeDisplay, BlacklistCard } from "$lib/components";
import { BlacklistCard, GradeDisplay, TinySurvey } from "$lib/components";
import { theme } from "$lib/stores/theme";
let ip = $derived($page.params.ip);
@ -129,6 +129,12 @@
</div>
</div>
</div>
<div class="d-flex justify-content-end me-lg-5">
<TinySurvey
class="bg-primary-subtle rounded-4 p-3 text-center"
source={"rbl-" + result.ip}
/>
</div>
</div>
</div>

View file

@ -3,7 +3,7 @@
import { onMount } from "svelte";
import { testDomain } from "$lib/api";
import type { DomainTestResponse } from "$lib/api/types.gen";
import { GradeDisplay, DnsRecordsCard } from "$lib/components";
import { DnsRecordsCard, GradeDisplay, TinySurvey } from "$lib/components";
import { theme } from "$lib/stores/theme";
let domain = $derived($page.params.domain);
@ -124,6 +124,12 @@
</div>
</div>
</div>
<div class="d-flex justify-content-end me-lg-5 mt-3">
<TinySurvey
class="bg-primary-subtle rounded-4 p-3 text-center"
source={"rbl-" + result.ip}
/>
</div>
</div>
</div>