From c6e3998c2537a6eaf327e4a857714970ea9d25e7 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Fri, 24 Jul 2026 11:06:38 +0100 Subject: [PATCH] appview/pages: unify button styles across all edit/create forms Signed-off-by: oppiliappan --- appview/pages/templates/fragments/comment/edit.html | 6 +++--- .../templates/repo/issues/fragments/putIssue.html | 9 +++++---- .../pages/templates/repo/pulls/fragments/pullEdit.html | 10 +++++----- .../repo/pulls/fragments/pullStepDetails.html | 6 +++--- 4 files changed, 16 insertions(+), 15 deletions(-) diff --git a/appview/pages/templates/fragments/comment/edit.html b/appview/pages/templates/fragments/comment/edit.html index 6689e3fa..359365e6 100644 --- a/appview/pages/templates/fragments/comment/edit.html +++ b/appview/pages/templates/fragments/comment/edit.html @@ -27,11 +27,11 @@ {{ define "save" }} {{ end }} diff --git a/appview/pages/templates/repo/issues/fragments/putIssue.html b/appview/pages/templates/repo/issues/fragments/putIssue.html index 2fb97f63..b41aaf6f 100644 --- a/appview/pages/templates/repo/issues/fragments/putIssue.html +++ b/appview/pages/templates/repo/issues/fragments/putIssue.html @@ -26,8 +26,8 @@ diff --git a/appview/pages/templates/repo/pulls/fragments/pullEdit.html b/appview/pages/templates/repo/pulls/fragments/pullEdit.html index 2f956dfa..c39009f1 100644 --- a/appview/pages/templates/repo/pulls/fragments/pullEdit.html +++ b/appview/pages/templates/repo/pulls/fragments/pullEdit.html @@ -23,17 +23,17 @@
{{ i "x" "size-4" }} Cancel -
diff --git a/appview/pages/templates/repo/pulls/fragments/pullStepDetails.html b/appview/pages/templates/repo/pulls/fragments/pullStepDetails.html index 40471cf1..daa1476b 100644 --- a/appview/pages/templates/repo/pulls/fragments/pullStepDetails.html +++ b/appview/pages/templates/repo/pulls/fragments/pullStepDetails.html @@ -71,11 +71,11 @@ class="btn-create flex items-center gap-2" hx-indicator="#create-pull-spinner" > - {{ i "git-pull-request-create" "w-4 h-4" }} - Create pull request - + {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }} + {{ i "git-pull-request-create" "w-4 h-4 inline group-[.htmx-request]:hidden" }} + Create pull request {{ end }} -- 2.51.2