From 243e7bbffc8f28e12719bb697e75bd67f9da1901 Mon Sep 17 00:00:00 2001 From: sneedmaster Date: Fri, 24 Apr 2026 15:58:03 +0200 Subject: [PATCH] =?UTF-8?q?Captcha=20bfke=C5=A1=C3=A1rna=20opravena?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/components/content/catalog_tile.tsx | 2 +- src/web/components/content/post.tsx | 2 +- .../components/forms/post_actions_form.tsx | 2 +- src/web/components/forms/post_form.tsx | 8 +++--- src/web/routes/uconfig.tsx | 6 ++--- src/web/templates/error_page.tsx | 4 +-- src/web/templates/result.tsx | 4 +-- web/ts/auto_update.ts | 2 +- web/ts/forms/captcha.ts | 27 +++++++++++++++++++ web/ts/forms/post_actions.ts | 2 +- web/ts/lib/popup.ts | 2 +- web/ts/main.ts | 2 ++ 12 files changed, 46 insertions(+), 17 deletions(-) create mode 100644 web/ts/forms/captcha.ts diff --git a/src/web/components/content/catalog_tile.tsx b/src/web/components/content/catalog_tile.tsx index fdac02b..7eaafe5 100644 --- a/src/web/components/content/catalog_tile.tsx +++ b/src/web/components/content/catalog_tile.tsx @@ -5,8 +5,8 @@ import type { PropsWithChildren } from "@kitajs/html"; const CatalogTile = ({ post }: PropsWithChildren<{ post: Post }>) => (
diff --git a/src/web/components/content/post.tsx b/src/web/components/content/post.tsx index 413a0ce..ea558a6 100644 --- a/src/web/components/content/post.tsx +++ b/src/web/components/content/post.tsx @@ -28,8 +28,8 @@ const PostComponent = ({ reply?: boolean; }>) => (
diff --git a/src/web/components/forms/post_actions_form.tsx b/src/web/components/forms/post_actions_form.tsx index f8005a8..690b993 100644 --- a/src/web/components/forms/post_actions_form.tsx +++ b/src/web/components/forms/post_actions_form.tsx @@ -5,7 +5,7 @@ import { Form, FormButton, FormField, FormHeader } from "./form.js"; import type { PropsWithChildren } from "@kitajs/html"; const PostActionsForm = ({ ctx }: PropsWithChildren<{ ctx: TemplateCtx }>) => ( -
+
Akce příspěvku diff --git a/src/web/components/forms/post_form.tsx b/src/web/components/forms/post_form.tsx index 2efb74d..25451be 100644 --- a/src/web/components/forms/post_form.tsx +++ b/src/web/components/forms/post_form.tsx @@ -16,10 +16,10 @@ const PostForm = ({ thread?: number; }>) => ( {thread && } @@ -87,10 +87,10 @@ const PostForm = ({ } > { @@ -105,7 +105,7 @@ const PostForm = ({ ) && ( <> - + @@ -138,12 +138,12 @@ const PostForm = ({ } > 1} data-max-files={board.config.max_files} - id="post-form-file" />